private void CreateDocumentForms(XmlNode node)
{
/// TODO: ADD IMPLEMENTATION!
try
{
XmlNode nodeOfficeForms;
nodeOfficeForms = node.SelectSingleNode("office:forms", _document.NamespaceManager);
if (nodeOfficeForms != null)
{
foreach(XmlNode nodeChild in nodeOfficeForms)
{
if (this._document is TextDocument)
{
ODFForm f = CreateForm(nodeChild);
(this._document as TextDocument).Forms.Add(f);
}
}
nodeOfficeForms.RemoveAll();
}
}
catch(Exception ex)
{
throw new AODLException("Exception while processing forms.", ex);
}
}