oDoc := HXMLDoc():New()
oDoc:Add( HXMLNode():New( "manifest:manifest",,;
{ {"xmlns:manifest","urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type","application/vnd.oasis.opendocument.spreadsheet"},;
{"manifest:full-path","/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/statusbar/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/accelerator/current.xml"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/accelerator/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/floater/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/popupmenu/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/progressbar/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/menubar/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/toolbar/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/images/Bitmaps/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Configurations2/images/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type","application/vnd.sun.xml.ui.configuration"},;
{"manifest:full-path","Configurations2/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type","text/xml"},;
{"manifest:full-path","content.xml"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type","text/xml"},;
{"manifest:full-path","styles.xml"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type","text/xml"},;
{"manifest:full-path","meta.xml"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Thumbnails/thumbnail.png"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type",""},;
{"manifest:full-path","Thumbnails/"} } ) )
oDoc:aItems[1]:Add( HXMLNode():New( "manifest:file-entry", HBXML_TYPE_SINGLE, ;
{ {"manifest:media-type","text/xml"},;
{"manifest:full-path","settings.xml"} } ) )
FErase(cDir+cSep+"META-INF\manifest.xml")
oDoc:Save(cDir+cSep+"META-INF\manifest.xml" )
|