openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton" <dennis.hamil...@acm.org>
Subject RE: help needed on ODF standard for "auto" indent for paragraphs
Date Fri, 21 Aug 2015 23:54:44 GMT
Apparently, Friday is ODF question day [;<).

I suspect that default indentation amounts are nowhere specified in the ODF 1.2 Specification
and it is an implementation-defined behavior.  

I looked at every occurrence of indent* in the ODF 1.2 specification and nowhere are there
default values for the format features that specify indentations.  There is a true/false attribute
that determines if paragraph first-line indentation is determined from the font (size), but
ODF 1.2 does not specify what that determination is.

More in-line ...

-----Original Message-----
From: Kay Schenk [mailto:kay.schenk@gmail.com] 
Sent: Friday, August 21, 2015 13:58
To: AOO Dev Apache <dev@openoffice.apache.org>
Subject: help needed on ODF standard for "auto" indent for paragraphs

This is in regard to issue
https://bz.apache.org/ooo/show_bug.cgi?id=126476

I can't easily locate what the ODF 1.2 standard is on calculation for a
first line auto indent for a paragraph. Well I found this --
http://officeopenxml.com/WPindentation.php

but it doesn't make a lot of sense to me. :/
<orcmid>
  Sorry.  That page is about OOXML, not ODF.  So no need to feel bad.
</orcmid>

In any case, if the standard is consistent regardless of font, it seems
our calcs may be incorrect for some Asian fonts (maybe encoding factors
are not correctly taken into account) and that is the reason the patch
was submitted for this issue. It would be nice if this calculation did
happen correctly so users would not have to manually adjust the indent
for paragraph first line.
<orcmid>
   The standard does not specify this case.  I would have to see what is being produced and
we could then see how OpenOffice is controlling it.  We need to see a small Chinese language
file that demonstrates the problem and check the ODF.  
   If we know what actions are taken where indentation is specified, we can see if there is
some way to control its setting.  
   Can we assume that the patch being offered already takes everything into account?
</orcmid>
-- 
--------------------------------------------
MzK

“The journey of a thousand miles begins
 with a single step.”
                          --Lao Tzu



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message