align text to shape [generating .vdx/xml files in Java]

Started by peterrific, June 26, 2017, 08:23:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peterrific

Hi there,

I'm currently working on creating Visio XML Files using Java. As a source I have EPCs in .epml format from which the data has to be extracted in order to generate the fitting XML code. As usual the EPCs contain textual information kept within the events and functions of the EPC.

Right now the extracted text is being displayed wrong because only the string itself is written into the XML file. What do I have to do so the text is adapted to the shape's size and how do I do it?

Thanks,
Peter

Yacine

Hi Peter,
Can't tell much about Java, nor EPC - Nikolay will be the right man - but regarding the incorrect position of text, if you upload a drawing with the failure shape we may have a look at it.
Yacine

Nikolay

I'm not really an expert in Java.
But yea, it might be helpful to see what you mean by saying "text is being displayed wrong"