Hi,

I am developing support for transformation of FO to PDF with FOP using Java.

I wonder if there is an API method that I can call that resolves a property? 
Here is one example:

<fo:block font-size="12pt">
   <fo:inline font-size="2em">Lorem ipsum</fo:inline>
</fo:block>

I want to call a method that can resolve the font-size on the <fo:inline> in 
pt, for instance with a similar code to this:

float fontSize = FOP.getDimensionValue(element, "font-size");

Is there such a method available in FOP that I can use, or do I have to write 
my own code to resolve the value?

Best regards/Vänliga hälsningar
Daniel Norberg
--
[X]

Excosoft • Daniel Norberg • Developer • Application Consultant

Södervägen 70, SE-183 64 Täby, SWEDEN

Cell +46 (0)76-199 31 85

Email [email protected]<mailto:[email protected]>

www.excosoft.se<http://www.excosoft.se/>

Reply via email to