Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] The field in header going out of page width
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] The field in header going out of page width
 Login/Join
 
Member
posted
Hi

The field in header is going out of page. The size has to be 10. And output is in PDF format.
Is there any way to move words to next line when the portrait page length finishes.

Regards
Ashwini Rane

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 19 | Registered: December 15, 2015Reply With QuoteReport This Post
Guru
posted Hide Post
Please post your code so we can help you.


Sandy Kadish
Dev: 8.2.04- PostgreSQL
Test: 8.2.04 - PostgreSQL
Prod: 8.2.04 - PostgreSQL
 
Posts: 239 | Location: Orlando, FL / Baltimore, MD | Registered: May 06, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
Please post your code so we can help you.
... Within the '< / >' tags in the above options.
 
Posts: 2914 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Member
posted Hide Post
Thanks for your willingness to help.
I am talking about the Oracle database field.
But for trial you can take static quote paste it in header by making sure that it's exceeding out of page in PDF and then handled this in such a way that it gets autofit or move to next line when it's exceeding.

Thanks in advance
Ashwini Rane


WebFOCUS 8
Windows, All Outputs
 
Posts: 19 | Registered: December 15, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
Ashwini,

A great/standard practice, here on Focal Point, is to duplicate your issue using a sample 'IBI source' such as 'The CAR File' and post that code within the '</>' tags in the above ribbon so that we can actually run it and see what the issue is.


   See you at Summit! In FOCUS Since 1983 ~ from PC FOCUS to WebFOCUS.
   Currrently using 8204 Gen 48 in Test and Production.
   KGPCo at CenturyLink. October 2017 to Present...
 
Posts: 2914 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Member
posted Hide Post
 
TABLE FILE ibisamp/car
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
ON TABLE SUBHEAD
"Success is no accident. It is hard work, perseverance, learning, studying, sacrifice and most of all, love of what you are doing or learning to do."
ON TABLE PCHOLD FORMAT PDF
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET AUTOFIT OFF
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=TABHEADING, LINE=1, JUSTIFY=LEFT, $
TYPE=TABHEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='helvetica neue', SIZE=10, STYLE=NORMAL, $
ENDSTYLE
END
 


In the above code, the static quote is used as header. In actual there will be database field and length of the field could be from 0-100. The problem am facing is replicated successfully in above example and the requirement is, header should be auto fit or moved to next line.

Regards
Ashwini


WebFOCUS 8
Windows, All Outputs
 
Posts: 19 | Registered: December 15, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
If you use a TX format, the text will wrap. However, when I tried it, it does do the trick but the font and its size are ignored.
  
-SET &ECHO=ALL;
DEFINE FILE CAR
HEAD/TX60='Success is no accident. It is hard work, perseverance, learning, studying, sacrifice and most of all, love of what you are doing or learning to do.';
END
TABLE FILE car
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
ON TABLE SUBHEAD
"<HEAD "
ON TABLE PCHOLD FORMAT PDF
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET AUTOFIT OFF
ON TABLE SET STYLE *
INCLUDE=Warm.sty,$
TYPE=TABHEADING, LINE=1, JUSTIFY=LEFT, $
TYPE=TABHEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='ARIAL', SIZE=10, STYLE=NORMAL, $
ENDSTYLE
END


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

 
Posts: 1930 | Location: Tel Aviv, Israel | Registered: March 23, 2006Reply With QuoteReport This Post
Master
posted Hide Post
DEFINE FILE CAR
 MYTEXT/A256 = 'Success is no accident. It is hard work, perseverance, learning, studying, sacrifice and most of all, ' |
               'love of what you are doing or learning to do.  A little bit of WebFOCUS knowledge doesn''t hurt either.';
END 
-* 
TABLE FILE CAR
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
ON TABLE SUBHEAD
"<MYTEXT"
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
 UNITS=IN,$
 TYPE=TABHEADING, LINE=1, WRAP=3, FONT='ARIAL', COLOR = 'RED', $
ENDSTYLE
END  

WRAP=3, in the code above, breaks the MYTEXT text into lines of up to three inches.

This message has been edited. Last edited by: David Briars,




Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2012/Tomcat Standalone Workstation: Windows 7/IE 11 Database: Oracle 12c/Netezza Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer, & ReportCaster
 
Posts: 754 | Registered: April 23, 2003Reply With QuoteReport This Post
Member
posted Hide Post
Hi Everyone

Thanks for the solutions. it worked.

Regards
Ashwini Rane


WebFOCUS 8
Windows, All Outputs
 
Posts: 19 | Registered: December 15, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] The field in header going out of page width

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