Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Subtotal Indentation PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtotal Indentation PDF
 Login/Join
 
Platinum Member
posted
By default in PDF output, SUBTOTALS are indented rather than left justified like the data rows above. Is there some setting that will remove the subtotal indentation?

Thanks,
Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
Can you give an example with the CAR file of what you are seeing?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
Bethany,

Are you saying that the default subtotal break has a * as first character? If so, you can use the AS option:

  
-* File bethany4.fex
TABLE FILE CAR
PRINT SALES RETAIL_COST
BY COUNTRY BY CAR
ON COUNTRY SUBTOTAL AS 'Total'
ON TABLE PCHOLD FORMAT PDF
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
I figured out what was going on. Here's an example with the CAR table.

  TABLE FILE CAR
SUM
     RETAIL_COST
BY COUNTRY NOPRINT
BY BODYTYPE
BY CAR
ON COUNTRY SUBHEAD
"<COUNTRY "
ON COUNTRY SUBTOTAL AS 'TOTAL'
ON BODYTYPE SUBTOTAL AS 'TOTAL'
  ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
LEFTMARGIN=0.65,
RIGHTMARGIN=0.0,
TOPMARGIN=0.00,
BOTTOMMARGIN=0.00,
TOPGAP=0.015,
BOTTOMGAP=0.015,
RIGHTGAP=0.028,
LEFTGAP=0.028,
ORIENTATION=PORTRAIT,
SQUEEZE=ON,
$
TYPE=REPORT,FONT='TIMES NEW ROMAN',SIZE=8,COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL,$
TYPE=TITLE, BORDER-BOTTOM=LIGHT, STYLE=BOLD,JUSTIFY=CENTER,$
TYPE=SUBHEAD, STYLE=BOLD,$
TYPE=SUBTOTAL, BY=1, BORDER=LIGHT, BORDER-COLOR=WHITE, STYLE=BOLD,$
TYPE=SUBTOTAL, BY=2, BORDER=LIGHT, BORDER-COLOR=WHITE, STYLE=BOLD,$
TYPE=SUBTOTAL, BY=1, BORDER-TOP=LIGHT, BORDER-TOP-COLOR=BLACK, BORDER-BOTTOM=HEAVY, BORDER-BOTTOM-COLOR=BLACK,$
TYPE=SUBTOTAL, BY=1, COLUMN=LINE, BORDER-TOP=OFF,BORDER-BOTTOM=OFF,$
TYPE=SUBTOTAL, BY=2, BORDER-TOP=LIGHT, BORDER-TOP-COLOR=BLACK,$
TYPE=SUBTOTAL, BY=2, COLUMN=LINE, BORDER-TOP=OFF,BORDER-BOTTOM=OFF,$
ENDSTYLE
END


Using the above code, the TOTAL ENGLAND, TOTAL SEDAN, etc. were getting indented so they began to the right of the data rows information. I found that the formatting causing this is: TYPE=SUBTOTAL, BY=1, BORDER=LIGHT, BORDER-COLOR=WHITE, STYLE=BOLD,$ which is necessary to include so that you don't get a blank space above the subtotal and below the data that's being summed. Changing this piece of code to:
TYPE=SUBTOTAL, BY=1, BORDER-TOP=LIGHT, BORDER-COLOR=WHITE, STYLE=BOLD,$
TYPE=SUBTOTAL, BY=2, BORDER-TOP=LIGHT, BORDER-COLOR=WHITE, STYLE=BOLD,$

still kept the subtotal immediately beneath the data without the unwanted space and kept the TOTAL ENGLAND, TOTAL SEDAN of the subtotal justified left.

Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Subtotal Indentation PDF

Copyright © 1996-2020 Information Builders