ooo-build r15254 - trunk/doc



Author: noelpwer
Date: Fri Jan 30 12:15:25 2009
New Revision: 15254
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15254&view=rev

Log:
more minor thoughts


Modified:
   trunk/doc/writer-customtoolbar-filter-bits.txt

Modified: trunk/doc/writer-customtoolbar-filter-bits.txt
==============================================================================
--- trunk/doc/writer-customtoolbar-filter-bits.txt	(original)
+++ trunk/doc/writer-customtoolbar-filter-bits.txt	Fri Jan 30 12:15:25 2009
@@ -14,6 +14,9 @@
        + TcgSttbf
        + MacroNames
  
+I think we nearly have enough to do a simple import, e.g. create a new toolbar with the correct name and x controls that has associated macros. Handling built-in commands still is a little tricky [1] e.g. possible using TBCHeader.tcid ( but need to find the relevant id's )
+
+
 The guts of what you need to know to read "Custom toobars" is located below.
 
 
@@ -31,7 +34,7 @@
               Tcg255.Customization.CTB.TBC[n].TBCHeader 
                 the header contains some useful info specifcally 
                    TBCHeader.tct - control type see table 1.
-                   TBCHeader.tcid - control id - for built-in controls this can used identify the type of command ( maybe there is another way ) e.g. 0x14b is Switcher_Close_CloseAll ( ref. MS-CTDOC.pdf section 2.2 )
+[1]                TBCHeader.tcid - control id - for built-in controls this can used identify the type of command ( maybe there is another way ) e.g. 0x14b is Switcher_Close_CloseAll ( ref. MS-CTDOC.pdf section 2.2 )
               Tcg255.Customization.CTB.TBC[n].TBCData ( exists except in the case of ActiveX controls ( e.g TBCHeader.tcid = 0x16 )
                 Tcg255.Customization.CTB.TBC[n].TBCData.TBCGeneralInfo
                     basic info, tooltop, text to be shown for the toolbar control
@@ -50,3 +53,25 @@
  o postition of controls in the toolbar
  o what to do with the icons ( need to find what we can use to read thos icons )
  
+
+table 1.
+
+ TBCHeader.tct                   controlSpecificInfo type
+
+0x01 (Button control)              TBCBSpecific
+0x10 (ExpandingGrid control)       TBCBSpecific
+0x0A (Popup control)               TBCMenuSpecific
+0x0C (ButtonPopup control)         TBCMenuSpecific
+0x0D (SplitButtonPopup control)    TBCMenuSpecific
+0x0E (SplitButtonMRUPopup control) TBCMenuSpecific
+0x02 (Edit control)                TBCComboDropdow nSpecific
+0x04 (ComboBox control)            TBCComboDropdow nSpecific
+0x14 (GraphicCombo control)        TBCComboDropdow nSpecific
+0x03 (DropDown control)            TBCComboDropdow nSpecific
+0x06 (SplitDropDown control)       TBCComboDropdow nSpecific
+0x09 (GraphicDropDown control)     TBCComboDropdow nSpecific
+0x07 (OCXDropDown control)         controlSpecificInfo MUST NOT exist
+0x0F (Label control)               controlSpecificInfo MUST NOT exist
+0x12 (Grid control)                controlSpecificInfo MUST NOT exist
+0x13 (Gauge control)               controlSpecificInfo MUST NOT exist
+0x16 (ActiveX control)             controlSpecificInfo MUST NOT exist



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