I try to set up an odt spreadsheet document using odfdom. I have quite a lot of cells that contain more than one line of text. Thus, what I want is that I fill the cells with content, and then the necessary row height is determined automatically.

According to chapter 20.384 of http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.pdf, there is an attribute


with the description

true: row height should be recalculated automatically if content in the row 

When I set this attribute to true on my row, generate the document, and open it in Libreoffice, the row height was *not* determined automatically. Once I make any manual input in that row, Libreoffice recalculates the row height, and everything is fine.

Now, obviously Libreoffice honors the specification of that attribute - it recalculates the row heigth on changes.

My question is, how can I make it recalculate the row height on document generation, such that the row height is already correct when the user opens the generated spreadsheet document for the first time? Is this possible at all?

Is my problem somehow related to https://bugs.documentfoundation.org/show_bug.cgi?id=45789 ?

Thanks for any ideas,


Reply via email to