Re: Size of page headder

2012-05-23 Thread fabian
Right, the attribute dynamicHeight is true. In which case is a header not dynamic? I tried to create a template with a ott, but when I load this ott the header is still dynamic. I like the idea using the viewCursor but I only know how to create it by a textViewsupplier and not from my text

Re: Size of page headder

2012-05-23 Thread fabian
Right, the attribute dynamicHeight is true. In which case is a header not dynamic? I tried to create a template with a ott, but when I load this ott the header is still dynamic. I like the idea using the viewCursor but I only know how to create it by a textViewsupplier and not from my

Re: Size of page headder

2012-05-23 Thread Fernand Vanrie
fabian , the missing millimeters comes from the style and the fond. I suppose the coordinates off the vieuwcursor are calculated from the baseline , Styles can have TOP, BOTTOM , LEFT and RIGHT margins... Right, the attribute dynamicHeight is true. In which case is a header not

Re: Size of page headder

2012-05-22 Thread fabian
Hi Fernand, I programing in Java but I already did what you described below. The pagestyles contain the the property HeaderHeight but as I wrote this always returns 0 independently of how many lines I wrote in the header. There is also the attribute HeaderText which gives me a XText of the

Re: Size of page headder

2012-05-22 Thread Fernand Vanrie
fabian, Your headers have a dynamic height ? Maybe you can move the viewcursor init and calculate the height from its position on start en end of the header ? Hi Fernand, I programing in Java but I already did what you described below. The pagestyles contain the the property HeaderHeight

Re: Size of page headder

2012-05-21 Thread Fernand Vanrie
fabian , You can find it in the page styles Find my code belmow to handle some text i placed in a textframe (named MyFooterFrame )in the footer, you can do the same with the Header. Do a xray on the pagestyles to have additional information about the Header. Hop it helps Fernand Sub