C# 클래스 AODL.Document.SpreadsheetDocuments.SpreadsheetDocument

The SpreadsheetDocument class represent an OpenDocument spreadsheet document.
상속: IDocument, IDisposable
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
CreateAttribute ( string name, string prefix ) : XmlAttribute

Create a new XmlAttribute for this document.

CreateNode ( string name, string prefix ) : XmlNode

Create a new XmlNode for this document.

DeleteUnpackedFiles ( ) : void
Dispose ( ) : void

Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection.

GetNamespaceUri ( string prefix ) : string

Return the namespaceuri for the given prefixname.

GetObjectByName ( string ObjectName ) : EmbedObject
Load ( string file ) : void

Load the given file.

New ( ) : void

Create a new blank spreadsheet document.

SaveTo ( string filename ) : void

Save the SpreadsheetDocument as OpenDocument spreadsheet document

SaveTo ( string filename, IExporter iExporter ) : void

Save the document by using the passed IExporter with the passed file name.

SpreadsheetDocument ( ) : System

Initializes a new instance of the SpreadsheetDocument class.

비공개 메소드들

메소드 설명
Content_Inserted ( int index, object value ) : void

Content_s the inserted.

Content_Removed ( int index, object value ) : void

Content_s the removed.

CreateCommonStyleContent ( ) : void

Creates the content of the common style.

CreateContentBody ( ) : void

Creates the content body.

CreateLocalStyleContent ( ) : void

Creates the content of the local style.

Dispose ( bool disposing ) : void

Disposes the specified disposing.

LoadBlankContent ( ) : void

Load a blank the spreadsheet content document.

ReadCommonStyles ( ) : void

Reads the common styles.

StyleNodeExists ( string styleName ) : bool

Styles the node exists.

TableCollection_Inserted ( int index, object value ) : void

Tables the collection_ inserted.

TableCollection_Removed ( int index, object value ) : void

Tables the collection_ removed.

메소드 상세

CreateAttribute() 공개 메소드

Create a new XmlAttribute for this document.
public CreateAttribute ( string name, string prefix ) : XmlAttribute
name string The attributename.
prefix string The prefixname.
리턴 System.Xml.XmlAttribute

CreateNode() 공개 메소드

Create a new XmlNode for this document.
public CreateNode ( string name, string prefix ) : XmlNode
name string The elementname.
prefix string The prefix.
리턴 System.Xml.XmlNode

DeleteUnpackedFiles() 공개 메소드

public DeleteUnpackedFiles ( ) : void
리턴 void

Dispose() 공개 메소드

Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection.
public Dispose ( ) : void
리턴 void

GetNamespaceUri() 공개 메소드

Return the namespaceuri for the given prefixname.
public GetNamespaceUri ( string prefix ) : string
prefix string The prefixname.
리턴 string

GetObjectByName() 공개 메소드

public GetObjectByName ( string ObjectName ) : EmbedObject
ObjectName string
리턴 AODL.Document.Content.EmbedObjects.EmbedObject

Load() 공개 메소드

Load the given file.
public Load ( string file ) : void
file string
리턴 void

New() 공개 메소드

Create a new blank spreadsheet document.
public New ( ) : void
리턴 void

SaveTo() 공개 메소드

Save the SpreadsheetDocument as OpenDocument spreadsheet document
public SaveTo ( string filename ) : void
filename string The filename. With or without full path. Without will save the file to application path!
리턴 void

SaveTo() 공개 메소드

Save the document by using the passed IExporter with the passed file name.
public SaveTo ( string filename, IExporter iExporter ) : void
filename string The name of the new file.
iExporter IExporter
리턴 void

SpreadsheetDocument() 공개 메소드

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