docx files using docx4j, I am able to parse ovals and rectangles from the CTRect and CTOval object from docx4j. But when I get to the custom shapes docx4j give me objects in CTShape or CTShapetype. I have already read the VML Specification link.
The path value sometimes has the following values
- m1,1 l1,200,200,200,200,1 xe
- m100,1 l1,100,100,200,200,100 xe
- m,l,21600r21600,xe
- more combinations..., some using the adjusts values and some uses the formulas like path="wr@22,0@21@3,,0@21@4@.."
I want to parse those values to get the points or coordinates in the path. I am having problem parsing them and also for the fact that I am new to VML and I havent grasped it all. Do you have some suggested source codes, libraries, or existing opensource projects that I can use as reference or use or any resource that will help retreive the path coordinates?
FYI: I have tried looking up to LibreOffice source code but I didnt get much from the code, also I find it hard because it is on a different programming language.