Page 1 of 1

ResolvedLayout (problem)

PostPosted: Tue Mar 01, 2011 12:48 am
by meydlo
Hi guys

[NetBeans IDE 6.9]

I tryied to use the whole sample: "RenderAsSvgInHtml.java"

but occur some problem on line "SvgExporter.svg(source, rl);" where "rl" is underlined as [problem is here]:
{
cannot find symbol
symbol: method svg(org.docx4j.openpackaging.packages.PresentationMLPackage,org.pptx4j.model.resolvedLayout)
location: class org.pptx.convert.out.svginhtml.SvgExporter
}

Problem cannot be ignored:
{
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code
at RenderAsSvgInHtml.main(RenderAsSvgInHtml.java:66)
Java Result: 1
}

Thank you very much for your help.

Re: ResolvedLayout (problem)

PostPosted: Tue Mar 01, 2011 8:05 am
by jason
Are you using docx4j source, or a jar file?

I don't use NetBeans, but it looks like class org.pptx.convert.out.svginhtml.SvgExporter might be missing from your class path?

If you are using docx4j source, please make sure all the following dirs are set as source dirs:

o src/diffx
o src/pptx4j/java
o src/xlsx4j/java
o src/svg
o src/xslfo

Re: ResolvedLayout (problem)

PostPosted: Wed Mar 02, 2011 7:13 pm
by meydlo
I'm using docx4j.jar