How to debug an XML-FO layout
I have tables, blocks and an image that is 1 mm This is very far from the external Id of all this.
& lt; Fo: table-line xsl: use-attribute-set = "blue-range" & gt; & Lt; Fo: table-cell & gt; & Lt; Fo: block id = "logo" xls: use-attribute-set = "red-range" & gt; & Lt; Fo: external-graphic src = "url ('{$ headerLogoPath}')" width = "100%" content-width = "53mm" scaling = "uniform" xls: use-attribute-set = "green border "/> & Lt; For /: Block & gt; & Lt; For /: Table Cell & gt; & Lt; Fo: table-cell text-align = "right" margin-right = "1 mm" & gt; & Lt; Xsl: Choose Apply-Template = "/ FOO" / & gt; & Lt; For /: Table Cell & gt; & Lt; For /: Table row & gt;
And as a result, I follow the following:
_____ blue, red ___ | ______ green _____ | | | | | | ______ green _____ | | ____ blue, red ___ |
What is the reason for debugging spacer? As I think it can be many things (margins, padding, space). I tried to set all of these for block and graphic at 0pt but there is no help.
Something great would be like a more advanced preview preview, I would like it to display all the margins, padding, regional boundaries and area dimensions. Does anyone know like this (preferably freeware)?
Comments
Post a Comment