新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> 本版讨论SVG, GML, X3D, VRML, VML, XAML, AVALON, Batik等基于XML的图形技术,以及有关GIS的应用。
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - 高级XML应用『 SVG/GML/VRML/X3D/XAML 』 → 请问如何解决vml导入到word的变形问题? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 6468 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 请问如何解决vml导入到word的变形问题? 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     upc2neiep 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(汇编考了97分!)
      文章:85
      积分:460
      门派:XML.ORG.CN
      注册:2006/4/11

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给upc2neiep发送一个短消息 把upc2neiep加入好友 查看upc2neiep的个人资料 搜索upc2neiep在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 引用回复这个贴子 回复这个贴子 查看upc2neiep的博客楼主
    发贴心情 请问如何解决vml导入到word的变形问题?

    用vml做了一个折线图,在IE中显示正常
    但是导出到word就变形了
    一:位置走样,总是跑到下一个节点的位置
    二:vml中的问题都挤到一块儿了


    vml代码如下:
    <v:group ID="txbb" style="position:relative;width:800px;height:800px;" coordsize="800,800" xmlns:v="urn:schemas-microsoft-com:vml">
     <v:line from="'100,700'" to="'475,700'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke EndArrow="Classic"/>
     </v:line>
     <v:line from="'100,700'" to="'100,425'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke EndArrow="Classic"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:75px;top:700px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="0"/>
     </v:line>
     <v:line from="'100,650'" to="'450,650'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:75px;top:650px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="100"/>
     </v:line>
     <v:line from="'100,600'" to="'450,600'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:75px;top:600px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="200"/>
     </v:line>
     <v:line from="'100,550'" to="'450,550'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:75px;top:550px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="300"/>
     </v:line>
     <v:line from="'100,500'" to="'450,500'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:75px;top:500px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="400"/>
     </v:line>
     <v:line from="'100,450'" to="'450,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:75px;top:450px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="500"/>
     </v:line>
     <v:line from="'150,700'" to="'150,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:114px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="一月"/>
     </v:line>
     <v:line from="'200,700'" to="'200,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:164px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="二月"/>
     </v:line>
     <v:line from="'250,700'" to="'250,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:214px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="三月"/>
     </v:line>
     <v:line from="'300,700'" to="'300,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:264px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="四月"/>
     </v:line>
     <v:line from="'350,700'" to="'350,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:314px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="五月"/>
     </v:line>
     <v:line from="'400,700'" to="'400,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:364px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="六月"/>
     </v:line>
     <v:line from="'450,700'" to="'450,450'" strokeColor="#ff0000" strokeweight="1">
      <v:stroke dashstyle="Dot"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:414px;top:710px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="七月"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:275px;top:740px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 12pt normal;" string="×××××××"/>
     </v:line>
     <v:line from="'125,485'" to="'175,525'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:130px;top:485px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="430"/>
     </v:line>
     <v:line from="'175,525'" to="'225,500'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:180px;top:525px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="350"/>
     </v:line>
     <v:line from="'225,500'" to="'275,560'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:230px;top:500px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="400"/>
     </v:line>
     <v:line from="'275,560'" to="'325,510'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:280px;top:560px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="280"/>
     </v:line>
     <v:line from="'325,510'" to="'375,620'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:330px;top:510px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="380"/>
     </v:line>
     <v:line from="'375,620'" to="'425,640'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:380px;top:620px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="160"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:430px;top:640px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="120"/>
     </v:line>
     <v:line from="'125,510'" to="'175,500'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:130px;top:510px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="380"/>
     </v:line>
     <v:line from="'175,500'" to="'225,490'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:180px;top:500px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="400"/>
     </v:line>
     <v:line from="'225,490'" to="'275,525'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:230px;top:490px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="420"/>
     </v:line>
     <v:line from="'275,525'" to="'325,500'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:280px;top:525px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="350"/>
     </v:line>
     <v:line from="'325,500'" to="'375,540'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:330px;top:500px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="400"/>
     </v:line>
     <v:line from="'375,540'" to="'425,610'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval" EndArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:380px;top:540px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="320"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:430px;top:610px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="180"/>
     </v:line>
     <v:line from="'500,475'" to="'525,475'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" EndArrow="Oval"/>
     </v:line>
     <v:line from="'525,475'" to="'550,475'" strokeColor="#00ff00" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:560px;top:475px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="2007年度"/>
     </v:line>
     <v:line from="'500,425'" to="'525,425'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" EndArrow="Oval"/>
     </v:line>
     <v:line from="'525,425'" to="'550,425'" strokeColor="#0000ff" strokeweight="1">
      <v:stroke dashstyle="Solid" StartArrow="Oval"/>
     </v:line>
     <v:line to="25,-1" style="position:absolute;left:560px;top:425px;">
      <v:path textpathok="true"/>
      <v:textpath on="true" style="font:normal normal normal 8pt normal;" string="2008年度"/>
     </v:line>
    </v:group>


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/8/11 21:23:00
     
     upc2neiep 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(汇编考了97分!)
      文章:85
      积分:460
      门派:XML.ORG.CN
      注册:2006/4/11

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给upc2neiep发送一个短消息 把upc2neiep加入好友 查看upc2neiep的个人资料 搜索upc2neiep在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 引用回复这个贴子 回复这个贴子 查看upc2neiep的博客2
    发贴心情 
    代码中好多都是样式信息,还没有归一下,凑合看啦
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/8/11 21:25:00
     
     upc2neiep 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(汇编考了97分!)
      文章:85
      积分:460
      门派:XML.ORG.CN
      注册:2006/4/11

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给upc2neiep发送一个短消息 把upc2neiep加入好友 查看upc2neiep的个人资料 搜索upc2neiep在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 引用回复这个贴子 回复这个贴子 查看upc2neiep的博客3
    发贴心情 
    大家对vml导入到word有什么好的解决方案
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/8/13 11:20:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/11/26 8:25:53

    本主题贴数3,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    109.375ms