Difference between revisions of "User:Arielch/Internship/XML Reader and Writer"
From Apache OpenOffice Wiki
(→Tasks) |
|||
Line 6: | Line 6: | ||
* Test it? | * Test it? | ||
+ | |||
+ | = MenuBar Reader/Writer = | ||
+ | |||
+ | Because of similarities between a '''context menu''' and a '''menu bar''' (they both are implemented as VCL <tt>Menu</tt>s), the context menu reader/writer will be based on the menu bar reader/writer: | ||
+ | |||
+ | * [http://hg.services.openoffice.org/DEV300/file/DEV300_m86/framework/inc/xml/menuconfiguration.hxx framework/inc/xml/menuconfiguration.hxx] | ||
+ | * [http://hg.services.openoffice.org/DEV300/file/DEV300_m86/framework/source/xml/menuconfiguration.cxx framework/source/xml/menuconfiguration.cxx] | ||
+ | * [http://hg.services.openoffice.org/DEV300/file/DEV300_m86/framework/inc/xml/menudocumenthandler.hxx framework/inc/xml/menudocumenthandler.hxx] | ||
+ | * [http://hg.services.openoffice.org/DEV300/file/DEV300_m86/framework/source/xml/menudocumenthandler.cxx framework/source/xml/menudocumenthandler.cxx] | ||
+ | |||
+ | |||
+ | [[Image:MenuBarReader.png|none|thumb|800px|Menu bar reader classes and its recursive implmentation]] |
Revision as of 12:59, 17 August 2010
Tasks
- Study the other reader/writers in framework/inc/xml / framework/source/xml
- Write the code
- Test it?
MenuBar Reader/Writer
Because of similarities between a context menu and a menu bar (they both are implemented as VCL Menus), the context menu reader/writer will be based on the menu bar reader/writer:
- framework/inc/xml/menuconfiguration.hxx
- framework/source/xml/menuconfiguration.cxx
- framework/inc/xml/menudocumenthandler.hxx
- framework/source/xml/menudocumenthandler.cxx