[CLOSED]Full Justification using Precision Report for PDF output
I am using the Precision Report Tool in Developer Studio to generate a report in PDF. Is it possible to do the following:
1. Is there an option with code to do full justification (instead of just right, left and center) for text? 2. How do I turn off the "snap-to-grid" feature?
Thanks, ShantieThis message has been edited. Last edited by: <Emily McAllister>,
________________________________________________________________________ WebFOCUS 7.7.03 | Client and Reporting Server OS: Linux Redhat | Client: Apache/Tomcat Adapters: Oracle | Security: DBMS Security with password passthru MRE Authentication: WFRS | Local: Developer Studio 7.7.03, MRE, Windows 7 Output: Excel, PDF, HTML
January 13, 2010, 10:39 AM
srattans
By tweaking the code I have found how to turn off the grid, turn on the ruler and remove the snap-to-grid.
TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=11, NAME=Page, STYLE=NORMAL, METADATA='>GUIDE>show=1,snap=1,GRID>show=0,snap=0,sizex=12,sizey=12,RULER>show=1, JUSTIFY=DEFAULT,
However, I am not sure what I can do to do full justification on the letter. Any ideas?
Thanks, ShantieThis message has been edited. Last edited by: srattans,
________________________________________________________________________ WebFOCUS 7.7.03 | Client and Reporting Server OS: Linux Redhat | Client: Apache/Tomcat Adapters: Oracle | Security: DBMS Security with password passthru MRE Authentication: WFRS | Local: Developer Studio 7.7.03, MRE, Windows 7 Output: Excel, PDF, HTML
January 14, 2010, 09:05 AM
srattans
If anyone has any suggestions on how I can make the text fully justified please do share.
Thanks, ShantieThis message has been edited. Last edited by: srattans,
________________________________________________________________________ WebFOCUS 7.7.03 | Client and Reporting Server OS: Linux Redhat | Client: Apache/Tomcat Adapters: Oracle | Security: DBMS Security with password passthru MRE Authentication: WFRS | Local: Developer Studio 7.7.03, MRE, Windows 7 Output: Excel, PDF, HTML
Kerry Zhan Focal Point Moderator Information Builders, Inc.
January 28, 2010, 02:20 PM
srattans
I tried this but it only works with one line in the heading of the precision report. When I try adding multiple lines to the heading and using the style to add "markup=on", the output behaves strangely. this is the code:
-* File TESTFULL.fex
DEFINE FILE CAR
WW/A500 = '<right>February 12, 2010</right>';
XX/A1000 = '<full>[b]' | COUNTRY | 'Fully Justified Heading:[/b] Customer Service Is Everything. At Information Builders, we are as open and flexible as our software, and our customers are our greatest asset. For every new product and feature, there''''s a customer who drove it. For every customer there''''s an answer. Our customer-centric philosophy is backed up by an integrated support network of people passionately dedicated to the success of your business initiatives. Consulting, Education, Technical Support, Product Development the support network is the sum of these groups, and it stands ready to help you. Information Builders has also created a community Web site for our developers. At Focal Point, you can visit our message boards and browse through numerous helpful resources.</full>';
YY/A1000 = '<full>[b]Again ... Fully Justified Heading:[/b] Customer Service Is Everything. At Information Builders, we are as open and flexible as our software, and our customers are our greatest asset. For every new product and feature, there''''s a customer who drove it. For every customer there''''s an answer. Our customer-centric philosophy is backed up by an integrated support network of people passionately dedicated to the success of your business initiatives. Consulting, Education, Technical Support, Product Development the support network is the sum of these groups, and it stands ready to help you. Information Builders has also created a community Web site for our developers. At Focal Point, you can visit our message boards and browse through numerous helpful resources.</full>';
ZZ/A4000 = WW | '<br>' | XX | '<br>' | YY ;
END
TABLE FILE CAR
BY 'CAR.ORIGIN.COUNTRY' NOPRINT
ON CAR.ORIGIN.COUNTRY PAGE-BREAK
HEADING
"<ZZ"
ON TABLE SET PAGE-NUM OFF
ON TABLE SET NEWLAYOUT ON
ON TABLE SET COMPOSITION DEFAULT
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='COURIER',
SIZE=10,
NAME=Page,
METADATA='>GUIDE>show=1,snap=1,<GUIDE<>GRID>show=1,snap=1,sizex=12,sizey=12,<GRID<>RULER>show=0,<RULER<',
$
TYPE=HEADING,
POSITION=(1.000000 2.000000),
MARKUP=ON,
WRAP=ON,
DIMENSION=(7.000000 4.000000),
$
TYPE=HEADING,
LINE=1,
POSITION=(1.000000 2.000000),
WRAP=ON,
DIMENSION=(6.125000 4.500000),
NAME=TEXT,
PARENT=Heading,
METADATA='anchor=0,parentanchor=0,flags=11,line=1,item=0',
$
TYPE=FOOTING,
POSITION=(2.000000 8.000000),
NAME=Footing,
$
TYPE=DATAMATRIX,
NAME=Data Matrix,
POSITION=(0.000000 0.000000),
DIMENSION=(5.000000 3.000000),
METADATA='focusverb=,flags=1>DB>anchor=0,parentanchor=0,flags=1,line=0,item=0<DB<',
$
ENDSTYLE
END
it then does the justification but I no longer have control over different lines. How do I add multiple lines to the header and control the positioning of each line and still use full justification?
Thanks, ShantieThis message has been edited. Last edited by: srattans,
________________________________________________________________________ WebFOCUS 7.7.03 | Client and Reporting Server OS: Linux Redhat | Client: Apache/Tomcat Adapters: Oracle | Security: DBMS Security with password passthru MRE Authentication: WFRS | Local: Developer Studio 7.7.03, MRE, Windows 7 Output: Excel, PDF, HTML
January 29, 2010, 09:05 AM
srattans
________________________________________________________________________ WebFOCUS 7.7.03 | Client and Reporting Server OS: Linux Redhat | Client: Apache/Tomcat Adapters: Oracle | Security: DBMS Security with password passthru MRE Authentication: WFRS | Local: Developer Studio 7.7.03, MRE, Windows 7 Output: Excel, PDF, HTML
October 05, 2016, 12:20 PM
fpompizzi
I have a question. While using the precision report painter the Precision Tool Box is missing. When I toggle between source and report it appears briefly then disappears. Documentation states that it can be hidden or displayed from view/toolbars menu. But I see nothing there that enables and disables the Precision Tool Box. Can anyone please help with this? Thanks