C# Класс AODL.Package.ODFPackage

Summary for ODFPackage.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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