Page 1 of 1

CTShapetype path is incorrect

PostPosted: Wed Jul 09, 2014 8:19 pm
by camallere_h
Hi guys, I have a problem with the Path value from the attached document.
The document's CTShapetype has a path value of :
m,l@0,0@0,21600,21600,21600e.
I tried plotting manually the path value considering the adjusts and formulas. The plotted shape does represent the shape in the document.
The path value is wrong.

Is it a bug on MS Word when saving the file or in the docx4j?
I think the fault is in saving by MS Word, Can this be fixed?

Please help...

Re: CTShapetype path is incorrect

PostPosted: Wed Jul 09, 2014 10:41 pm
by jason
It isn't obvious to me what you are asking here. Please elaborate.

In particular, how did the CTShapetype come to be? Did you create it in Word, or docx4j? What path value were you expecting? Steps to reproduce?

Re: CTShapetype path is incorrect

PostPosted: Thu Jul 10, 2014 12:42 pm
by camallere_h
Hi I am sorry if my question is not clear.
The path values are incorrect, they do not represent the line I created using MSOffice. You can see the shape that I created on the attached .docx file.
The attached .png image file is my representation of the path m,l@0,0@0,21600,21600,21600e which I got from the CTShapetype object using Docx4j.

Is it a MSOffice bug that caused the path value to be wrong?