problem with vml-shape-types file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

The vml-shape-types file is used, when a shape is exported to VML. If I understand it correctly, then this file is generated from presetShapeDefinitions.xml and presetTextWarpDefinitions.xml respectively by preset-definitions-to-shape-types.pl script. The file itself is located in <installation directory>/share/filter, not in repository (Why?).

This file does not work for handles in Fontwork shapes. The problem is the position attribute of a handle: (A) The reference to the adjustment value is made by a reference to a formula (@), but it needs to be a reference to the adjustment value itself (#). (B) The positions left, right, top, bottom, center are written with numbers 0, 10800 and 21600. But it need to be topLeft, center, bottomRight.

VML is needed for export of Fontwork shapes with fill other than solid or gradient, because such fill cannot be expressed with Words "abc Transform". Therefore I need a way to get correct VML shapetype markup for Fontwork shapes. There exist 40 types of Fontwork shapes in presetTextWarpDefinitions.xml. All of them have handles. There are 8 binary WordArt shapes, where the relationship to the shapes in presetTextWarpDefinitions.xml is unclear.

I could manually make a file for the markup of the WordArt shapetypes and use that. I'm not familiar with Perl scripts.

Better ideas or suggestions?

BTW, Word uses VML WordArt, when it opens a doc file with binary WordArt or opens an odt file with custom-shape with textpath on. And it keeps it as VML, when converting the file to docx, even if it would be possible to use "abc Transform". But that is a -not jet fixed- import problem and not effected by the above mentioned file.

Kine regards,
Regina



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux