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

 


Help: OASIS Mailing Lists Help | MarkMail Help

opendocument-users message

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


Subject: Re: [opendocument-users] style:use-optimal-row-height


Hello Jean-Christophe,

the effect is described in the spec:
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_use-optimal-row-heightÂ

Still, there might be misbehaviour in ODF applications, the behaviour in LibreOffice was once broken and had been fixed:
https://bugs.documentfoundation.org/show_bug.cgi?id=62268#c28
If you take a look at my test document from the issue, you might see how and that it works.Â
Worked on Windows for my old LO version: 6.1.6.3 (x64) and latest 6.4.0.3 but the "World" text is not shown in Excel from Microsoft Office Professional Plus 2016.
(Microsoft once hat test versions for ODF TC members, so this is the latest MSO version I am able to test on).
I realized Excel has a problem if there are is no row height given (i.e. viaÂstyle:row-height), although this is allowed and valid.

Final Tip: If you are creating documents you should always have an ODF validator in your toolset.
There is one online:Âhttps://odfvalidator.org/
But you might have the same one as JAR or WAR (being added including front-end in a local server as a Tomcat) from our ODF toolkit:Â
https://tdf.github.io/odftoolkit/docs/conformance/ODFValidator.htmlÂ
ODF 1.3 will be supported soon.Â

Best regards,
Svante

Am Di., 4. Feb. 2020 um 08:27ÂUhr schrieb Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>:
I have cells that end up having this:

<style:table-row-properties style:row-height="16.16pt" fo:break-before="auto" style:use-optimal-row-height="true"/>

Since I can't know in advance what row-height is optimal, I tried this:

<style:table-row-properties style:use-optimal-row-height="true"/>

But that has no effect, when:

<style:table-row-properties style:row-height="16.16pt"/>

only is enough to get what I want (but since I can't determine ahead what will be the proper height, I would not know how to code that in the xsl).

Why is it that style:use-optimal-row-height="true" alone has no effect ? It seems very counterintuitive.


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune



---------------------------------------------------------------------
To unsubscribe, e-mail: opendocument-users-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: opendocument-users-help@lists.oasis-open.org



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