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

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.4.3 release               |Inherited From OOo
           Hardware|Other                       |All

--- Comment #21 from Justin L <[email protected]> ---
2.2.3.22 ptab (Absolute Position Tab Character)
This element specifies that an absolute position tab character shall be placed
at the current location in the run content.

An absolute position tab is a _character_ which is used to advance the position
on the current line of text when displaying this WordprocessingML content,
using the following logic:
Regardless of any number of custom tab stops defined using the tabs element,
the absolute position tab character shall advance to the position specified by
its alignment and relativeTo attributes. The resulting end position of the tab
character shall not be affected by the addition of any custom tab stops or
changes to the value of the defaultTabStop element.

If the alignment location specified by the positional tab cannot be found on
the current line, because the starting location is past that point, then the
tab character shall advance to that location on the next available line in the
document.

<complexType name="CT_PTab">
<attribute name="alignment" type="ST_PTabAlignment" use="required"/>
<attribute name="relativeTo" type="ST_PTabRelativeTo" use="required"/>
<attribute name="leader" type="ST_PTabLeader" use="required"/>
</complexType>

alignment: left, center, right
relativeTo: margin, indent
leader: none, dot, hyphen, middleDot, underscore


sw/qa/extras/ooxmlexport/data/fdo67013.docx is a nice right-aligned example in
footer2.xml. Although the footer style provides two tabstop positions (and so
LO  uses the first one to 'center' the page number), in MS Word the page number
is on the right.

Similarly with tdf169101_datePicker.docx - where the ptab is in document.xml.
    <w:ptab w:relativeTo="margin" w:alignment="right" w:leader="none"/>

fdo83048.docx: LO shows a header three lines tall (instead of two) since
comment 20. Double <w:ptab w:relativeTo="indent" w:alignment="left"
w:leader="none"/>

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

Reply via email to