OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-3846) Use @text:relative-tab-stop-position as well for style:tabs-stops instead of using settings.xml flag


     [ https://issues.oasis-open.org/browse/OFFICE-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stahl updated OFFICE-3846:
----------------------------------
    Proposal: 
Define the following attribute [http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_relative-tab-stop-position]
 for style:tabs-stops in paragraphs as well.

(we want a document-wide setting, so add a restriction to the default-style of family paragraph, similar to 20:352 style:tab-stop-distance.)

I. add a new section [note: this should be in chapter 20 since that contains the style attributes, whereas the existing 19.855 text:relative-tab-stop-position is an attribute on indexes, that's why it's in chapter 19]:

20.xxxx text:relative-tab-stop-position

The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style.

The defined values for the text:relative-tab-stop-position attribute are:
 * false: paragraph style determines position of tab stops relative to the outer edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph.
 * true: paragraph style determines the position of tab stops relative to the inner edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph. Exception: the tab stop set by applied list style is determined by the paragraph style relative to the outer edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph.

Note: The paragraph's margin may be specified by its paragraph style, an applied list style or paragraph default style.
 Note: In right-to-left layout environments, the paragraph's right margin is specified by fo:margin-left, and its tab stop positions are relative to the right edge.

The default value for this attribute is true.

This attribute is only evaluated if it is specified within a default style of family paragraph.

II. add the attribute to style:paragraph-properties element:

â OpenDocument-v1.2-os-schema.rng 2014-11-10 16:37:52.035133745 +0100
 +++ tc/3846-schema-v2.rng 2018-02-26 18:22:19.536937642 +0100
 @@ -15146,18 +15146,23 @@
 <ref name="nonNegativeInteger"/>
 </attribute>
 </optional>
 <optional>
 <attribute name="style:tab-stop-distance">
 <ref name="nonNegativeLength"/>
 </attribute>
 </optional>
 <optional>
 + <attribute name="text:relative-tab-stop-position">
 + <ref name="boolean"/>
 + </attribute>
 + </optional>
 + <optional>
 <attribute name="fo:hyphenation-keep">
 <choice>
 <value>auto</value>
 <value>page</value>
 </choice>
 </attribute>
 </optional>
 <optional>
 <attribute name="fo:hyphenation-ladder-count">

  was:
Define the following attribute http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_relative-tab-stop-position
for style:tabs-stops in paragraphs as well.

(we want a document-wide setting, so add a restriction to the default-style of family paragraph, similar to 20:352 style:tab-stop-distance.)


I. add a new section [note: this should be in chapter 20 since that contains the style attributes, whereas the existing 19.855 text:relative-tab-stop-position is an attribute on indexes, that's why it's in chapter 19]:

20.xxxx text:relative-tab-stop-position 

The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style.

The defined values for the text:relative-tab-stop-position attribute are:
    â false: paragraph style determines position of tab stops relative to the left margin.
    â true: paragraph style determines the position of tab stops relative to the left indent.
    
The default value for this attribute is true.

This attribute is only evaluated if it is specified within a default style of family paragraph.


II. add the attribute to style:paragraph-properties element:

--- OpenDocument-v1.2-os-schema.rng	2014-11-10 16:37:52.035133745 +0100
+++ tc/3846-schema-v2.rng	2018-02-26 18:22:19.536937642 +0100
@@ -15146,18 +15146,23 @@
 					<ref name="nonNegativeInteger"/>
 				</attribute>
 			</optional>
 			<optional>
 				<attribute name="style:tab-stop-distance">
 					<ref name="nonNegativeLength"/>
 				</attribute>
 			</optional>
 			<optional>
+				<attribute name="text:relative-tab-stop-position">
+					<ref name="boolean"/>
+				</attribute>
+			</optional>
+			<optional>
 				<attribute name="fo:hyphenation-keep">
 					<choice>
 						<value>auto</value>
 						<value>page</value>
 					</choice>
 				</attribute>
 			</optional>
 			<optional>
 				<attribute name="fo:hyphenation-ladder-count">



> Use @text:relative-tab-stop-position as well for style:tabs-stops instead of using settings.xml flag
> ----------------------------------------------------------------------------------------------------
>
>                 Key: OFFICE-3846
>                 URL: https://issues.oasis-open.org/browse/OFFICE-3846
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Improvement
>          Components: Formatting Properties, Part 1 (Schema)
>    Affects Versions: ODF 1.2
>            Reporter: Svante Schubert
>            Priority: Major
>             Fix For: ODF 1.4
>
>         Attachments: Example3846_False.odt, Example3846_False.odt, Example3846_True.odt, Example3846_True.odt
>
>
> Reuse existing ODF attribute @text:relative-tab-stop-position that same semantics as often used settings.xml flag "TabsRelativeToIndent".
> It defines, if the left-margin have to be added to the tab position.
> See end of mail to office list at 14th October 2013, https://lists.oasis-open.org/archives/office/201310/msg00005.html



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]