private void WriteFileEntry(string objectName)
{
XmlNode manifest = ((SpreadsheetDocument)this._document).DocumentManifest .Manifest .SelectSingleNode ("manifest:manifest",this._document.NamespaceManager );
XmlNode node =((SpreadsheetDocument)this._document).CreateNode("file-entry","manifest");
XmlAttribute xa = this._document.CreateAttribute ("media-type","manifest");
xa.Value ="text/xml";
node.Attributes .Append (xa);
xa = this._document.CreateAttribute ("full-path","manifest");
xa.Value = Path.Combine (objectName, "content.xml");
node.Attributes .Append (xa);
node = ((SpreadsheetDocument)this._document).DocumentManifest .Manifest.ImportNode (node,true);
manifest.AppendChild (node);
node = this._document .CreateNode ("file-entry","manifest");
xa = this._document.CreateAttribute ("media-type","manifest");
xa.Value ="text/xml";
node.Attributes .Append (xa);
xa = this._document.CreateAttribute ("full-path","manifest");
xa.Value = Path.Combine (objectName, "styles.xml");
node.Attributes .Append (xa);
node = ((SpreadsheetDocument)this._document).DocumentManifest .Manifest.ImportNode (node,true);
manifest.AppendChild (node);
node = this._document .CreateNode ("file-entry","manifest");
xa = this._document.CreateAttribute ("media-type","manifest");
xa.Value ="application/vnd.oasis.opendocument.chart";
node.Attributes .Append (xa);
xa = this._document.CreateAttribute ("full-path","manifest");
xa.Value =objectName+@"/";
node.Attributes .Append (xa);
node = ((SpreadsheetDocument)this._document).DocumentManifest .Manifest.ImportNode (node,true);
manifest.AppendChild (node);
}
}