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     [CLOSED] CSS - PDF - Document Composer
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] CSS - PDF - Document Composer
 Login/Join
 
Gold 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 8202
All formats
 
Posts: 67 | Registered: September 13, 2017Reply With QuoteReport 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.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6104 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

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