https://bugs.documentfoundation.org/show_bug.cgi?id=157572

--- Comment #3 from Justin L <[email protected]> ---
from 17.3.1.11 framePr (Text Frame Properties), we find:
vAnchor (Frame Vertical Positioning Base) Specifies the base object from which
the horizontal positioning in the y attribute should be calculated.

A text frame can be horizontally positioned relative to:
* The horizontal edge of the page before any runs of text (the top edge for
top-to-bottom sections, the bottom for bottom-to-top sections)
* The horizontal edge of the text margin before any runs of text (the top edge
for top-to-bottom sections, the bottom for bottom-to-top sections)
* The horizontal edge of the page before any runs of text (the top edge for
top-to-bottom sections, the bottom for bottom-to-top sections) [identical to
#1???]

If this attribute is omitted, then its value shall be assumed to be page.

HOWEVER, errata [MS-OE376].pdf in 2.1.48 Part 4 Section 2.3.1.11, framePr (Text
Frame Properties) indicates:
The standard states that the default value for the vAnchor attribute is page.
HOWEVER Word uses a default value of text for this attribute (and for hAnchor).

HOWEVER, when I save this document, it writes out vAnchor for "page" and
"paragraph - aka text", but does not write out vAnchor for "margin". So BOTH
pieces of documentation are wrong?


The detailed description of the three choices is:
"margin" (Relative To Margin): Specifies that the parent object shall be
vertically anchored to the text margins.
This shall be used to specify that any vertical positioning values shall be
calculated with respect to the location of the text margin.

"page" (Relative To Page): Specifies that the parent object shall be vertically
anchored to the page edge.
This shall be used to specify that any vertical positioning values shall be
calculated with respect to the location of the edge of the page.

"text" (Relative To Vertical Text Extents): Specifies that the parent object
shall be vertically anchored to the text extents.
This shall be used to specify that any vertical positioning values shall be
calculated with respect to the location of the top edge of the text in the
anchor paragraph.


In LO we have:
text::RelOrientation::PAGE_PRINT_AREA = margin
text::RelOrientation::PAGE_FRAME = page
text::RelOrientation::FRAME = text

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to