Wolfgang wrote: ↑Wed Nov 06, 2019 8:45 pm
Yes everything works correct now.
Thanks for confirming.
Wolfgang wrote: ↑Wed Nov 06, 2019 8:45 pm
Would have some wxpdfdoc related questions:
First is it somehow possible to add a created pdf page(index of a book) to the front of another created pdf file (the book)?
With the current version of
wxPdfDocument you could create the index as a separate PDF document and combine it in a separate step with the main PDF document. This can be accomplished with the
template feature of
wxPdfDocument (see the
templates sample coming with
wxPdfDocument).
This approach is certainly not very convenient. It would be preferrable to be able to adjust the page order within a single document. I will consider to add such a feature to
wxPdfDocument.
Wolfgang wrote: ↑Wed Nov 06, 2019 8:45 pm
In addition to that I would need infront of the pdf file another pdf file, but that could be solved in making images and add the images, am I right?
Yes. However, if you already have PDF documents you may use the
template feature to add them into your resulting PDF document.
Wolfgang wrote: ↑Wed Nov 06, 2019 8:45 pm
The bit more tricky is concerning the multicell, is it possible that the beginning of the new line is set separtely?
Not sure, I understand what you intend to accomplish.
Wolfgang wrote: ↑Wed Nov 06, 2019 8:45 pm
(In long, I first write some text in the line, in the same line I then write the multicell, as the startpoint of the multicell is taken for all the lines, it does not go to the beginning of the line. So under the previous text the new lines are empty.)
You could use method
SetLeftMargin to adjust where the next line(s) start. However, if you want to indent only the first line of the multicell content, this would not work.
Wolfgang wrote: ↑Wed Nov 06, 2019 8:45 pm
What I thought that maybe in multicell with only 1 line andanother multicell could work, am I correct?
It is not possible to directly nest multicells. However, you could use
wxPdfDocument's
XML markup feature (method
WriteXML). This feature allows to create rather sophisticated page layouts, since nesting tables is supported.