muratartim / ExtractOLE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExtractOLE

Simple application to extract embedded OLE objects from MS Excel (.xlsx) and MS Word (.docx) files. Once the path to the input source file is supplied, it extracts all embedded OLE objects in all worksheets of the Excel document. Following document formats are supported:

  • MS Word (.docx)
  • MS PowerPoint (.pptx)
  • MS Excel (.xlsx)
  • Adobe Acrobat Document (.pdf)

The embedded documents are extracted under the same directory as the source document with the following naming convention:

sourceFileName_extracted_N.ext

where sourceFileName is the name of the input source file without extension, N is the generated index of the OLE object and .ext is the relevant file extension based on the type of the OLE object.

Usage

Java Runtime (JRE) 1.8 is required to run the application. The application accepts following 3 commands:

Extract OLE objects (with sibling source file): java -jar extractOle.jar <source filename>
Extract OLE objects (with full source path): java -jar extractOle.jar <source path>
Help: java -jar extractOle.jar -help

About


Languages

Language:Java 99.3%Language:HTML 0.7%