Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
numberPage getValue
offspring
Hi,
I use an autoText in my rapport.
I use the property "NumberPage" to generate the page number.
But I need to get the pageValue (for an summary).
I used designHandle.getProperty("pageNumber")
but the value - 0, same with designHandle.getIntProperty("pageNumber").
Can you help me ?
Thanks
Find more posts tagged with
Comments
offspring
And when i use :
System.out.println(design.getProperty("<value-of>pageNumber</value-of>"));
the value of result is null.
offspring
I create my numerotation by this code :
AutoTextHandle autoTextPage = design.getElementFactory().newAutoText("Pages");
autoTextPage.setProperty(AutoText.AUTOTEXT_TYPE_PROP, "page-number");
autoTextPage.setProperty(StyleHandle.FONT_SIZE_PROP, "11");
autoTextPage.setProperty(StyleHandle.FONT_FAMILY_PROP, ARIAL);