C# 클래스 OfficeConvert.Converter

파일 보기 프로젝트 열기: teambition/OfficeConverter 1 사용 예제들

공개 메소드들

메소드 설명
Convert ( String inputFile, String outputFile ) : void

보호된 메소드들

메소드 설명
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

메소드 상세

Convert() 공개 추상적인 메소드

public abstract Convert ( String inputFile, String outputFile ) : void
inputFile String
outputFile String
리턴 void

IsPasswordProtected() 보호된 메소드

Detects if a given office document is protected by a password or not. Supported formats: Word, Excel and PowerPoint (both legacy and OpenXml).
protected IsPasswordProtected ( Stream stream ) : bool
stream Stream Office document stream.
리턴 bool

IsPasswordProtected() 보호된 메소드

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
protected IsPasswordProtected ( string fileName ) : bool
fileName string Path to an office document.
리턴 bool

ReadFromStream() 보호된 메소드

protected ReadFromStream ( Stream stream, byte buffer ) : void
stream Stream
buffer byte
리턴 void

ScanForPassword() 보호된 메소드

protected ScanForPassword ( Stream stream, byte buffer, int sectionSize ) : bool
stream Stream
buffer byte
sectionSize int
리턴 bool

releaseCOMObject() 보호된 메소드

protected releaseCOMObject ( object obj ) : void
obj object
리턴 void