Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 209 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
GraphFont Issues in text decoration and font family in pdf.

Summary
GraphFont Issues in text decoration and font family in pdf.
Content
Hi,
1) I was using the GraphFont property of the Title,X1Title,Y1Title of the Graph element in bi pulisher. There is a list of fonts styles that are available in in graphFont
<!-- GraphFont attributes:
name: font name
style: bold, italic, underline, and so on
fontColor: font color; example: "#ffffff"
bold: whether bold or not
italic: whether italic or not
underline: whether underlined
-->
Is there some way to apply text-decoration : strike-through or line-through to this TItle element?
2) Also when exporting using these graphFont styles. Font family is not getting applied in PDF format. Is there some workaround for this ? It is working in HTML, Excel formats.
Answers
-
Hi
To cover the missing font issue in the PDF first. The reason you are seeing the fonts in Excel and HTML is that the fonts on your desktop are being referenced from those outputs. In PDF, the fonts are embedded inside the file to make it a truly portable document format. You need to make the BIP server aware of the fonts so that it can grab the glyphs needed for that font and embed them inside the PDF.
Check the documentation and look for the section on using External Fonts. That will explain the set up required to get the fonts into the PDF.
Checking the GraphDTD it does not look like the strikethrough decoration is available
ATTLIST GraphFont
name CDATA #IMPLIED
style (FS_PLAIN | FS_ITALIC | FS_BOLD | FS_ITALIC_BOLD | FS_UNDERLINE |
FS_ITALIC_UNDERLINE | FS_BOLD_UNDERLINE |
FS_BOLD_ITALIC_UNDERLINE) #IMPLIED
size CDATA #IMPLIED
fontColor CDATA #IMPLIED
graphProportionalFontSize CDATA #IMPLIED
bold (true | false) #IMPLIED
italic (true | false) #IMPLIED
underline (true|false) #IMPLIED >The only reference to strikethrough is for a ViewStyle which would affect the whole graph.
There might be a workaround that you can use. Create a table in Word, drop the graph into a cell and turn off the X, Y and chart titles from the graph and put them into the table cells. There you have complete control over the text decoration. You may need to noodle with the chart layout a little but it should look ok.
----------------------------------------------------------------------------------
| CHART TITLE |
|___________________________________________________|
| | CHART (no labels) |
| Y Axis |________________________________|
|__________________|_________X Axis__________________|
Regards
Tim
0