Thanks a lot Dustin. This works perfectly fine. Now, I can parse the xml document.
Thank you so much for the help. N shah On Sun, Jan 17, 2016 at 7:45 PM, Dustin Spicuzza <[email protected] > wrote: > Hm, that must be the 'lite' jar. We don't have comprehensive unit test > coverage for vsdx yet, so you'll need to use the 'full' jar, > ooxml-schemas-1.3.jar. > > > http://search.maven.org/remotecontent?filepath=org/apache/poi/ooxml-schemas/1.3/ooxml-schemas-1.3.jar > > Dustin > > On 01/17/2016 10:35 PM, Nili Shah wrote: > > Dustin, > > > > I have this jar already, but it is still complaining with this error > > > > java.lang.NoClassDefFoundError: > > com/microsoft/schemas/office/visio/x2012/main/ConnectsType > > > > Thanks, > > > > > > On Sun, Jan 17, 2016 at 7:17 PM, Dustin Spicuzza < > [email protected] > >> wrote: > >> The zipfile you downloaded with the POI jar in it should have a file > >> called poi-ooxml-schemas-3.14-beta1-20151223.jar. Use that file. > >> > >> Dustin > >> > >> On 01/17/2016 09:06 PM, Nili Shah wrote: > >>> I am still using ANT for build script.. not Maven 😡... so I can not > just > >>> put the dependency like that. > >>> > >>> Can you please provide me the link where I can get > >> ooxml-visio-schemas.jar > >>> file? > >>> > >>> Thanks, > >>> Nili > >>> > >>> On Sun, Jan 17, 2016 at 4:49 PM, Dustin Spicuzza < > >> [email protected] > >>>> wrote: > >>>> ooxml-visio-schemas-2011.1.jar is an old jar required by my original > >>>> release of poi-visio. It should not be used. > >>>> > >>>> There is a new ooxml-schemas jar that you should use with POI 3.14 > >> beta... > >>>> it appears to be in the distribution zipfile as > >>>> poi-ooxml-schemas-3.14-beta1-20151223.jar, or on maven it's > >> ooxml-schemas > >>>> 1.3. > >>>> > >>>> I would recommend something like maven for dealing with these > dependency > >>>> issues. > >>>> > >>>> I'm not sure why the curvesapi jar isn't in the distribution zipfile, > >> I'll > >>>> have to look into that. > >>>> > >>>> Dustin > >>>> > >>>> On 1/17/16 5:15 PM, Nili Shah wrote: > >>>> > >>>>> Hi Dustin, > >>>>> > >>>>> Yes, I found curvesapi jar and now getting into different exception > >>>>> > >>>>> > >>>>> > >>>>> - com.microsoft.schemas.office.visio.x2012.main.ConnectsType - > >> class > >>>>> not found > >>>>> - > >>>>> - It means I have to now include ooxml-visio-schemas-2011.1.jar > >>>>> > >>>>> > >>>>> > >>>>> Is there a way to get all of these dependent jars in one bundle. > >>>>> > >>>>> When I got poi 3.14 package, under ooxml-lib folder it has only > >>>>> xmlbeans-2.6.0 > >>>>> > >>>>> Am I doing something wrong here? > >>>>> > >>>>> thanks > >>>>> N Shah > >>>>> > >>>>> On Sun, Jan 17, 2016 at 2:05 PM, Dustin Spicuzza < > >>>>> [email protected] > >>>>> > >>>>>> wrote: > >>>>>> > >>>>>> > >> > http://search.maven.org/#artifactdetails|com.github.virtuald|curvesapi|1.03|jar > >>>>>> When you build POI, it downloads it to ooxml-lib. > >>>>>> > >>>>>> Dustin > >>>>>> > >>>>>> > >>>>>> On 01/17/2016 04:59 PM, Nili Shah wrote: > >>>>>> > >>>>>>> Hi Dustin, > >>>>>>> > >>>>>>> I tried to include OOXML jar from 3.14 beta release and was trying > to > >>>>>>> access API following way. > >>>>>>> > >>>>>>> FileInputStream theFile = new > >> FileInputStream(file[0]); > >>>>>>> XmlVisioDocument doc = new XmlVisioDocument(theFile); > >>>>>>> > >>>>>>> But it gives me error for "com.graphbuilder.curve.Point - no class > >> found > >>>>>>> error". I am not able to figure it out which jar it is looking for > >> now. > >>>>>>> Can you please help me out here? > >>>>>>> > >>>>>>> Thanks in advance. > >>>>>>> > >>>>>>> N Shah > >>>>>>> > >>>>>>> On Wed, Jan 6, 2016 at 1:08 PM, Nili Shah <[email protected]> > >> wrote: > >>>>>>> Thanks Dustin for the reply. I am going to try and let you know > the > >>>>>>>> outcome. > >>>>>>>> > >>>>>>>> N Shah > >>>>>>>> > >>>>>>>> On Mon, Jan 4, 2016 at 9:05 PM, Dustin Spicuzza < > >>>>>>>> [email protected]> wrote: > >>>>>>>> > >>>>>>>> There is basic readonly support in the latest beta release > >>>>>>>> (3.14-beta1). > >>>>>>> You'll find the modules in the OOXML jar, org.apache.poi.xdgf. Try > it > >>>>>>>>> out and let us know how it works. > >>>>>>>>> > >>>>>>>>> Dustin > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On 01/04/2016 02:34 PM, Nili Shah wrote: > >>>>>>>>> > >>>>>>>>>> Hello, > >>>>>>>>>> > >>>>>>>>>> I am working on a project with a requirement to upload Microsoft > >>>>>>>>>> Visio > >>>>>>>>>> > >>>>>>>>> 2013 > >>>>>>>>> > >>>>>>>>>> .vsdx format file on to server to process it. I have been > >> googling a > >>>>>>>>> lot > >>>>>>>>> > >>>>>>>>>> for this and only found that apache POI support it but only .vsd > >>>>>>>>>> > >>>>>>>>> format. > >>>>>>> I would like to know when is the plan to have support for .vsdx > >>>>>>>>> format. If > >>>>>>>>> > >>>>>>>>>> you have some other idea, please share it with me. I am working > >> on > >>>>>>>>> this > >>>>>>> project with tight deadline. > >>>>>>>>>> I really appreciate if you response it as early as possible. > >>>>>>>>>> > >>>>>>>>>> Thanks, > >>>>>>>>>> N Shah > >>>>>>>>>> > >>>>>>>>>> > >> --------------------------------------------------------------------- > >>>>>>>>> To unsubscribe, e-mail: [email protected] > >>>>>>>>> For additional commands, e-mail: [email protected] > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>> > --------------------------------------------------------------------- > >>>>>> To unsubscribe, e-mail: [email protected] > >>>>>> For additional commands, e-mail: [email protected] > >>>>>> > >>>>>> > >>>>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [email protected] > >>>> For additional commands, e-mail: [email protected] > >>>> > >>>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
