You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Harshini Madurapperuma <ha...@ifs.lk> on 2007/03/26 12:53:26 UTC
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
Re: Accessing the object Tree structure of FOP
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Mar 26, 2007, at 12:53, Harshini Madurapperuma wrote:
Hi,
> 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.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org