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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] CSS - PDF - Document Composer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] CSS - PDF - Document Composer
 Login/Join
 
Platinum Member
posted
Hello

I would like to add certain CSS effects like shadow, tracking to text on PDF when developed using document composer. As far as I know, CSS and PDF won't work together. But are there any alternate ways?
Can anyone please provide a working example if possible?

-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
OBJECT=STRING, NAME='text1', TEXT='<font face="TREBUCHET MS" size=18>I would like to add shadow effect to this text</font>', 
POSITION=(0.917 1.146), MARKUP=ON, WRAP=ON, DIMENSION=(7.396 0.729),  METADATA='left: 0.917in; top: 1.146in; width: 7.396in; height: 0.729in; font-family: Trebuchet MS; font-size: 18pt; position: absolute; z-index: 1;', $
OBJECT=STRING, NAME='text2', TEXT='<font face="TREBUCHET MS" size=18>I would like to add CSS tracking property to this text which would add space between letter in each word</font>', 
POSITION=(0.896 2.290), MARKUP=ON, WRAP=ON, DIMENSION=(7.396 0.729),  METADATA='left: 0.896in; top: 2.29in; width: 7.396in; height: 0.729in; font-family: Trebuchet MS; font-size: 18pt; position: absolute; z-index: 2;', $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0),  $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
COMPOUND END

Thank you

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


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Expert
posted Hide Post
I don't like your chances.

The PDF coming out of WebFOCUS is limited to what IBI have created for the output format.

I would suggest asking TechSupport.

If all else fails, perhaps post process the resulting PDF file with a third party command line tool


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] CSS - PDF - Document Composer

Copyright © 1996-2020 Information Builders