0

I am currently working on exporting information from browser to word document. I am having information which contains colors and shapes. Now when I export them using wordprocessingML I am able to export text that are highlighted in colors. But I am also having certain text in browser that are encapsulated with circles ad box. I found that using VML we can render shapes. But I want the shapes to be in the specified x-axis and y-axis, so that it renders the text properly. Is there is any way to specify co-ordinates in shapes using keywords like "this.x", "this.y". Something similar to this to render the shapes on the text. I am not sure whether I am clear. Would like to discuss more about this.

4

1 回答 1

0

我找到了解决这个问题的方法。我们可以使用“auto”关键字,它可以根据页面的流向查找形状在worddocument中的相对位置。现在我的问题是,当我通过 margin-left:auto, margin-top;auto 时,我能够在正确的维度上显示形状。但是我还在文本属性中包含了我希望形状重叠的文本。我将形状放在文本旁边,而不是包装文本。有谁知道解决方法,我可以试试。我发现在 wordml 上工作真的很有趣。

于 2010-11-24T07:01:42.117 回答