Hi All;

I have added an fo:external:graphics tag as a child of root (I want to add a
watermark so I'm passing the required info inside that tag) The graphic tag
is there only when the watermark is available. 

Therefore I want to check whether that fo:external graphic tag is there or
not. That's y I wanted to access the element tree structure.

Can pls tell is it possible to do like that or if not is there any other
possible way to implement this.

Your help will be greatly appreciated :) 

Thanks 

Harshini 

  _____  

 Hi

FOP's fo-tree structure is not meant to be directly accessible to external
packages, so there is no public API accessor...

Why precisely do you (think you) need it?

 

Cheers,

Andreas


  _____  

From: Harshini Madurapperuma [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 26, 2007 4:23 PM
To: fop-users@xmlgraphics.apache.org
Subject: Accessing the object Tree structure of FOP


Hi all;
 
Is there a way to access the object tree structure of FOP? In Driver class
there is a parameter called InputSource source. I tried to convert it in to
a char array but it doesn't work. 
 
so; is there any other way to access the object??
The object tree which i have meant is something shown below::
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<fo:root xmlns:fo=" <http://www.w3.org/1999/XSL/Format>
http://www.w3.org/1999/XSL/Format";
xmlns:text="com.ini.vldt.layout.TextEffects"
xmlns:chart="com.ini.vldt.layout.ChartFunctions"
xmlns:vldtaggr="com.ini.common.parser.VldtAggr"  text-decoration="none"
hyphenate="true" font-weight="normal" font-style="normal" font-size="12pt"
font-family="Arial">
<fo:layout-master-set element-id="my_layout2_52">
<fo:page-sequence-master element-id="my_layout2_53"
master-name="vldt-sequence">
<fo:repeatable-page-master-reference element-id="my_layout2_54"
master-reference="repeat-page"/>
</fo:page-sequence-master>
<fo:simple-page-master element-id="my_layout2_55" page-width="21cm"
page-height="29.7cm" master-name="repeat-page" margin="2cm">
<fo:region-body element-id="my_layout2_56" region-name="xsl-region-body"
margin-top="3cm" margin-bottom="1cm"/>
<fo:region-before element-id="my_layout2_57" region-name="repeat-page-head"
extent="3cm"/>
<fo:region-after element-id="my_layout2_58" region-name="repeat-page-foot"
extent="1cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
</fo:root> 
 
your help will be greatly appreciated :)
Thanx

Reply via email to