Questions tagged [open-packaging-convention]
12 questions
7
votes
2 answers
Tutorials on Open Packaging Conventions / System.IO.Packaging
Has anyone seen a good tutorial on Open Packaging Conventions and the System.IO.Packaging namespace?
I have some areas where I think this technology could be useful, but I'm nervous because I don't quite understand it and I'm stuck on some of the…

Doug McClean
- 14,265
- 6
- 48
- 70
4
votes
2 answers
Create a visio 2013 file in java
I want to create a .vsdx file (drawing) using Java. Visio 2013 uses Open Packaging Convention. I don't know from where to start, currently referring this link…

monu
- 835
- 2
- 9
- 14
3
votes
1 answer
Serializing WPF FlowDocuments to/from PackagePart (including images, etc.)
I want to be able to store multiple FlowDocuments within a single package, including images, etc. within each document. However, none of the methods I've seen for saving (and loading) Xaml FlowDocuments seem capable of this.
TextRange.Save with…

Chris Charabaruk
- 4,367
- 2
- 30
- 57
3
votes
2 answers
How to identify and validate an OOXML file?
I need to be able to identify that a given file is an OOXML file based on the contents of the file, and not on the file's extension.
OOXML files are really a collection of XML and text files in a zip container, which means that I cannot use the…

jwaddell
- 1,892
- 1
- 23
- 32
3
votes
0 answers
System.IO.Packaging: Unable to determine the identity of the domain
I'm using System.IO.Packaging to create files in a completely managed desktop (Windows Forms) application.
Under certain conditions, the writing of the OPC package raises the "Unable to determine the identity of the domain" exception. I have learned…

Anders Forsgren
- 10,827
- 4
- 40
- 77
2
votes
0 answers
Windows 8, SkyDrive and OpenPackage zip-files
I have a structure of folders and xml-files on a regular asp.net/iis server (a file based database in xml). I modify the database over the net using WCF -> get/post xml. This works fine.
To gather all files into a more manageable unit, I used a…

Andreas Zita
- 7,232
- 6
- 54
- 115
2
votes
1 answer
Converting and OPC (Open Packaging Convention) file to and flat XML file in JAVA
So I am trying to get an flat file XML version of an OPC document.
I am using OPCPackage from org.apache.poi.openxml4j
In C++ you there is a call that creates flat XML file from this zipped file.
Anyone knows how to do that in Java?
Also any good…

grobartn
- 3,510
- 11
- 40
- 52
1
vote
1 answer
How do I edit text in Visio files (vsdx) using python?
I am trying to automate some translation work where I just need edit all the texts in Visio (vsdx) files, the diagram does not need to be changed.
I have been searching for ways to perform such action but I can't find anything useful.
How do I…

thf9527
- 71
- 2
- 11
1
vote
1 answer
Where can I find the XSDs of DOCX XML files?
I've created a docx file, unzipped it. Now I have:
_rels (folder)
docProps (folder)
word (folder)
[Content_Types].xml
The content of [Content_Types].xml is:

Roi Bar
- 105
- 11
1
vote
2 answers
Will PackageDigitalSignatureManager.VerifySignatures() lead to a call outside the network?
I have a business requirement to check the digital signature on an Open Packaging Conventions Package (it's a Word document) prior to continuing to process the document. The package is signed by me prior to delivering it to the client, so my code…

MrCodeMnky
- 835
- 1
- 6
- 18
0
votes
2 answers
Show thumbnail of an OPC file in Windows Explorer
I have an OPC-file. It works fine. Now I'm trying to add thumbnail, so when this file is shown in Windows Explorer or, for example, as attachment in browser, my thumbnail is displayed.
I tried to add

Andrii Muzychuk
- 1,151
- 3
- 20
- 28
0
votes
2 answers
Is there a Java library equivalent to Microsoft/.NET System.IO.Packaging?
Is there a Java library equivalent to System.IO.Packaging. If so what is the experience of
unpacking DOCX files
editing DOCX files
building DOCX files from scratch.

peter.murray.rust
- 37,407
- 44
- 153
- 217