Tryton templates caveat

(0 comments)

The way Tryton processes ODT templates causes it to sometimes do stuff that doesn'T make sense (like if you have a FOR loop before a page break and /FOR on apage itself after it should not keep the empty pages). A look into the content.xml file within the odt often then tells us why. In my case it was simply the formatting.

So I fixed this annoying issue by just marking it and clicking "Remove direct formatting" and now it gets rid of those without an issue.

Turns out the text:p text:style-name="bla" tags were causing it to consider it non-empty and keep it. Just something to keep in mind when designing templates. If weird stuff happens check the XML ;)

Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

Recent Posts

Archive

2023
2022
2021
2020
2019
2018
2014
2012
2011
2010
2009
2008
2007

Categories

Authors

Feeds

RSS / Atom