Difference between revisions of "Calc:Tab Color Patches"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Tab Color Core Support)
(Tab Color Core Support)
Line 20: Line 20:
 
::Declare a list: "ScUndoSetTabBgColorInfoList" of "ScUndoSetTabBgColorInfo"
 
::Declare a list: "ScUndoSetTabBgColorInfoList" of "ScUndoSetTabBgColorInfo"
 
----
 
----
:sc/inc/unonames.hxx ***NEED TO ADD TO SPECS!!
+
:sc/inc/unonames.hxx <span style="background-color:lightgreen;color:white">***NEED TO ADD TO SPECS!!</span>
 
::define the uno name SC_UNO_TABCOLOR as "TabColor" for ODS XML label
 
::define the uno name SC_UNO_TABCOLOR as "TabColor" for ODS XML label
 
----
 
----
Line 26: Line 26:
 
::Add SC_TABLE_TAB_BG_COLOR to the Table View Settings Sequence
 
::Add SC_TABLE_TAB_BG_COLOR to the Table View Settings Sequence
 
----
 
----
:sc/sdi/docsh.sdi *** When does this get executed?  This may need to be removed...
+
:sc/sdi/docsh.sdi <span style="background-color:lightgreen;color:white">***When does this get executed?  This may need to be removed...</span>
 
::Add FID_TAB_SET_TAB_BG_COLOR command to TableSelection
 
::Add FID_TAB_SET_TAB_BG_COLOR command to TableSelection
 
----
 
----

Revision as of 01:02, 14 February 2009

Code Change Justifications and Explanation

Tab Color Core Support

officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
Add entries for ".uno:SetTabBgColor" and ".uno:TabBgColor"

sc/inc/globstr.hrc
Define Global Strings

sc/inc/scextopt.hxx
Add Color maTabBgColor and BOOL IsDefaultTabBgColor() to the ScExtTabSettings Struct

sc/inc/sc.hrc
Define ID's for the CalcCommand
Define Sc Strings
Define the dialog id

sc/inc/tabbgcolor.hxx (new)
Define a struct: "ScUndoSetTabBgColorInfo" to store Tab Color Undo information
Declare a list: "ScUndoSetTabBgColorInfoList" of "ScUndoSetTabBgColorInfo"

sc/inc/unonames.hxx ***NEED TO ADD TO SPECS!!
define the uno name SC_UNO_TABCOLOR as "TabColor" for ODS XML label

sc/inc/ViewSettingsSequenceDefines.hxx
Add SC_TABLE_TAB_BG_COLOR to the Table View Settings Sequence

sc/sdi/docsh.sdi ***When does this get executed? This may need to be removed...
Add FID_TAB_SET_TAB_BG_COLOR command to TableSelection

sc/sdi/scalc.sd
Add SvxColorItem TabBgColor FID_TAB_SET_TAB_BG_COLOR definition
Add SfxVoidItem SetTabBgColor FID_TAB_SET_TAB_BG_COLOR(SvxColorItem TabBgColor FID_TAB_SET_TAB_BG_COLOR) definition

sc/sdi/tabvwsh.sdi

sc/source/ui/docshell/docfunc.cxx

sc/source/ui/inc/docfunc.hxx

sc/source/ui/inc/undotab.hxx

sc/source/ui/inc/viewdata.hxx

sc/source/ui/inc/viewfunc.hxx

sc/source/ui/src/globstr.src

sc/source/ui/src/popup.src

sc/source/ui/src/scstring.src

sc/source/ui/undo/undotab.cxx

sc/source/ui/view/scextopt.cxx

sc/source/ui/view/tabcont.cxx

sc/source/ui/view/tabvwshf.cxx

sc/source/ui/view/viewdata.cxx

sc/source/ui/view/viewfun2.cxx

sc/uiconfig/scalc/menubar/menubar.xml

svtools/inc/tabbar.hxx

svtools/source/control/tabbar.cxx

Tab Color Dialog

sc/inc/scabstdlg.hxx
sc/source/ui/attrdlg/scdlgfact.cxx
sc/source/ui/attrdlg/scdlgfact.hxx
sc/source/ui/inc/miscdlgs.hrc
sc/source/ui/inc/tabbgcolordlg.hxx (new)
sc/source/ui/miscdlgs/makefile.mk
sc/source/ui/miscdlgs/tabbgcolordlg.cxx (new)
sc/source/ui/src/miscdlgs.src
sc/util/makefile.mk

Excel 2003 Binary Support

sc/source/filter/excel/read.cxx
sc/source/filter/excel/xestyle.cxx
sc/source/filter/excel/xeview.cxx
sc/source/filter/excel/xichart.cxx
sc/source/filter/excel/xiview.cxx
sc/source/filter/excel/xlview.cxx
sc/source/filter/inc/xestyle.hxx
sc/source/filter/inc/xeview.hxx
sc/source/filter/inc/xiview.hxx
sc/source/filter/inc/xlview.hxx

Excel 2003 XML Support

filter/source/xslt/export/spreadsheetml/formular.xsl
filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl

Excel 2007 Binary / OOX Support

oox/inc/oox/xls/viewsettings.hxx
oox/source/xls/chartsheetfragment.cxx
oox/source/xls/viewsettings.cxx
oox/source/xls/worksheetfragment.cxx
oox/source/xls/worksheethelper.cxx
oox/source/xls/worksheetsettings.cxx

Patch Download List

  • Download Patch

See Also


Danielbw 01:23, 22 January 2009 (UTC)


Personal tools