C# Class AODL.Document.SpreadsheetDocuments.SpreadsheetDocument

The SpreadsheetDocument class represent an OpenDocument spreadsheet document.
Inheritance: IDocument, IDisposable
Afficher le fichier Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

CreateAttribute() public méthode

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

CreateNode() public méthode

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

DeleteUnpackedFiles() public méthode

public DeleteUnpackedFiles ( ) : void
Résultat void

Dispose() public méthode

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

GetNamespaceUri() public méthode

Return the namespaceuri for the given prefixname.
public GetNamespaceUri ( string prefix ) : string
prefix string The prefixname.
Résultat string

GetObjectByName() public méthode

public GetObjectByName ( string ObjectName ) : EmbedObject
ObjectName string
Résultat AODL.Document.Content.EmbedObjects.EmbedObject

Load() public méthode

Load the given file.
public Load ( string file ) : void
file string
Résultat void

New() public méthode

Create a new blank spreadsheet document.
public New ( ) : void
Résultat void

SaveTo() public méthode

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!
Résultat void

SaveTo() public méthode

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
Résultat void

SpreadsheetDocument() public méthode

Initializes a new instance of the SpreadsheetDocument class.
public SpreadsheetDocument ( ) : System
Résultat System