Page 1 of 1
DOCXReadWrite Document with many page Orientations
Posted: Wed Feb 17, 2021 3:19 pm
by eteoklis
Hello again
I have two simple questions
How can i change the Author of a document since the commands
mDocx.Editor.DocumentProps.Author := 'XXXXXXXX';
mDocx.Editor.Initials := 'XXXXXXX';
do not work
and also can i have a document that has both portrait and landscape pages.
Thanks in advance
Re: DOCXReadWrite Document with many page Orientations
Posted: Wed Feb 16, 2022 9:48 pm
by DiBase
Same problem on my side with release 2.00.49.
Here is my C++ source code which I use (C++ code):
Code: Select all
DOCX->Editor->DocumentProps->Title = "Title...";DOCX->Editor->DocumentProps->Author = "Author...";
DOCX->Editor->DocumentProps->Revision = "Revision...";
DOCX->Editor->DocumentProps->Company = "Company...";
DOCX->Editor->DocumentProps->Comment = "Comment...";
DOCX->Editor->DocumentProps->Tags = "Tags...";
DOCX->Editor->DocumentProps->Subject = "Subject...";
DOCX->Editor->DocumentProps->Categories = "Categories...";
DOCX->Editor->DocumentProps->Status = "Status...";
DOCX->Editor->DocumentProps->Application = "Application...";
DOCX->Editor->DocumentProps->AppVersion = "AppVersion...";
All with no effect when saving like this:
Code: Select all
DOCX->SaveToFile( "sample.docx" );
DOCX->SaveToFile( "sample.pdf" );
Or are these properties only used when opening an existing file?
I would appreciate any hint for a solution.
- Dirk