ooo-build r12836 - trunk/doc



Author: noelpwer
Date: Sat Jun  7 16:37:32 2008
New Revision: 12836
URL: http://svn.gnome.org/viewvc/ooo-build?rev=12836&view=rev

Log:
some small additions


Modified:
   trunk/doc/BasicLibraryModuleNotes.txt

Modified: trunk/doc/BasicLibraryModuleNotes.txt
==============================================================================
--- trunk/doc/BasicLibraryModuleNotes.txt	(original)
+++ trunk/doc/BasicLibraryModuleNotes.txt	Sat Jun  7 16:37:32 2008
@@ -162,3 +162,57 @@
 
 [*] import of dialog is initialted from SvxImportMSVBasic::ImportForms_Impl
 
+
+
+crafting some new options in xml seems not to screw up basic e.g. a basic wide vba enable flag could be put here 
+
+Basic/script-lc.xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
+<library:libraries xmlns:library="http://openoffice.org/2000/library"; xmlns:xlink="http://www.w3.org/1999/xlink"; vbaenabled="true">
+ <library:library library:name="Standard" library:link="false"/>
+</library:libraries>
+
+The relation ship between the code name ( and libraries ) could be put here
+
+Basic/Standard/script-lb.xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
+<library:library xmlns:library="http://openoffice.org/2000/library"; library:name="Standard" library:readonly="false" library:passwordprotected="false">
+ <library:element library:name="Sheet1" objectname="SheetObject1"/>
+ <library:element library:name="Sheet2" objectname="SheetObject2"/>
+ <library:element library:name="Sheet3" objectname="SheetObject3"/>
+ <library:element library:name="ThisWorkbook" objectName="ThisWorkbook"/>
+ <library:element library:name="UserForm1"/>
+</library:library>
+
+
+
+Basic/script-lc.xml
+
+is read from basic/source/uno/namecont.cxx
+
+sal_Bool SfxLibraryContainer::init_Impl
+{
+   ...
+   Parser->setDocumentHandler( ::xmlscript::importLibraryContainer( pLibArray ) );
+   ...
+}
+
+
+Basic/Standard/script-lb.xml
+
+is read from
+
+SfxLibraryContainer::implLoadLibraryIndexFile(..)
+{
+   ...
+   xParser->setDocumentHandler( ::xmlscript::importLibrary( rLib ) );
+   ...
+}
+
+both the xmlscript routines are implemented in
+
+xmlscript/source/xmllib_imexp/xmllib_import.cxx



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]