IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    pdf painter table of contents
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
What I have here is a direct conflict between what the LOB is willing to accept, and what can be delivered in pdf. The Table of Contents is the major bone of contention. The pdf Painter is able to create a perfectly accurate TOC. Unfortunately, to use the Line of Business (LOB) term, it is "ugly". I can create a TOC that looks just like they want it to look, with a nice logo and other embedded graphics. Unfortunately, the page numbers are way off, and the delta is not consistent, nor can I see a mathematical pattern that I could use to correct them.

The "book" of reports that I am trying to build may have up to 30 reports in one big pdf compound report. The TOC is menat to identify where each new report starts.

I am currently trying to use the FOCNEXTPAGE system variable to try to capture page numbers:

-SET &TOC_PAGE.&TOC = &FOCNEXTPAGE;

but the pdf painter construct is throwing &FOCNEXTPAGE way off since the component layout may break a "normal" page into multiple pages in the painter. I tried counting the lines, but that did not work either, again, because the pdf painter does not seem consider the underlying information when it lays out the pages.

What I would like to do is to capture the information that the painter is putting on my master layout, specifically the in the text string as shown below. However, I have not been able to figure out how to do that.

PAGELAYOUT=ALL, NAME='Page Master', $
OBJECT=IMAGE, NAME='image1', IMAGE=usbank_logo.gif, POSITION=(9.250 0.250), DIMENSION=(1.458 0.510), $
OBJECT=BOX, NAME='line1', POSITION=(0.250 7.900), DIMENSION=(10.500 0.019), BACKCOLOR=BLACK, BORDER-COLOR=BLACK, $
OBJECT=STRING, NAME='text1', TEXT='US Bank Corporate Trust', POSITION=(0.625 8.000), MARKUP=ON, WRAP=ON, DIMENSION=(2.063 0.188), font='ARIAL', color=RGB(0 0 0), style=bold, size=8, $
OBJECT=STRING, NAME='text2', TEXT='Report Generated On: &DATEtrMDYY', POSITION=(4.625 8.000), MARKUP=ON, WRAP=ON, DIMENSION=(2.063 0.188), font='ARIAL', color=RGB(0 0 0), style=bold, size=8, $
OBJECT=STRING, NAME='text3', TEXT='Page of ', POSITION=(8.500 8.000), MARKUP=ON, WRAP=ON, DIMENSION=(1.872 0.167), font='ARIAL', color=RGB(0 0 0), style=bold, size=8, $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0), $

I searched the IBI knowledge base for and got exactly one hit over in the forums, and that was not helpful at all as it did not address this issue. Does anyone have a clue on this one?

The Client I am at is using version 7.6.1 on Windows OS.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC
 
Posts: 5 | Location: Rainbow City, Al | Registered: July 22, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    pdf painter table of contents

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.