2016-02-18 9:29 GMT+01:00 Tomaž Vajngerl <quikee@gmail.com>:
Hi,
What do these last values mean?
In the .hxx file the comment says:"logical rectangle of each part".
What are these?
A writer document is always rendered complete with all pages, so in
that case the size will tell you the dimensions of the whole document.
Usually this is enough but sometimes you also need want to know where
the actual pages are located in the document. This is what
getPartPageRectangles returns - the rectangles of pages in the
document.
Aha I see. I've added another page, and now I get the values:
[sbon@ws-001 test-lokit]$ ./lokit /home/sbon/Documenten/opinieict02.fodt
Type : 0
Size (TWIPS) WxH: 12474 x 34528
PartPageRectangles: 284, 284, 11906, 16838; 284, 17406, 11906, 16838
So there are two "logical rectangles", one at (284, 284, +11906,
+16838) and one at (284, 17406, +11906, +16838)
I understand that the values with a + are relative to the startpoint
(the first two), which is absolute. Is this right?
And 284 + 11906 is not equal to the startpoint of the next rectangle,
which is 17406. How come?
Stef
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.