opc_dump

Abtract

opc_dump is a tool which is part of libopc. It dumps information about an OPC container.

Ussage

> opc_dump CONTAINER 

Sample

opc_dump test_docs/OOXMLI1.docx 

will give the following output
Content Types                                                                   
--------------------------------------------------------------------------------
application/vnd.openxmlformats-officedocument.customXmlProperties+xml           
application/vnd.openxmlformats-officedocument.extended-properties+xml           
application/vnd.openxmlformats-officedocument.theme+xml                         
application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml
application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml     
application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml    
application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml       
application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml    
application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml       
application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml    
application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml     
application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml       
application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml  
application/vnd.openxmlformats-package.core-properties+xml                      
application/vnd.openxmlformats-package.relationships+xml                        
application/xml                                                                 
image/jpeg                                                                      
image/png                                                                       
--------------------------------------------------------------------------------

Extension|Type                                                    
---------|--------------------------------------------------------
jpeg     |image/jpeg                                              
png      |image/png                                               
rels     |application/vnd.openxmlformats-package.relationships+xml
xml      |application/xml                                         
---------|--------------------------------------------------------

Relation Types                                                                         
---------------------------------------------------------------------------------------
http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml          
http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps     
http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes           
http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties
http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable          
http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer             
http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes          
http://schemas.openxmlformats.org/officeDocument/2006/relationships/header             
http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
http://schemas.openxmlformats.org/officeDocument/2006/relationships/image              
http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering          
http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument     
http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings           
http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles             
http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme              
http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings        
http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties  
---------------------------------------------------------------------------------------

External Relations                                                                                          
------------------------------------------------------------------------------------------------------------
http://developer.apple.com/documentation/Carbon/Reference/CarbonPrintingManager_Ref/Reference/reference.html
http://developer.apple.com/documentation/QuickTime/INMAC/SOUND/imsoundmgr.30.htm                            
http://developer.apple.com/documentation/mac/QuickDraw/QuickDraw-2.html                                     
http://developer.apple.com/softwarelicensing/agreements/quicktime.html                                      
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_8nle.asp                      
http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/asx_elementsintro.asp                              
http://www.microsoft.com/windows/windowsmedia/forpros/format/asfspec.aspx                                   
http://www.w3.org/TR/xpath                                                                                  
------------------------------------------------------------------------------------------------------------

Part                    |Type                                                                            
------------------------|--------------------------------------------------------------------------------
customXml/item1.xml     |application/xml                                                                 
customXml/itemProps1.xml|application/vnd.openxmlformats-officedocument.customXmlProperties+xml           
docProps/app.xml        |application/vnd.openxmlformats-officedocument.extended-properties+xml           
docProps/core.xml       |application/vnd.openxmlformats-package.core-properties+xml                      
word/document.xml       |application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml
word/endnotes.xml       |application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml     
word/fontTable.xml      |application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml    
word/footer1.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml       
word/footer2.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml       
word/footer3.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml       
word/footnotes.xml      |application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml    
word/header1.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml       
word/header2.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml       
word/header3.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml       
word/header4.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml       
word/header5.xml        |application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml       
word/media/image1.jpeg  |image/jpeg                                                                      
word/media/image2.jpeg  |image/jpeg                                                                      
word/media/image3.png   |image/png                                                                       
word/media/image4.png   |image/png                                                                       
word/media/image5.png   |image/png                                                                       
word/numbering.xml      |application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml    
word/settings.xml       |application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml     
word/styles.xml         |application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml       
word/theme/theme1.xml   |application/vnd.openxmlformats-officedocument.theme+xml                         
word/webSettings.xml    |application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml  
------------------------|--------------------------------------------------------------------------------

Source             |Id   |Destination                                                                                                 |Type                                                                                   
-------------------|-----|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------
[root]             |rId1 |word/document.xml                                                                                           |http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument     
[root]             |rId2 |docProps/core.xml                                                                                           |http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties  
[root]             |rId3 |docProps/app.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties
customXml/item1.xml|rId1 |customXml/itemProps1.xml                                                                                    |http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps     
word/document.xml  |rId1 |customXml/item1.xml                                                                                         |http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml          
word/document.xml  |rId2 |word/numbering.xml                                                                                          |http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering          
word/document.xml  |rId3 |word/styles.xml                                                                                             |http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles             
word/document.xml  |rId4 |word/settings.xml                                                                                           |http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings           
word/document.xml  |rId5 |word/webSettings.xml                                                                                        |http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings        
word/document.xml  |rId6 |word/footnotes.xml                                                                                          |http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes          
word/document.xml  |rId7 |word/endnotes.xml                                                                                           |http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes           
word/document.xml  |rId8 |word/media/image1.jpeg                                                                                      |http://schemas.openxmlformats.org/officeDocument/2006/relationships/image              
word/document.xml  |rId9 |word/header1.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/header             
word/document.xml  |rId10|word/header2.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/header             
word/document.xml  |rId11|word/header3.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/header             
word/document.xml  |rId12|word/footer1.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer             
word/document.xml  |rId13|word/header4.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/header             
word/document.xml  |rId14|word/footer2.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer             
word/document.xml  |rId15|word/media/image3.png                                                                                       |http://schemas.openxmlformats.org/officeDocument/2006/relationships/image              
word/document.xml  |rId16|word/media/image4.png                                                                                       |http://schemas.openxmlformats.org/officeDocument/2006/relationships/image              
word/document.xml  |rId17|word/media/image5.png                                                                                       |http://schemas.openxmlformats.org/officeDocument/2006/relationships/image              
word/document.xml  |rId18|http://developer.apple.com/documentation/QuickTime/INMAC/SOUND/imsoundmgr.30.htm                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId19|http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/asx_elementsintro.asp                              |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId20|http://developer.apple.com/documentation/mac/QuickDraw/QuickDraw-2.html                                     |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId21|http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_8nle.asp                      |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId22|http://developer.apple.com/documentation/Carbon/Reference/CarbonPrintingManager_Ref/Reference/reference.html|http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId23|http://developer.apple.com/documentation/mac/QuickDraw/QuickDraw-2.html                                     |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId24|http://www.microsoft.com/windows/windowsmedia/forpros/format/asfspec.aspx                                   |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId25|http://www.microsoft.com/windows/windowsmedia/forpros/format/asfspec.aspx                                   |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId26|http://developer.apple.com/softwarelicensing/agreements/quicktime.html                                      |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId27|http://www.w3.org/TR/xpath                                                                                  |http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink          
word/document.xml  |rId28|word/header5.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/header             
word/document.xml  |rId29|word/footer3.xml                                                                                            |http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer             
word/document.xml  |rId30|word/fontTable.xml                                                                                          |http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable          
word/document.xml  |rId31|word/theme/theme1.xml                                                                                       |http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme              
word/header1.xml   |rId1 |word/media/image2.jpeg                                                                                      |http://schemas.openxmlformats.org/officeDocument/2006/relationships/image              
-------------------|-----|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------

Last edited Jun 16, 2011 at 3:46 PM by flr, version 3

Comments

No comments yet.