Page 1 of 1

SmartArt Sample needed

PostPosted: Thu Mar 01, 2012 11:48 pm
by patbaumgartner
Does anyone has a good SmartArt example? It is quite difficult to get through those sample applications without having xml files and sample data (not in glox file) provided.

Re: SmartArt Sample needed

PostPosted: Fri Mar 02, 2012 8:43 pm
by jason
Sounds like you've seen http://www.docx4java.org/svn/docx4j/tru ... ocx4j.docx

If you use Word to create a piece of SmartArt from your glox file, you ought to be able to see your data and the relevant XML files when you unzip the resulting docx.

Re: SmartArt Sample needed

PostPosted: Thu Mar 15, 2012 5:43 am
by patbaumgartner
Dear Jason, I tried hard to create one myself. But i was not able to do it. Do you not have a full sample with all the files? The code examples are a good starting point but often one file is missing. At the moment i struggle to create date which need to be transformed by the DiagramLayoutTree4AlgHier.xslt.

Do you have something you could check in?

Best regards, Patrick

Re: SmartArt Sample needed

PostPosted: Fri Mar 16, 2012 12:58 am
by jason
Which bit of SmartArt in particular are you working with?

Re: SmartArt Sample needed

PostPosted: Fri Mar 16, 2012 10:37 pm
by patbaumgartner
Hi Jason

I want to create from a list with my exctracted glox file a SmartArt in the pptx file. Currently i am struggeling the create the data to fill in. I can't find a working sample with all the steps and all the files needed. As in the last post described, i wanted to use some sample code CreatePptxWithSmartArt but could not find the corresponding datafile ("/sample-docs/glox/extracted/data-sample.xml") because its not in stored in subversion.

I also tried some other aproches but could not reach the goal =(

Cheers,
Pat

Re: SmartArt Sample needed

PostPosted: Mon Mar 19, 2012 9:42 pm
by jason
In order to identify which bit of SmartArt you are trying to work with, perhaps you could, in Powerpoint, create a pptx which uses it, and then post that pptx here?