Method | Description | |
---|---|---|
Convert ( String inputFile, String outputFile ) : void |
Method | Description | |
---|---|---|
IsPasswordProtected ( Stream stream ) : bool |
Detects if a given office document is protected by a password or not. Supported formats: Word, Excel and PowerPoint (both legacy and OpenXml).
|
|
IsPasswordProtected ( string fileName ) : bool |
Detects if a given office document is protected by a password or not. Supported formats: Word, Excel and PowerPoint (both legacy and OpenXml). Source: http://stackoverflow.com/a/26522122
|
|
ReadFromStream ( Stream stream, byte buffer ) : void | ||
ScanForPassword ( Stream stream, byte buffer, int sectionSize ) : bool | ||
releaseCOMObject ( object obj ) : void |
public abstract Convert ( String inputFile, String outputFile ) : void | ||
inputFile | String | |
outputFile | String | |
return | void |
protected IsPasswordProtected ( Stream stream ) : bool | ||
stream | Stream | Office document stream. |
return | bool |
protected IsPasswordProtected ( string fileName ) : bool | ||
fileName | string | Path to an office document. |
return | bool |
protected ReadFromStream ( Stream stream, byte buffer ) : void | ||
stream | Stream | |
buffer | byte | |
return | void |
protected ScanForPassword ( Stream stream, byte buffer, int sectionSize ) : bool | ||
stream | Stream | |
buffer | byte | |
sectionSize | int | |
return | bool |
protected releaseCOMObject ( object obj ) : void | ||
obj | object | |
return | void |