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] Created: (OFFICE-1599) Editor Note: Section17.224 draw:text-areas


Editor Note: Section 17.224 draw:text-areas

--------------------------------------------

                 Key: OFFICE-1599
                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1599
             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
          Issue Type: Bug
            Reporter: Robert Weir 


Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt

Original author: Patrick Durusau
Section 17.224 draw:text-areas

Ed. Note As defined, the attribute is inconsistent and incomplete. It starts by saying we define a list of text areas. Then it says what happens if a second text area is present. Then we define how to define a text area. As a string? So, we don't have a list, or at least no mechanism for one, possibly assume up to two text areas, and don't define what values define a text area. 

Sven Jacobi says:



textareas::= textareasequence? 

textareasequence ::= textarea ( ' '+ textareasequence )* 

textarea::= position ' '+ position ' '+ position ' '+ position 

position::= formula | modifier | number 

formula::= '?' name 

modifier::= '$' integer 

number::= sign? float | sign? integer 

float::= fractional exponent? | integer exponent 

fractional::= integer? '.' integer | integer '.' 

exponent::= ( 'e' | 'E' ) sign? integer 

sign::= '+'| '-' 

integer::= [0-9]+ 

name ::= [^ ]+ 



Patrick: Yes, but the prose requires:



"If a second text area is available it is used for vertical text." 



Noting that the first text area being for horizontal text is only by implication. 



Nor it is clear how more than two areas (assuming the regex were extended to include what is said in the prose) are to be positioned. 



If this is meant to simply specify the position of one or more text areas in some defined coordinate space (represented by a <draw:enhanced-geometry> element) then why don't we simply say that? 



Sven Jacobi further replies: 



"If text in a shape is drawn and there is no draw:text-areas element, then entire area of the shape is used. 

If the draw:text-areas element is available, then with one exception the first text area is used. And this is the 

exception, if the text is verical and if a second text area is available, the second text area is used. 



I am not sure if it is sensible do to specify a limitation of 2 rectangles, I thought it is sufficient without." 




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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