report - How to specify a margin top for pto_header in RML? -


I'm doing a report that is going through many lines, so it is being written by several pages.

I have declared a pto_header because I want it to be displayed at the top of every page. The problem is that it is always fully connected to the external headers of the report, which does not look good, I have a margin for my pto_header (which is blockTable ) I would like to specify top.

By this time, I could not manage this. I changed my code to & lt; Paragraph & gt; With some attribute has been tried to include space before , but they have been omitted and left before each one.

  ... & lt; Stylesheet & gt; ... & lt; Parachsel name = "terp_header" font seices = "15.0" leading = "20" alignment = "center" before location = "20.0" spaceAfter = "20.0" /> & Lt; / Stylesheet & gt; & Lt; Story & gt; & Lt; Pto & gt; & Lt; Pto_header & gt; & Lt; Paragraph style = "terp_header" & gt; & Lt; / Paragraph & gt; & Lt; Paragraph style = "terp_header" & gt; & Lt; / Paragraph & gt; & Lt; BlockTable colWidths = "480.0" & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; Paragraph & gt; Name & lt; / Paragraph & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / BlockTable & gt; & Lt; / Pto_header & gt; & Lt; Paragraph style = "terp_header" & gt; & Lt; / Paragraph & gt; & Lt; Paragraph style = "terp_header" & gt; & Lt; / Paragraph & gt; & Lt; BlockTable colWidths = "480.0" & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; Paragraph & gt; Name & lt; / Paragraph & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / BlockTable & gt; ... & lt; / Pto & gt; & Lt; / Story & gt; ...  

I was looking at the codes of other standard reports, and in fact, they seem bad, because they do not respect the margins and their internal headers are completely theirs External headers.

Can anyone help me, please? My solution only works for the first page should be a better way to manage it.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -