无需办公即可阅读Viso VSD文件和Publisher PUB文件 [英] Reading Viso VSD-Files and Publisher PUB-Files without office

查看:128
本文介绍了无需办公即可阅读Viso VSD文件和Publisher PUB文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!


我需要知道如何解析Visio VSD和Publisher PUB文件。


我知道那些文件是结构化存储文件。


我特别感兴趣的是PUB文件的Contents-Stream和VSD文件的VisioDoument-Stream。


我需要将vba-code的数字签名提取和/或插入到这些流中。有没有人知道这些流是如何构建的?


至于Publisher文件中的Contents-Stream(最新版本)我发现,这个流是在顺序块中构建的但是我不知道每个街区的含义。


任何帮助都将不胜感激。


关心

Alex

解决方案



根据
VSDX:新的Visio文件格式
,主Visio绘图(VSD)文件格式是二进制的,第三方很难从二进制格式访问和提取数据在Visio之外使用。


我建议您转换为.vsdx,然后使用Open Packaging Conventions和要解析的XML。您可以访问
如何:以编程方式操作Visio文件格式。它演示了如何读取/选择/更改和添加部分visio包。


此外,还可以请与我们分享一下.pub的顺序块是什么?  


感谢您的理解。


问候,


Celeste



Hello!

I need to know how to parse Visio VSD and Publisher PUB files.

I know that those files are structured storage files.

I am particulary interested in the Contents-Stream for PUB files and the VisioDoument-Stream for VSD files.

I need to extract and/or insert digital signatures for vba-code into those streams. Is there anyone who knows how those streams are built?

As for the Contents-Stream in Publisher files (most recent version) I found out, that this stream is built in sequential blocks but i don't know the meaning of each block.

Any help would be appreciated.

Regards
Alex

解决方案

Hi,

According to VSDX: the new Visio file format, the primary Visio Drawing (VSD) file format was binary, it was difficult for third parties to access and extract data from the binary format for use outside of Visio.

I suggest you convert in to .vsdx, then use Open Packaging Conventions and XML to parse. You could visit How to: Manipulate the Visio file format programmatically. It demonstrate how to read/select/change and add parts of visio packages.

Besides, could you please share with us what are the sequential blocks for the .pub?  

Thanks for your understanding.

Regards,

Celeste


这篇关于无需办公即可阅读Viso VSD文件和Publisher PUB文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆