diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-06 10:36:54 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-06 10:36:54 +0000 |
commit | e364a8ee9a3589d192ba5adcdcd668a93cba545a (patch) | |
tree | 03a0481ee57bdfbdde1a98d66d0454ea89705d7d /toolkit/doc | |
parent | 83302b39a3167387c6cc762071df481d2a3ceae9 (diff) |
INTEGRATION: CWS layout_DEV300 (1.1.2); FILE ADDED
2008/02/13 08:56:21 jcn 1.1.2.1: Import src2xml and doc/layout from GIT.
Diffstat (limited to 'toolkit/doc')
-rw-r--r-- | toolkit/doc/layout/ChangeLog | 989 | ||||
-rw-r--r-- | toolkit/doc/layout/ChangeLog.0 | 546 | ||||
-rw-r--r-- | toolkit/doc/layout/apinotes.txt | 76 | ||||
-rw-r--r-- | toolkit/doc/layout/metricfield.txt | 57 | ||||
-rw-r--r-- | toolkit/doc/layout/notes.txt | 117 | ||||
-rw-r--r-- | toolkit/doc/layout/oldnotes.txt | 224 | ||||
-rw-r--r-- | toolkit/doc/layout/vcl.txt | 20 |
7 files changed, 2029 insertions, 0 deletions
diff --git a/toolkit/doc/layout/ChangeLog b/toolkit/doc/layout/ChangeLog new file mode 100644 index 000000000000..5e433ee71878 --- /dev/null +++ b/toolkit/doc/layout/ChangeLog @@ -0,0 +1,989 @@ +2008-02-11 Jan Nieuwenhuizen <janneke@gnu.org> + + * prj/build.lst: Have workspace depend on util, fixes parallel build + (thanks kendy, Fridrich). + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/ooo-patch: Update ooo-patch. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/ooo-patch: Add transex3 to ooo-patch. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/ooo-patch: Add transex3 to ooo-patch & update. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/ooo-patch: Add transex3 patch export. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/de/wordcount.xml, workben/de/zoom.xml, + workben/nl/wordcount.xml, workben/nl/zoom.xml: Remove + hand-translated xml files. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, source/core/proplist.cxx: Grok translatable attributes with + _ prefix. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add en-US,de,nl populated localize.sdf for zoom and wordcount. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk: Add compile time tralay translation rule. + +2008-02-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/de/wordcount.xml, workben/de/zoom.xml, + workben/nl/wordcount.xml, workben/nl/zoom.xml, + workben/wordcount.xml, workben/zoom.xml: Prefix translatable + attributes with _. + +2008-02-04 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, source/core/import.cxx, source/core/import.hxx, + source/core/proplist.cxx, source/core/proplist.hxx, + source/core/root.cxx, source/core/root.hxx, workben/zoom-1.xml, + workben/zoom-2.xml: Support Ivo Hinkelmann's move label/text/title + attribute to CONTENT transex3 hack. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/nl/zoom.xml, workben/zoom.xml: Remove unnecessary ~. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * prj/d.lst, workben/de/wordcount.xml, workben/de/zoom.xml, + workben/makefile.mk: Add manually translated de/zoom.xml and + de/wordcount.xml. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/ooo-patch: Update patch info. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/translate.cxx: Remove #if 0'ed fopen code in + fileExists. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx: Remove test code. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, prj/d.lst, workben/makefile.mk, workben/ooo-patch: Install + nl/*xml files. + +2008-01-10 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, source/core/makefile.mk, source/core/root.cxx, + source/core/translate.cxx, source/core/translate.hxx, + workben/nl/wordcount.xml, workben/nl/zoom.xml, workben/test.cxx: + Implement read-right translation, cheat nl translations for zoom and + wordcount. + +2008-01-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk: Check for ENABLE_LAYOUT == "TRUE" (was: != + ""). Disables harder, esp. on Sun. + +2008-01-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Add comment about Sun build problems. + +2008-01-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk: [!ENABLE_LAYOUT]: Do not compile anything in + workben. Also remove unnecessary not portable compiler flags. + +2008-01-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Put gcc flags inside GCC conditional. + +2008-01-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxbutton.cxx: Use plain sc_BUTTON.png names for + standard buttons. + +2008-01-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx: Remove zoom.src part from zoom-combobox patch. + +2008-01-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/ooo-patch: Update to m1. + +2008-01-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/ooo-patch: Update and add i18n TODO. + +2008-01-04 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, source/awt/vclxbutton.cxx: Fix l10n for default buttons. + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/ooo-patch: Update for ooo-build svn up. + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/dialogbuttonhbox.cxx, source/core/helper.cxx, + source/core/proplist.cxx, util/makefile.pmk, workben/makefile.mk: + TEST_LAYOUT cleanups and fixes. + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * : [!TEST_LAYOUT]: Read *.xml from BASE_INSTALLATION/share/layout + only. + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wrapper.cxx: Cleanups. + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.xml: Update zoom.xml: in m241 FieldTypes:FUNIT_CUSTOM + == 13 (was: 11). + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/dialogbuttons-ok.xml, workben/dialogbuttons-reset.xml, + workben/dialogbuttons-save.xml, workben/dialogbuttons-yes.xml: + Remove some cruft from xml. + +2007-12-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/box.cxx, source/core/box.hxx, + source/core/container.cxx, source/core/dialogbuttonhbox.cxx, + source/core/dialogbuttonhbox.hxx, workben/shutdown.xml: Allow other + pushbuttons in dialogbuttonhbox too, sort as Action type. + +2007-12-20 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/ooo-patch: Add ooo-patch: facilitate export to ooo-build. + +2007-12-20 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, source/core/box.cxx, source/core/container.cxx, + workben/adjust.xml, workben/align.xml, workben/wordcount-tight.xml, + workben/wordcount.xml, workben/zoom-indent.xml, workben/zoom.xml: + Default to border=0, padding=0. Clean xml files. + +2007-12-20 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, inc/layout/layout.hxx, source/awt/vclxbutton.cxx, + source/awt/vclxbutton.hxx, source/awt/vclxdialog.cxx, + source/core/dialogbuttonhbox.cxx, source/core/dialogbuttonhbox.hxx, + source/wrapper/wbutton.cxx, source/wrapper/wcontainer.cxx, + workben/dialogbuttons-ok.xml, workben/dialogbuttons-reset.xml, + workben/dialogbuttons-save.xml, workben/dialogbuttons-yes.xml, + workben/dialogbuttons.xml, workben/editor.cxx, workben/makefile.mk: + Implement more buttons: Yes, No, Retry, Ignore, Reset, Apply. + +2007-12-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-12-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/editor.cxx, workben/test.cxx: More whitespace nits. + +2007-12-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/box.hxx, source/core/dialogbuttonhbox.cxx, + source/core/dialogbuttonhbox.hxx: Refactor dialogbuttonhbox. + +2007-12-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * apinotes.txt, doc/apinotes.txt, doc/notes.txt, notes.txt: Move + documentation to doc/. + +2007-12-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/table.cxx, workben/editor.cxx, workben/test.cxx, + workben/uno.hxx: More whitespace fixes. + +2007-12-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/dialogbuttonhbox.cxx: Comments and whitespace fixes. + +2007-12-18 Jan Nieuwenhuizen <janneke@gnu.org> + + * README, TODO, source/awt/vclxbutton.hxx, source/core/box.hxx, + source/core/dialogbuttonhbox.cxx, source/core/dialogbuttonhbox.hxx, + source/core/helper.cxx, source/core/import.cxx, + source/core/makefile.mk, source/core/proplist.cxx, + workben/dialogbuttons.xml, workben/wordcount.xml, workben/zoom.xml: + Implement dialog button ordering. + +2007-12-18 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxbutton.hxx, source/core/box.hxx, + source/core/helper.cxx, source/core/makefile.mk, + source/wrapper/wrapper.hxx, workben/editor.cxx, workben/test.cxx, + workben/zoom.xml: First attempt at AlertHBox. + +2007-12-17 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-12-17 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Merge lilypond.org:vc/layout.git/ + +2007-12-17 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, source/wrapper/wrapper.cxx: Implement + Dialog::SetParent, add Dialog (::Window *) constructor. + +2007-12-17 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Merge lilypond.org:vc/layout.git/ + +2007-12-17 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Bugfix: update install inc/layout/*. + +2007-12-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Apply Michael's TODO patch. + +2007-12-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/helper.cxx, source/core/helper.hxx, + source/core/proplist.cxx, source/core/proplist.hxx: Move + OUSTRING_CSTR define and debugging compile fix & feature. + +2007-12-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/timer.cxx: Remove commented-out include. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/editor.cxx, workben/uno.hxx: Add includes for m9. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Major cleanup of includes and header namespace pollution. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, inc/layout/layout-post.hxx, inc/layout/layout.hxx, + source/api/com/sun/star/awt/MaxChildrenException.idl, + source/api/com/sun/star/awt/XDialog2.idl, + source/api/com/sun/star/awt/XLayoutFlow.idl, + source/api/com/sun/star/awt/XLayoutFlowContainer.idl, + source/api/com/sun/star/awt/XLayoutRoot.idl, + source/awt/vclxbutton.cxx, source/awt/vclxbutton.hxx, + source/awt/vclxdialog.cxx, source/awt/vclxdialog.hxx, + source/awt/vclxfixedline.cxx, source/awt/vclxfixedline.hxx, + source/awt/vclxproxy.cxx, source/awt/vclxproxy.hxx, + source/awt/vclxscroller.cxx, source/awt/vclxscroller.hxx, + source/awt/vclxsplitter.cxx, source/awt/vclxsplitter.hxx, + source/awt/vclxtabcontrol.cxx, source/awt/vclxtabcontrol.hxx, + source/core/bin.cxx, source/core/bin.hxx, source/core/box.cxx, + source/core/box.hxx, source/core/byteseq.cxx, + source/core/container.cxx, source/core/container.hxx, + source/core/factory.cxx, source/core/factory.hxx, + source/core/flow.cxx, source/core/flow.hxx, + source/core/globals.hxx, source/core/helper.cxx, + source/core/helper.hxx, source/core/import.cxx, + source/core/import.hxx, source/core/root.cxx, source/core/root.hxx, + source/core/table.cxx, source/core/table.hxx, + source/core/timeout.cxx, source/inc/layoutcore.hxx, + source/wrapper/wbutton.cxx, source/wrapper/wcontainer.cxx, + source/wrapper/wfield.cxx, source/wrapper/wimpl.hxx, + source/wrapper/wrapper.cxx: Whitespace and layout cleanups. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxdialog.hxx, source/core/byteseq.cxx, + source/core/import.hxx, source/core/root.cxx, + source/wrapper/wfield.cxx, source/wrapper/wimpl.hxx, + source/wrapper/wrapper.cxx: Cleanup: have braces on separate lines. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/uno.hxx, workben/uno.hxx: Move uno.hxx to workben, no + need to export it. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/uno.hxx, source/awt/vclxbutton.cxx, + source/awt/vclxdialog.cxx, source/awt/vclxfixedline.cxx, + source/awt/vclxproxy.cxx, source/awt/vclxscroller.cxx, + source/awt/vclxsplitter.cxx, source/awt/vclxtabcontrol.cxx, + source/core/bin.cxx, source/core/box.cxx, source/core/byteseq.cxx, + source/core/container.cxx, source/core/container.hxx, + source/core/flow.cxx, source/core/globals.hxx, + source/core/helper.cxx, source/core/import.cxx, + source/core/import.hxx, source/core/root.cxx, + source/core/table.cxx, source/core/timeout.cxx, + source/wrapper/wbutton.cxx, source/wrapper/wcontainer.cxx, + source/wrapper/wfield.cxx, source/wrapper/wimpl.hxx, + source/wrapper/wrapper.cxx: Use DBG_ERROR* instead of printing to + console. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/box.cxx, source/core/container.cxx, + source/core/container.hxx, source/core/helper.cxx, + source/core/import.cxx, source/core/table.cxx: Use DBG_ERROR instead + of printf for errors. + +2007-11-28 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, prj/build.lst: Fix dependency/concurrent make problem. + +2007-11-27 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.cxx: Update wordcountdialog.cxx from sw + tree. + +2007-11-27 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Move postprocessing to src2xml. + +2007-11-27 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Move src2xml postprocessing from run-s2x to src2xml.py. + +2007-11-27 Jan Nieuwenhuizen <janneke@gnu.org> + + * src2xml/source/globals.py: src2xml: write progress to stderr, + allows progress while using stdout output. + +2007-11-26 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-26 Jan Nieuwenhuizen <janneke@gnu.org> + + * prj/build.lst, prj/d.lst, workben/makefile.mk: Install xml files + too. Thanks Fridrich! + +2007-11-23 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-23 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Put Ok/Help buttons in homogenous hbox. + +2007-11-23 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add extra hbox/vbox pairs to reduce cnt:padding duplication. + +2007-11-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * : More layout-pre.hxx cpp hacks to make zoom and wordcount diffs + smaller. + +2007-11-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk, workben/un-test.sh: Add un-test.sh to remove + TEST_LAYOUT code and dist into OO.o. + +2007-11-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx: Remove misguided NON_LAYOUT_COMPILE_FIXES and + whitespace nits. + +2007-11-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk, workben/pytt, workben/run-s2x, + workben/un-test.sh, workben/zoom.cxx: Add un-test.sh script and dist + target to `distribute' dialog code to OO.o. + +2007-11-21 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, inc/layout/layout-post.hxx, inc/layout/layout-pre.hxx, + inc/layout/layout.hxx, source/awt/makefile.mk, + source/core/makefile.mk, source/wrapper/makefile.mk, + workben/makefile.mk, workben/wordcountdialog.cxx, + workben/wordcountdialog.hxx, workben/zoom.cxx, workben/zoom.hxx: + Rename USE_LAYOUT -> ENABLE_LAYOUT. Make zoom, wordcount diffs bits + smaller. + +2007-11-20 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add <layout/layout-pre.hxx> <layout/layout-post.hxx> cpp + hacking. + +2007-11-20 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/run-s2x: Remove all geometry attributes. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/helper.cxx: Disable "fixedinfo" workaround. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcount.xml: Remove misguided "fixedinfo" from + wordcount.xml. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * .gitignore: Ingore pyc files. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcount-plain.xml, workben/wordcount-tight.xml, + workben/zoom-plain.xml: Add plain postprocessed output from src2xml. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Comment-out #include statements from .src files. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx, workben/zoom.xml: Use stringize to make zoom.cxx + diff smaller. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcount.xml, workben/wordcountdialog.cxx: Use stringize + to make wordcount diff smaller. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx: Fix standalone .xml loading for test. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/run-s2x: Add run-s2x: make .xml from src2xml + compilable for zoom, wordcount. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, source/core/helper.cxx: Small fixedline doco fix. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcount.xml, workben/wordcountdialog.hxx: Use + "fixedinfo" rather than "fixedtext" in wordcountdialog. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Use "fixedtext" to when asked to create "fixedinfo". + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, source/wrapper/wrapper.cxx: Implement + FixedInfo. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * cenarios, source/awt/vclxdialog.cxx, source/core/root.cxx, + source/wrapper/wimpl.hxx, source/wrapper/wrapper.cxx: Cleanups. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/uno.hxx, source/core/factory.cxx, + source/core/makefile.mk, source/core/root.cxx, + source/core/root.hxx, source/wrapper/makefile.mk, + source/wrapper/wrapper.cxx, workben/makefile.mk: Remove + [!LAYOUT_FACTORY] branch. + +2007-11-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/Documento por Gravar 1: Remove Documento por Gravar 1. + +2007-11-16 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.xml: Tweak. + +2007-11-16 Jan Nieuwenhuizen <janneke@gnu.org> + + * : [LAYOUT_FACTORY]: Add LayoutFactory and register that for Layout + Serviceinfo instead of LayoutRoot. + +2007-11-16 Jan Nieuwenhuizen <janneke@gnu.org> + + * README: Update README. + +2007-11-16 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Also grok TypeClass_ENUM. Set unit=11 (custom) on zoom + metricfield. + +2007-11-16 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.cxx: Typo in workben/wordcountdialog. + Fixes Document word count display. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcount.xml, workben/wordcountdialog.cxx, + workben/wordcountdialog.xml: Rename wordcountdialog.xml to + wordcount.xml, compile fixes from sw/... + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/import.cxx, source/core/import.hxx: Indentation fixes. + Move ~ElementBase destructor to cxx file. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx: Bugfix for test default --test argument. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.xml: Wordcountdialog default text tweak. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/root.cxx, source/core/root.hxx, + source/wrapper/wrapper.cxx: Remove LAYOUT_WEAK and other hackerish + feeble attempts at second init bug. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * : More attempts at tackling second init bug. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Lost of handwaving to try to destroy LayoutRoot. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/import.hxx: Add destructor for WidgetElement. + +2007-11-15 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Fix indentation of import.cxx. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO, workben/zoom-margin.xml, workben/zoom.xml: Tweak zoom + dialog. Add zoom-margin.xml. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.xml: Tweak wordcountdialog till it looks + nice. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.cxx: Typo. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.xml: Import workben/wordcountdialog.xml + straight from src2xml. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * : src2xml/source/src2xml.py: also grok -I option, do not print + progress. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.xml: Use modaldialog for zoom.xml. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.xml, workben/zoom_def.hxx: Oops, add + zoom_def.hxx and wordcountdialog.xml. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx: Refactor test program, also run wordcountdialog. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx: Prune unused headers. + +2007-11-14 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx, workben/zoom.hxx: Make zoom diff even smaller, + import from svx. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk, workben/wordcountdialog.cxx, + workben/wordcountdialog.hxx: Make wordcountdialog compilable under + test and add to makefile. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/wordcountdialog.cxx, workben/wordcountdialog.hxx: Import + wordcountdialog.cxx, wordcountdialog.hxx. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, inc/layout/uno.hxx, + source/awt/globals.hxx, source/awt/vclxdialog.cxx, + source/awt/vclxdialog.hxx, source/awt/vclxfixedline.cxx, + source/awt/vclxfixedline.hxx, source/awt/vclxproxy.cxx, + source/awt/vclxscroller.cxx, source/awt/vclxscroller.hxx, + source/awt/vclxsplitter.cxx, source/awt/vclxsplitter.hxx, + source/awt/vclxtabcontrol.cxx, source/awt/vclxtabcontrol.hxx, + source/core/bin.cxx, source/core/bin.hxx, source/core/box.cxx, + source/core/box.hxx, source/core/byteseq.cxx, + source/core/container.cxx, source/core/container.hxx, + source/core/factory.cxx, source/core/flow.cxx, + source/core/flow.hxx, source/core/globals.hxx, + source/core/helper.cxx, source/core/helper.hxx, + source/core/import.cxx, source/core/import.hxx, + source/core/root.cxx, source/core/root.hxx, source/core/table.cxx, + source/core/table.hxx, source/core/timeout.cxx, + source/core/timeout.hxx, source/inc/layoutcore.hxx, + source/wrapper/wbutton.cxx, source/wrapper/wcontainer.cxx, + source/wrapper/wfield.cxx, source/wrapper/wrapper.cxx, + workben/editor.cxx, workben/editor.hxx, workben/paragraph.cxx, + workben/paragraph.hxx, workben/simple-paragraph.cxx, + workben/simple-paragraph.hxx, workben/test.cxx: Replace TAB -> 4 + spaces. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/helper.cxx, source/wrapper/wbutton.cxx, + source/wrapper/wimpl.hxx, source/wrapper/wrapper.cxx: Add debug + printing, ~ContextImpl. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.xml: Add space in custom-unit-text. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Remove core/dialog.hxx, core/dialog.cxx. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Make RadioButton hack more complete: + remove buttons from RadioButtonGroup too. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wimpl.hxx: Make WindowImpl hierarchy virtual from + top. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.xml: Add Id for FixedLine. Fixes warning. + +2007-11-13 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx: Fix comment. Import from svx. + +2007-11-12 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Replace XDialog2, VCXDialog, Dialog Cancel/Help/Ok by EndDialog + ( BUTTONID_* ) + +2007-11-12 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Actually return the result of a dialog. + +2007-11-12 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx, workben/zoom.hxx: Update zoom code from svx + module with TEST_LAYOUT switches. + +2007-11-12 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/makefile.mk: Also set -DTEST_LAYOUT in makefile. + +2007-11-12 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Workaround for radiobutton-unset + inside OOo. + +2007-11-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx: Add comment about using WeakImplHelper1 for + standalone run. + +2007-11-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/uno.hxx: Compile fix for using WeakImplHelper1 in + UnoBootstrapLayout. + +2007-11-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Rename UnoBootstrapSucks to UnoBootstrapLayout and move to + uno.hxx header. + +2007-11-09 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Rename #define LAYOUT to USE_LAYOUT. + +2007-11-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * : In-tree compile fixes for -DLAYOUT=1. + +2007-11-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.hxx: Make diff with svx/source/dialog/zoom.hxx + minimal. + +2007-11-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add FixedLine member to SvxZoomDialog. + +2007-11-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, workben/editor.cxx: Do not set namespace in + header. + +2007-11-08 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Make diff for zoom.cxx with svx/source/dialog/zoom.cxx minimal. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Use #if 0 rather than #if 1 and add + comment, easier to catch. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxdialog.cxx: Use BUTTONID_CANCEL, BUTTONID_OK from + msgbox.hxx rather than ERRCODE. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx: Remove debugging code. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, source/api/com/sun/star/awt/XDialog2.idl, + source/awt/vclxdialog.cxx, source/awt/vclxdialog.hxx, + source/wrapper/wbutton.cxx, source/wrapper/wrapper.cxx: Implement Ok + and Help alongside Cancel in XDialog2, VCLXDialog, OKButton. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add workben/paragraph.* + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Use 'has_border' instead of 'border' for awt attributes. Also + put back fullsize, optimumsize, show properties. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/core/box.cxx: Spacing nits. + +2007-11-07 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Add Ricardo's suggestion for actual dialog. + +2007-11-05 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Make Window (top of layout hierarchy) virtual. + +2007-11-05 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Tweaks to zoom dialog. + +2007-11-05 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Remove debugging code and add explicit + casts for mpWindow in callbacks. + +2007-10-31 Michael Meeks <michael@t60p.(none)> + + * source/wrapper/wbutton.cxx: raw mpWindow static casting fix + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add Kohei's converter under src2xml. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * .gitignore: Ignore more. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Only print debugging if pointers are + wrong. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/zoom.cxx: Debug print. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/api/makefile.mk, source/awt/makefile.mk, + source/core/makefile.mk, source/wrapper/makefile.mk, + util/makefile.mk, workben/makefile.mk: Unification of .mk files. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Add mpWindow != &OKbutton debug code and crude fix. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Revert introduction of XDialog2." + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/api/makefile.mk, source/awt/vclxdialog.hxx, + source/core/dialog.cxx, source/core/dialog.hxx, + source/core/globals.hxx, source/core/import.cxx, + source/core/import.hxx, source/core/makefile.mk, + source/wrapper/wrapper.cxx, workben/test.cxx: Revert introduction of + XDialog2. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Revert + 338f4229e321fa79ab3564504d1546e5010c0b0b. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/api/com/sun/star/awt/XDialog2.idl: Spacing nit. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Add GetImplementation to VCLXProxy." + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Add Click and LINK (Click) to IconButton." + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Update TODO. + +2007-10-30 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Implement non-dummy HelpButton. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Oops, add XDialog2 to archive. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Implement cancel in vclxdialog. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Implement default callback to ButtonImpl using XButton. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Set click handler in Button instead of ButtonImpl, add + debug printing." + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Attempt at using DialogImpl to hold button Click + handler." + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Pass a Button instead of ButtonImpl to default click + handler." + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Revert "Use Dialog as the Click link handler." + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, source/wrapper/wbutton.cxx: Use Dialog as + the Click link handler. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Pass a Button instead of ButtonImpl to default click handler. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Attempt at using DialogImpl to hold button Click handler. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Set click handler in Button instead of ButtonImpl, add debug + printing. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wbutton.cxx: Add non-dummy implementation of + CancelButtonImpl. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxdialog.cxx: Add comment about XDialog2::cancel's + pure virtualness. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/wrapper/wrapper.cxx: Add debug print to + layout::Dialog::Cancel. + +2007-10-29 Jan Nieuwenhuizen <janneke@gnu.org> + + * : if(0)'ed code that sets default handler for ButtonImpl. + +2007-10-26 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxbutton.cxx, source/awt/vclxbutton.hxx: Add Click + and LINK (Click) to IconButton. + +2007-10-26 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxproxy.cxx, source/awt/vclxproxy.hxx: Add + GetImplementation to VCLXProxy. + +2007-10-26 Jan Nieuwenhuizen <janneke@gnu.org> + + * inc/layout/layout.hxx, source/api/makefile.mk, + source/awt/vclxdialog.cxx, source/awt/vclxdialog.hxx, + source/core/dialog.cxx, source/core/dialog.hxx, + source/core/globals.hxx, source/core/import.cxx, + source/core/import.hxx, source/core/makefile.mk, + source/wrapper/wrapper.cxx, workben/test.cxx: Add XDialog2 with + dummy Cancel interface. Use it instead of XDialog. + +2007-10-26 Jan Nieuwenhuizen <janneke@gnu.org> + + * TODO: Add Michael's bug list, with progress. + +2007-10-25 Jan Nieuwenhuizen <janneke@gnu.org> + + * : Silence non-virtual-destructor warnings the proper way. + +2007-10-24 Jan Nieuwenhuizen <janneke@gnu.org> + + * ChangeLog: Put marker in ChangeLog to say it's discontinued. diff --git a/toolkit/doc/layout/ChangeLog.0 b/toolkit/doc/layout/ChangeLog.0 new file mode 100644 index 000000000000..326cbe218ec6 --- /dev/null +++ b/toolkit/doc/layout/ChangeLog.0 @@ -0,0 +1,546 @@ +2007-10-24 Jan Nieuwenhuizen <janneke@gnu.org> + + * Discontinued for now. Generate from git log. + +2007-10-22 Jan Nieuwenhuizen <janneke@gnu.org> + + * source/awt/vclxsplitter.hxx: + * source/awt/vclxtabcontrol.hxx: + * source/core/bin.cxx: + * source/core/bin.hxx: + * source/core/box.cxx: + * source/core/box.hxx: + * source/core/container.hxx: + * source/core/flow.cxx: + * source/core/flow.hxx: + * source/core/table.hxx (getHeightForWidth): Use sal_Int32 instead of + LONG. Fixes compile on x86_64. + + * source/awt/vclxsplitter.cxx: + * source/awt/vclxscroller.cxx: + * source/awt/vclxdialog.cxx: Use %d, as INT is used here, + not LONG. Fixes compile warnings on x86_64. + + * workben/refresh: FIXME: filter-out flood of + + class <> has virtual functions but non-virtual destructor + + for now, to make other messages visible. + + * Resolve conflicts. + +2007-10-19 Jan Nieuwenhuizen <janneke@gnu.org> + + * workben/test.cxx (MyApp::Main): Display usage () upon -h, --help. + + * workben/refresh: Append "$@" so that refresh --inst FOO works. + + * README: New file. + + * workben/refresh: Softcode outdir. Fixes running on x86_64. + + * workben/makefile.mk (APP1STDLIBS): Softcode layout library name. + Fixes linking on x86_64. + + * workben/zoom.cxx: Another <c..> include. Fixes compiling test + on x86_64. + +2007-10-18 Jan Nieuwenhuizen <janneke@gnu.org> + + * .gitignore: Ingore x86_64 output dir too. + + * source/wrapper/wimpl.hxx: + * source/core/timeout.cxx: + * source/core/deck.cxx: + * source/core/byteseq.cxx: + * source/core/bin.cxx: Add some <c..> includes. + +2007-10-22 Jan Nieuwenhuizen <janneke@gnu.org> + + * Remove two empty files. + + * Deleted workben/editor_pre + * Deleted workben/output + + * Incorporate http://www.alunos.dcc.fc.up.pt/~c0607045/trash/openoffice/layout.tgz + + * Modified source/core/box.cxx + * Modified source/core/table.cxx + * Modified source/wrapper/wcontainer.cxx + * Modified workben/editor.cxx + * Modified workben/flow.xml + * Added cenarios + * Added source/Documento por Gravar 1 + * Added source/api/com/sun/star/awt/XLayoutFlow.idl + * Added source/api/com/sun/star/awt/XLayoutFlowContainer.idl + * Added source/awt/non-interactable-containers.xml + * Added source/awt/vclxfactory.cxx + * Added source/awt/vclxfiledialog.cxx + * Added source/awt/vclxfiledialog.hxx + * Added source/awt/vclxline.cxx + * Added source/awt/vclxline.hxx + * Added source/awt/vclxpane.cxx + * Added source/awt/vclxpane.hxx + * Added source/awt/vclxradiobutton.cxx + * Added source/awt/vclxradiobutton.hxx + * Added source/gtk/vclxcommon.cxx + * Added source/gtk/vclxcommon.hxx + * Added source/gtk/vclxcontainer.cxx + * Added source/gtk/vclxcontainer.hxx + * Added source/gtk/vclxdialog.cxx + * Added source/gtk/vclxdialog.hxx + * Added source/gtk/vclxwidget.cxx + * Added source/gtk/vclxwidget.hxx + * Added workben/adjust.xml + * Added workben/editor-normal.xml + * Added workben/editor_pre + * Added workben/flow-container.xml + * Added workben/output + * Added workben/test.xml + +2007-08-20 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wimpl.hxx (wrapperGone): fix ordering + issue. + + * workben/editor.cxx (PropertiesList::destruct): bin, + use virtual destructors. + + * source/core/visualcnt.cxx: set only size, not + position too. + +2007-08-20 Michael Meeks <michael.meeks@novell.com> + + * merge Ricardo's nice work ... + +2007-08-20 Michael Meeks <michael.meeks@novell.com> + + * source/core/box.cxx (getMinimumSize): calculate size + correctly wrt. 2x padding. + +2007-08-17 Michael Meeks <michael.meeks@novell.com> + + * source/core/helper.cxx (findAndRemove): rename + border -> 'has_border' to not conflict with container / + widget prop of same name. + + * workben/*.xml: rename all border attributes. + + * source/core/box.hxx: bin bogus mnBorderWidth - use + the container instead. + + * source/core/helper.cxx: rename 'border' to + 'has_border' so container borders work. + (anyFromString): fix type of LONG, add unsigned types & + re-order into TypeClass.idl sequence. + + * source/awt/vclxbutton.cxx (IconButton): center + labels, somehow setting a graphic changes the behavior + of widgets with no align set. + +2007-08-16 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wcontainer.cxx (Clear): get condition + right. + + * source/core/container.cxx (setParent): cope with null + parents by not throwing. + + * workben/editor.cxx: add Alignment ... and adapt to new + property code - so we get container properties. + + * source/core/helper.cxx (setProperties): adapt to new + layoutimpl::prophlp helpers. + (canHandleProps, queryPropertyInfo, setProperty, getProperty): + impl. + +2007-08-16 Michael Meeks <michael.meeks@novell.com> + + * source/core/*.cxx: calm down debug. + + * source/core/align.cxx, box.cxx: add PROPHELPER_SET_INFO + to the child props too ... (doh). + + * source/core/helper.hxx (PROPHELPER_SET_INFO): impl. this + as a macro, comment it heavily. + * source/core/container.hxx, box.hxx, align.hxx, bin.hxx: add + the macro back cf. 2007-06-07 ... + + * source/core/import.cxx, source/wrapper/wimpl.hxx: calm the + churning debug problem down: finally can see the important + messages. + + * workben/editor.cxx (EditorDialog): add 'maDelete' member & + rename 'engine->mpEngine' + + * source/awt/vclxbutton.cxx (IconButton, VCLXCancelButton), + (VCLXHelpButton): impl. + + * source/core/import.cxx (handleCornerCases): bin. + +2007-08-16 Michael Meeks <michael.meeks@novell.com> + + * source/awt/vclxproxy.cxx (queryInterface): fixup. + + * source/awt/vclxbutton.cxx: impl OKButton stub. + + * source/awt/vclxproxy.cxx: gut-wrenching manual cut/paste + proxy creation: urgh. + + * source/core/import.cxx (handleCornerCases): bin okbutton + corner case. + +2007-08-15 Michael Meeks <michael.meeks@novell.com> + + * source/core/helper.cxx (setProperties): add debug for + dropped properties. + + * source/core/container.cxx (queryInterface, acquire, + release): unwind nightmarish UNO lifecycle evil: not + implementing acquire/release is a spectacularly bad + idea: trashed memory gets accessed by the next queryinterface. + +2007-08-15 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wrapper.cxx (GetPeer): bin debug. + (Clear): impl. for Ricardo. + + * workben/editor.cxx (naturalSize): impl. and call post + construction, so we size to the total size with the added + widgets. + + * source/core/root.hxx: remember to declare we impl. + XLayoutConstrains. + + * workben/editor.cxx (getDepth, makeListEntryName): impl. + & cleanup code. + + * workben/editor.hxx (class EditorEngine): bin maIdentList. + +2007-08-15 Michael Meeks <michael.meeks@novell.com> + + * workben/editor.cxx (PropertyEntry): show the + widgets post construction: now appears to work + as nicely, if not better than before. + + * source/wrapper/wcontainer.cxx (Container): add + warning if no peer to associate with is found. + (Container): actually assign mxContainer. + + * source/wrapper/wbutton.cxx (SetImageAlign): impl. + SetImageAlign, and use it to align-left the images. + + * workben/test.cxx (InitUCB): enable this. + (Main): set more magic environment variables: 'magic'! + +2007-08-14 Michael Meeks <michael.meeks@novell.com> + + * workben/test.cxx: attempt to defeat stupid configmgr + bootstrapping evilness. + + * workben/test.cxx (UnoBootstrapSucks): log component + instantiations, and exception text - caught config mgr. + not being happy. + + * source/inc/layoutcore.hxx: impl. - a header for + sharing code from core -> wrapper. + + * source/wrapper/wbutton.cxx (ImageImpl): impl. + and add SetImageMode method. + + * source/core/helper.cxx (loadGraphic): impl. + + * inc/layout/layout.hxx: add lstbox.h for + LISTBOX_ENTRY_NOT_FOUND & fix editor with this. + + * source/core/helper.cxx (createWidget): merge + conflicts. + +2007-08-09 Michael Meeks <michael.meeks@novell.com> + + * source/awt/vclxtabcontrol.?xx, source/awt/makefile.mk, + * utils/makefile.mk: import TabControl. + + * source/core/*.cxx: put in 'layoutimpl' namespace. + + * source/core/import.cxx (WidgetElement): handle + corner cases again. + +2007-08-09 Michael Meeks <michael.meeks@novell.com> + + * doc/stats.ods: statistics on widget impl. & attribute + priorities. + + * source/core/helper.cxx (createWidget): re-enable + handleCornerCases. + + * source/core/import.cxx (handleCornerCases): + un-comment handle-corner-cases. + +2007-08-09 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> + + * latest work. + +2007-07-30 Michael Meeks <michael.meeks@novell.com> + + * doc/vcl.txt: add notes on how fallback awt peer + creation happens. + + * doc/awt-props.ods: try to bring some sanity to the + cut/paste frenzy in the awt properties. + + * source/core/import.cxx (ToplevelElement): switch back + to the new pseudo-'root' 'XLayoutContainer' approach that + is cleaner & simpler. + +2007-07-30 Michael Meeks <michael.meeks@novell.com> + + * workben/editor.cxx (createWidget): fix variable naming + _name -> pName; fix createContainer call signature. + + * source/core/deck.cxx (setVisible): switch to queueRecalc. + + * source/core/root.cxx (getChildren, removeChild): impl. + + * source/core/container.cxx (getSingleChild): impl. + helper & upd. callers. + + * Resolve conflicts with Ricardo. + +2007-07-26 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> + + * Added SVLXTabControl that offers XWindow and XLayoutContainer + interfaces for the VCL TabControl. + But its allocateSize() isn't being called (though sometimes it + is), so multi tabs are broken. + + * Touched a bit XLayoutContainer interface: added getChildren() + and removeChildren(). And got rid of clearChildren(). + SPECIFICATION: setParent() must be called on child when added + or removed to a container -- in case child implements XChild + -- pass null to remove. + +2007-07-25 Michael Meeks <michael.meeks@novell.com> + + * notes.txt, doc/metricfield.txt, doc/oldnotes.txt: + move some of my cruft out of notes.txt + + * source/core/root.cxx: made LayoutRoot implement + XLayoutConstrains and XLayoutContainer (a simple bin). + + * source/core/timeout.cxx: do idle sizing via the + toplevel. + + * source/core/import.cxx (~ToplevelElement): simplify + toplevel sizing. Tie LayoutRoot to the toplevel window: + ok for now. + +2007-07-25 Michael Meeks <michael.meeks@novell.com> + + * workben/zoom.xml: update variously. + + * source/core/timeout.cxx: add evil hack using VCL + idle handler to layout idly (not that we do re-layout + yet). + + * source/core/container.cxx (allocateChildAt): calm + down debug spew. + + * source/wrapper: move fields pieces from wrapper.cxx + to 'wfields.cxx'. + + * NB. The code now depends on recent toolkit/ changes in + HEAD ooo-build. + +2007-07-13 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/*.cxx: propagate a Context* pointer + through to all wrapper instances; ready to implement + OKButton / CancelButton etc. + + * source/wrapper/wbutton.cxx: split from + * source/wrapper/wrapper.cxx: here. + + * source/core/import.cxx (handleCornerCases): impl. + and call - the ok/help/cancel buttons are -so- lame in + awt, we need to emulate them in the wrapper. + +2007-07-12 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wrapper.cxx (GetPeerHandle): switch + to just 1 impl, with an optional nId argument too, + in case we need it. + + * inc/layout/layout.hxx, source/wrapper/impl.hxx, + * source/wrapper/wrap_container.cxx, + * source/wrapper/wrapper.cxx: impl. new 'Box' + container type, also allow explicit widget + instantiation. + + * workben/editor.cxx: re-work to use a sequence of + PushButtons instead of create<N> thing. + +2007-07-06 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> + + * a bunch of stuff touched (in special workben/editor.hxx and cxx): + Sorry, will try to take better care of the ChangeLog in + the future... + + Made a first layout editor. Added temporary calls recalc() + and clearChildren() to the XLayoutContainer interface. :P + Quite hacky overall; but its already more functional than + was targetting for the milestone, and will be cleaning it up... + + Committed part of koehin's patch: the ListBox wrapper. + +2007-06-22 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wrapper.cxx: impl. NumericFormatter - + we still need MetricField to implement a (mis-named) + XCurrencyField interface though ... + +2007-06-22 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wrapper.cxx (WindowImpl): add + get/setProperty helpers. + (PushButton::[Is]Check[ed]): impl. + + * source/core/*: some debug calming action. + + * source/wrapper/wrapper.cxx (::Dialog): get toplevel + widget correctly. + (GetPeerHandle): calm debug. + +2007-06-21 Michael Meeks <michael.meeks@novell.com> + + * source/wrapper/wrapper.cxx (Dialog::SetText), + + * source/core/import.cxx (startRootElement): check + the namespace & allow non-framewindow toplevels. + (WidgetElement): !pParent -> WindowClass_TOP. + + * workben/zoom.xml: add 'group' attributes, hmm. Not + working that well for some reaosn. + + * source/wrapper/wrapper.cxx (ButtonImpl::SetClickHdl) + don't add the action listener until we need to to preserve + VCL's semantics. + +2007-06-20 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> + + * source/core/import.h/cxx: added support for radio groups. + As agreed, a group is specified by an id. So, the xml + would be: <radio group="pizza" value="margarita" /> ... + +2007-06-20 Michael Meeks <michael.meeks@novell.com> + + * source/core/import.cxx (WidgetElement): filter out 'id' + property and add into mrRoot. + + * source/core/helper.cxx (setProperties): remove 'id' bits. + +2007-06-20 Michael Meeks <michael.meeks@novell.com> + + * source/core/byteseq.cxx: add - gross hack, to go later. + * source/core/root.cxx: upd. to use it. + + * workben/test.cxx: move much of the file reading / + stream handling evil into the core & initialize via UNO. + + * workben/*: remove LAYOUT_API_TEST conditionals ... + +2007-06-20 Michael Meeks <michael.meeks@novell.com> + + * source/core/root.[ch]xx: start of XLayoutRoot impl. + + * source/core/factory.cxx: UNO component registration fun. + + * workben/test.cxx: turn off zoomy bits if + LAYOUT_API_TEST is not set. + + * source/wrapper/wrapper.cxx: impl. first cut at + wrapping logic; get a few things in order. + +2007-06-19 Michael Meeks <michael.meeks@novell.com> + + * source/*: move to source/core/* + + * source/wrapper: add. + + * prj/build.lst: upd. + +2007-06-19 Michael Meeks <michael.meeks@novell.com> + + * workben/zoom.[ch]xx: import cut/paste of + svx/source/dialog/zoom.[ch]xx - hack out svx dependencies + and port to: + + * inc/layout/layout.hxx: new 'layout' wrapper API + +2007-06-08 Michael Meeks <michael.meeks@novell.com> + + * source/helper.hxx: move ChildProps + * source/helper.hxx: to here, rename to PropHelper, + add include guards etc. + + * source/import.?xx: substantial clean up. + + * workben/*.xml: switch namespace + +2007-06-07 Michael Meeks <michael.meeks@novell.com> + + * source/container.cxx: remove static singleton setting + 'getPropertSetInfo' method, and make it abstract. + * source/bin.cxx, source/box.cxx: implement here, so we + get different SetInfo for each. + + * source/vbox.cxx (convertFastPropertyValue): impl. properly. + + * source/import.cxx (ChildElement::startChildElement): pass + the right child attributes. + (addChildWidget): actually set properties on the container's + child not the widget itself. + +2007-06-06 Michael Meeks <michael.meeks@novell.com> + + * source/makefile.mk, + * source/import.cxx: rename from newimport.cxx + + * source/newimport.cxx (getPropAsInt): bin, obsolete. + (addChildWidget): add setProperties call for child props. + (windowResized): do size request before allocate. + +2007-06-06 Michael Meeks <michael.meeks@novell.com> + + * source/newimport.cxx (getAttributeProps): re-factor & split. + (findAndRemove): this. + + * source/helper.cxx (setProperties, toUnoNaming, anyFromString): + split from newimport.cxx. + + * source/newimport.cxx (~ToplevelElement): add, so we + show the dialog post sizing. + + * workben/*.xml: remove 'show' attribute on toplevels. + +2007-06-06 Michael Meeks <michael.meeks@novell.com> + + * source/newimport.cxx: add hacks (missing Ricardo's + hierarchy parsing), to whack all children in 1 hbox. + We have layout at last. + + * source/vbox.cxx (allocateChildAt): get PosSize flags right. + + * source/newimport.cxx (startRootElement): upd. + (ResizeListener): impl. + + * source/newimport.hxx (class ToplevelElement): add. + +2007-06-05 Michael Meeks <michael.meeks@novell.com> + + * workben/layout.xml: add nested vbox. + + * workben/layout-flat.xml: flat xml + + * start a ChangeLog + diff --git a/toolkit/doc/layout/apinotes.txt b/toolkit/doc/layout/apinotes.txt new file mode 100644 index 000000000000..dc5a8cfcd6d1 --- /dev/null +++ b/toolkit/doc/layout/apinotes.txt @@ -0,0 +1,76 @@ +Notes on API wrapper pieces ... + +SvxZoomDialog::SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet ) : + Dialog( pParent, SVX_RES( RID_SVXDLG_ZOOM ) ), + +What do we do ? + + lots of potential VCL/Svx/Sfx etc. top-levels ... + + + Create the window & the 1st member: 'FooHandle' ? + + Multiply inherited ? + + object from where ? + + + Default: + + a pseudo-Dialog / wrapper ... + + load using layout (etc.) + + register an SID table ? + + necessary ? + + SIDs ? - post it ... + + + + [ Otherwise ... hook up via a helper / + constructor member ... ] + +* Fixed: + + OKButton / CancelButton + + don't chain to PushButton::Click + + if there is no ClickHdl set ... [ !urgh! ...] + + * FIXME: + other widgets ... + * How do we cope ? * + .... + + priorities ? Layout ? + + de-coupling ? + + native widgets ? + + hmm... + + custom widgets ? + + 'OKButton' ... (?) :-) + + 'CancelButton' + + 'HelpButton' ... + + a VCL hack ... + + create an 'addLayout()' method ? + + [ like cl's ? ] + + implement this ... + +** Lifecycle ? + + how do we track the 'Impl' + vs. the pImpl vs. (etc.) + + held by mutual references ? + + + pointer to the widget itself passed in ? + + MI ? + + when the widget dies - just NULL the + listener's back-ptr ? + + + Locking [!?] - how / why / what / who ? + + urgh ... + + threading bits ... + + + SID table (?) ... + + [ necessary ? - just use the SID name as the XML attr ? ] + + LAYOUT_ID(a) -> "#a" - stringified ... + +** FIXME: + + we need a decent MetricField implementation + + it is more than a SpinField + + need to move the 'Border' property down (etc.) + + re-arrange the properties to be next to the impls. + in awt ... + + + fix the + +XCurrencyField (huh) + needs implementing for VCLXMetricField (non-existent) ... + copy the code from XCurrencyField ? make a sub-class there ? + diff --git a/toolkit/doc/layout/metricfield.txt b/toolkit/doc/layout/metricfield.txt new file mode 100644 index 000000000000..21ebe4b50459 --- /dev/null +++ b/toolkit/doc/layout/metricfield.txt @@ -0,0 +1,57 @@ +** MetricField: + + in vcl: +class VCL_DLLPUBLIC CurrencyField : public SpinField, public CurrencyFormatter +class VCL_DLLPUBLIC CurrencyFormatter : public NumericFormatter +class VCL_DLLPUBLIC MetricFormatter : public NumericFormatter +class VCL_DLLPUBLIC NumericFormatter : public FormatterBase + +MetricFormatter - very simple sal_Int64 wrapping ... + + no doubles ... + + *Could* replicate this with the same interface: + + prolly easier / better to add an XMetricField interface. + +vcl's MetricField - itself does a load of (double) casting ... + + to get the value it wants :-) + + Urgh ! ... + +** Can we just twist VCLXCurrencyField to this purpose ? + + what differences would we want ? + + LongCurrencyFormatter -> 'MetricFormatter' ... + +** Interesting ! + + VCLXCurrencyField is based on 'LongCurrencyField' not CurrencyField ... + + this is really based on 'BigInt' [ curious ] - so even more precision loss. + + + So ... cut/paste VCLXCurencyField -> VCLXMetricField + + + Look at 'VCLXNumericField' interface ... + + Use 'XNumericField' instead (?) + + why does this just not "just work" ? + + + The 'MetricField' (is also a MetricFormatter) + + MetricFormatter [ unusually ] has 'Unit' support + + API grep shows: + + a) requires 'fieldunit' + + b) has "UserValue" + + c) => new IDL interface required ... + + sub-set / expand NumericField ? + + + add 'CustomConvert' ? + + add '[SG]etFirst'/Last + + Properties: + + 'Unit' + + 'CustomUnitText' + + 'spin-size' -> 'value-step' + + 'BaseValue' ... + + sal_Int64 ... [!?] ... + + CorrectedValue + + Want properties for the UI designer (?) + + move that stuff out into there ? + + FIXME: + + rationalise the 'Modify' event crud ... + + share the code in a base-class ... + + + Wrapper: + + need to have static methods 'ConvertDoubleValue' etc. + + also 'ConvertValue' etc. + + GetCorrectedValue - never used ... diff --git a/toolkit/doc/layout/notes.txt b/toolkit/doc/layout/notes.txt new file mode 100644 index 000000000000..63bb16487a31 --- /dev/null +++ b/toolkit/doc/layout/notes.txt @@ -0,0 +1,117 @@ +--- How layout / hierarchy should work --- + +On-screen: + ++-------------------+ +| Label: [Entry] | +| - - - - - - - - - | | +| [ Ok ]| ++-------------------+ + +AWT Window hierarcy: + Window + + Label + + Entry + + Ok + + ie. unchanged, and backwards compatible - a flat +representation. + +Toolkit Hierachy + + WindowContainer [Bin?] + + Vbox + + HBox + + Label + + Entry + + Alignment + + Ok + + the layout process would happen inside the toolkit code +(perhaps eventually genericisd itself), and the result from the +(re-)layout process would be a set of SetPosition/SetSize calls made +to VCL. + +--- code pointers --- + +** AWT interfaces: + + offapi/com/sun/star/awt/* - eg. XButton.idl + + 'XLayoutConstrains.idl' [ published & mis-named ! ] + + + We can build 'Layout' into the AWT at the toolkit level + + this should be fairly easy, and wouldn't touch VCL much. + +** Toolkit (awt) implementation: + + toolkit/source/awt/vclxwindows.cxx: + + much of the implementation lurks in here ... + + The size information is in 'vclxwindows.cxx' ... + + + toolkit/source/helper/unowrapper.cxx + + factories / code to associate UNO peers with VCL windows + + pWindow-> + +--- Tests --- + +Integration tests: + cf. http://www.openoffice.org/issues/show_bug.cgi?id=78747 + + +--- more thoughts --- + +** Extra Design constraints: [!?] + + accessibility + + QA test-tool-age ... - tests ~will need re-write (unfortunately) + +* New functionality we would like: + + ShowAll (vs. Show/Hide) && HideAll ... + +Necessary to re- build && deliver svtools/ having delivered toolkit ... + rm unxlngi6.pro/slo/textwindowaccessibility.* # first ... + +** Layout containers: + + XIndexAccess ? - sorted container (?) + +* Consider 'XLayoutRoot' top-level ... + + inherit from XNameContainer - widgets by name / id ... + + hack a VCL dialog ? + + we need a handle we can pass back of some form: + + XWindowPeer getPeer() ... [ can use that I guess ? ] + + also need a service interface ? + + or parameters passed as Anys ? [ugh] + +* Decided + + use 'layout' by itself & small patches + to toolkit/ in ooo-build. + +* TODO: + + need a 'queueResize' method ... + + trigger on show/hide ... + + allocateSize should take an awt::Rectangle ... + + impl. XLayoutRoot + + special cases: + + radio-button-group + + notebook + +* svx/source/dialog/zoom* + +Michael's Todo: + + handle MetricField: 'unit' enum etc. - introspection ? or ... + + make OK/Cancel buttons function as they should ... + + merge layout-svtools.diff into CWS as last step before inclusion ... + + FixedLine: + + get sizing right ... + + hook up new virtual methods into toolkit/ (m225) - i#80754 + + copy the crud from toolkit's custom vclxwindows.cxx + "calcMinimumSize" logic ... + + get ok/help/cancel buttons working ... + + + fix / rationalise property adding in toolkit ... + + simplify it with the new VCLWindow base :-) + + simplify it ... + + spreadsheet ... + + VCLXImageConsumer - can't be instantiated itself + anyway ! -> bin the 'true' & just add all these + props unconditionally ... + + + switch construction attributes into their own xmlns to + avoid treading on other properties ... diff --git a/toolkit/doc/layout/oldnotes.txt b/toolkit/doc/layout/oldnotes.txt new file mode 100644 index 000000000000..a5cb94963da0 --- /dev/null +++ b/toolkit/doc/layout/oldnotes.txt @@ -0,0 +1,224 @@ +* Obsolete notes ... + +** Form XML format: + + + from the basic editor: + +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd"> +<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Dialog1" dlg:left="204" dlg:top="148" dlg:width="136" dlg:height="115" dlg:closeable="true" dlg:moveable="true"> + <dlg:bulletinboard> + <dlg:button dlg:id="OkButtonName" dlg:tab-index="0" dlg:left="86" dlg:top="92" dlg:width="44" dlg:height="19" dlg:value="OkButtonLabel"/> + <dlg:titledbox dlg:id="FrameControl1" dlg:tab-index="1" dlg:left="4" dlg:top="7" dlg:width="68" dlg:height="41"> + <dlg:title dlg:value="FrameControl1"/> + </dlg:titledbox> + <dlg:scrollbar dlg:id="ScrollBar1" dlg:tab-index="2" dlg:left="82" dlg:top="10" dlg:width="45" dlg:height="24"/> + <dlg:scrollbar dlg:id="ScrollBar2" dlg:tab-index="3" dlg:left="107" dlg:top="43" dlg:width="21" dlg:height="37" dlg:align="vertical"/> + <dlg:timefield dlg:id="TimeField1" dlg:tab-index="4" dlg:left="4" dlg:top="92" dlg:width="28" dlg:height="19"/> + <dlg:text dlg:id="Label1" dlg:tab-index="5" dlg:left="22" dlg:top="61" dlg:width="44" dlg:height="15" dlg:value="Label1"/> + </dlg:bulletinboard> +</dlg:window> + + + code to read this & generate UIs is in: + + DTD: xmlscript/dtd/dialog.dtd + + xmlscript/source/xmldlg_imexp/imp_share.hxx, line 674 + + xmlscript/source/misc/unoservices.cxx + xmlscript/source/xmlflat_imexp/xmlbas_import.cxx (?) + "com.sun.star.comp.xmlscript.XMLBasicImporter" + + the dialog piece seems separate ? + "importDialogModel" ... + + cf. the interesting test code ... + + cd xmlscript/test + dmake + ../unxlngi6.pro/bin/imexp /opt/OOInstall ./test.xml + + generates & renders a dialog ... + + + This code has ~all we need to get a simple impl. + + compatibility wrappers [!] + + // first create model: + Reference< container::XNameContainer > xModel( xContext->getServiceManager()->createInstanceWithContext( + OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ), xContext ), UNO_QUERY ); + // NB. xmldlg_addfunc.cxx not xmldlg_import.cxx [!?] ;-) + ::xmlscript::importDialogModel( ::xmlscript::createInputStream( bytes ), + xModel, xContext ); + + // second create view of model: + Reference< awt::XControl > xDlg( xMSF->createInstance( + OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialog" ) ) ), UNO_QUERY ); + xDlg->setModel( Reference< awt::XControlModel >::query( xModel ) ); + + // third - associate toolkit / peer ... + Reference< awt::XToolkit> xToolkit( xMSF->createInstance( + OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.ExtToolkit" ) ) ), UNO_QUERY ); + xDlg->createPeer( xToolkit, 0 ); + + // fourth - execute [ nasty ... ] + Reference< awt::XDialog > xD( xDlg, UNO_QUERY ); + xD->execute(); + + +** Basic dialog editor: + + + basctl/source/dlged/dlged.cxx + + dialog editor (?) + + basctl/source/basicide/basobj3.cxx + + basctl/source/basicide/basides3.cxx + + BasicIDEShell:CreateDlgWin ... + + +** FIXME: + + createPeer - when called is always passed + the toplevel [ it seems ... ] + + we need to pass a container instead ... + + or have some separate hint / method ? + + or call the 'setChild' inside the model + construction bits ? [!?] + +UnoControlContainer::addingControl: + + only caller to 'setContext' + + sets the 'Parent' for peers ... + +Dialog is an UnoControlContainer ... + + hmm ... + + 'XControlContainer' + + perhaps just what we need ... [!] + + our VBox should be one ... + + + Other things: tab widgets are 'UnoControlContainers' ... + + finally remembered: xml foo ... + + + + + + FIXME: it -seems- that we don't store + much hierarchy in the model [ any ? ] + + UnoControlModel -> ? + + + UnoControlDialogModel - has an XNameContainer ... + + but ... only the UnoControl-Dialog-Model has this ... + + + + Wow - even the percieved hierarchy: + + 'exportDialogModel' + + achieved by 'getElementNames' + -> flat set of names ... [urgh] + + + So - we need to add more structure: + + XNameContainers ... + + that we insert into [!?] + + we also need to retain order for packing. + + + need a list of sillies to reverse / revert (?) ... + + + back-compat: + + kill bogus nesting eg. radiogroup ... + [ have a group/tag instead - or hierarchical names ? ] + + ditto for 'titledbox' ... + + menulists - seem rather unrelated / bogus anyway. + + Add into toplevel & child ... + + + copy Dialog bits into unocontrolcontainer.cxx ... + + re-using unocontrolcontainer ... + + +** FIXME: + + we need property introspection on the awt widgets: + + but they have no property interfaces [!] - + interestingly the UnoControl's don't either + only the UnoControlModel foo ... + + unocontrols.cxx: + Uno + + source/helper/property.cxx + + has all the type information ... + + but no information on what properties are + valid for a type ... - implicit in the UnoControlModel's + code ... + + ImplGetPropertyInfos ... + + + add to vclxwindow.cxx: + + inc/toolkit/helper/property.hxx + + 'getProperties' static ... + +** It seems that things like UnoControlComboBoxModel are missing + some derived properties: EchoChar (etc.) + UnoControlDateFieldModel - missing ... EchoChar too (?) - deliberate ? + + query these ... [!?] + +layout container - start child 'combobox' + missing property 46 (EchoChar) + missing property 48 (HardLineBreaks) + missing property 12 (HScroll) + missing property 104 (LineEndFormat) + missing property 10 (MultiLine) + missing property 13 (VScroll) + + + add regression test: + + count number of properties ... + + +TODO: + add 'XPropertySetInfo' to VCLXWindow: + + trivial to implement :-) + + hook it to Ricardo's parser ... [!] :-) + +* xmlscript + + xmldlg_import.cxx - + + xml_helper/xml_impctx.cxx - foo ... + + +* plan: + + hard-code container hooks into the xmlscript/ parser ... + + create a layout object in toolkit/ + + populate it with good things ... + + + coupling to toolkit - widget instantiation: how ... + + ComponentInfos + + vclxtoolkit.cxx: + + has a 'hook function' for 'fnSvtCreateWindow' + for SVT widgets :-) [ grotesque ;-] + + [ wow - fetched by dlopen! ;-] + + + A little app - a-la solver: using awt (?) + + XMessageBoxFactory ... + + XToolkit: + + CreateWindow ... + + ** how does the xml code generate these guys ? ** + + + what APIs does the xmlimporter use ? not 'createWindow' seemingly. + ++ existing xml import uses: property bag a -lot-: + Reference< beans::XPropertySet > xProps( + _pImport->_xDialogModel, UNO_QUERY_THROW ); + * we do _xDialogModel->insertByName (new any<XControlModel>()) + + to build hierarchy ( cf. ~ControlImportContext ) + + DialogImport: + css::uno::Reference< css::container::XNameContainer > _xDialogModel; + + Reference< container::XNameContainer > xModel( xContext->getServiceManager()->createInstanceWithContext( + OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ), xContext ), UNO_QUERY ); + + toolkit/source/controls/dialogcontrol.cxx + + UnoControlButtonModel (eg.) + + service 'UnoControlModel' ... + + + poke at 'titledbox' or 'radiogroup' to see how containment works there ... + + how will child widget properties work ? + + bug with a 'vbox' inside a 'titledbox' ... + + titledbox - acts as a container (interesting) + - offsetting child positions + + how will pseudo-containers eg. "radiogroup" cope ? + + + propose new syntax: [ with child properties a-la glade ]: + + <hbox id="baa" flange="true"> + <child padding="0" expand="false" fill="false"> + <radio id="foo" value="..."/> + </child> + <radio id="foo" value="..."/> + </hbox> + + + if 'child' element omitted - default properties used ... + + if multiple elements in same 'child' set: all have the same props. + + diff --git a/toolkit/doc/layout/vcl.txt b/toolkit/doc/layout/vcl.txt new file mode 100644 index 000000000000..dbafbc5b148d --- /dev/null +++ b/toolkit/doc/layout/vcl.txt @@ -0,0 +1,20 @@ +* How do very basic vcl widgets get peers: + + + toolkit/awt/ VCLXToolkit::ImplCreateWindow + + calls GetComponentInterface (sal_True) - if no comp. iface. + + + vcl's Window: + virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > GetComponentInterface( BOOL bCreate = TRUE ); + + + vcl/inc/vcl/unowrap.hxx: + // Window + virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer> GetWindowInterface( Window* pWindow, sal_Bool bCreate ) = 0; + virtual void SetWindowInterface( Window* pWindow, ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xIFace ) = 0; + + + from svapp.cxx Application::SetUnoWrapper + -> toolkit/awt 'ToolkitWorkerFunction' ( extern C / dlopen linkage ) + + + from toolkit/source/helper/unowrapper.cxx: + -> CreateXWindow -> 'return new VCLXWindow' + ** FIXME: we need love in here too: + + METRICBOX eg.
\ No newline at end of file |