C# 클래스 AODL.Package.ODFPackage

Summary for ODFPackage.
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker

공개 프로퍼티들

프로퍼티 타입 설명
ODFContentXML string
ODFManifestXML string
ODFMetaXML string
ODFSettingsXML string
ODFStylesXML string

공개 메소드들

메소드 설명
AbortPackageUpdate ( ) : void

Aborts the package update.

AddEntryFromMemoryStream ( MemoryStream memoryStream, string entryName ) : void

Adds the entry from memory stream.

BeginUpdate ( ) : void

Begins the update.

Close ( ) : void

Closes this ODFPackage. If this package has changes they will be commited and saved. If you have done changes to the package and won't save them use the AbortPackageUpdate() method before calling Close().

CommitChanges ( ) : void

Commits the changes.

GetStreamByName ( string entryName ) : MemoryStream

Gets the name of the stream by.

Load ( string odfFile ) : void

Loads the specified odf file.

ODFPackage ( ) : System

Initializes a new instance of the ODFPackage class.

ODFPackage ( string odfFile ) : System

Initializes a new instance of the ODFPackage class.

비공개 메소드들

메소드 설명
GetEntryByName ( string entryName ) : ZipEntry

Gets the name of the entry by.

메소드 상세

AbortPackageUpdate() 공개 메소드

Aborts the package update.
public AbortPackageUpdate ( ) : void
리턴 void

AddEntryFromMemoryStream() 공개 메소드

Adds the entry from memory stream.
public AddEntryFromMemoryStream ( MemoryStream memoryStream, string entryName ) : void
memoryStream MemoryStream The memory stream.
entryName string Name of the entry.
리턴 void

BeginUpdate() 공개 메소드

Begins the update.
public BeginUpdate ( ) : void
리턴 void

Close() 공개 메소드

Closes this ODFPackage. If this package has changes they will be commited and saved. If you have done changes to the package and won't save them use the AbortPackageUpdate() method before calling Close().
public Close ( ) : void
리턴 void

CommitChanges() 공개 메소드

Commits the changes.
public CommitChanges ( ) : void
리턴 void

GetStreamByName() 공개 메소드

Gets the name of the stream by.
public GetStreamByName ( string entryName ) : MemoryStream
entryName string Name of the entry.
리턴 MemoryStream

Load() 공개 메소드

Loads the specified odf file.
public Load ( string odfFile ) : void
odfFile string The odf file.
리턴 void

ODFPackage() 공개 메소드

Initializes a new instance of the ODFPackage class.
public ODFPackage ( ) : System
리턴 System

ODFPackage() 공개 메소드

Initializes a new instance of the ODFPackage class.
public ODFPackage ( string odfFile ) : System
odfFile string The odf file.
리턴 System

프로퍼티 상세

ODFContentXML 공개적으로 정적으로 프로퍼티

public static string ODFContentXML
리턴 string

ODFManifestXML 공개적으로 정적으로 프로퍼티

public static string ODFManifestXML
리턴 string

ODFMetaXML 공개적으로 정적으로 프로퍼티

public static string ODFMetaXML
리턴 string

ODFSettingsXML 공개적으로 정적으로 프로퍼티

public static string ODFSettingsXML
리턴 string

ODFStylesXML 공개적으로 정적으로 프로퍼티

public static string ODFStylesXML
리턴 string