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 43: Line 43:
 
----
 
----
 
:sc/source/ui/inc/undotab.hxx
 
:sc/source/ui/inc/undotab.hxx
 +
::Define ScUndoSetTabBgColor Class
 
----
 
----
 
:sc/source/ui/inc/viewdata.hxx
 
:sc/source/ui/inc/viewdata.hxx
 +
::Add Private Color aTabBgColor to ScViewDataTable Class
 +
::Add Private BOOL IsDefaultTabBgColor(...) to ScViewDataTable Class
 +
::Add Public void SetTabBgColor(...) to ScViewData Class
 +
::Add Public BOOL IsDefaultTabBgColor(...) to ScViewData Class
 +
::Add Public Color GetTabBgColor(...) to ScViewData Class
 
----
 
----
 
:sc/source/ui/inc/viewfunc.hxx
 
:sc/source/ui/inc/viewfunc.hxx

Revision as of 01:12, 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 interface

sc/sdi/scalc.sd
Add SvxColorItem TabBgColor FID_TAB_SET_TAB_BG_COLOR definition ***When does this get executed? This may need to be removed...
Add SfxVoidItem SetTabBgColor FID_TAB_MENU_SET_TAB_BG_COLOR(SvxColorItem TabBgColor FID_TAB_SET_TAB_BG_COLOR) definition

sc/sdi/tabvwsh.sdi
Add FID_TAB_MENU_SET_TAB_BG_COLOR command to Tables interface

sc/source/ui/docshell/docfunc.cxx
Add Source for ScDocFunc::SetTabBgColor

sc/source/ui/inc/docfunc.hxx
Define ScDocFunc::ScTabBgColor

sc/source/ui/inc/undotab.hxx
Define ScUndoSetTabBgColor Class

sc/source/ui/inc/viewdata.hxx
Add Private Color aTabBgColor to ScViewDataTable Class
Add Private BOOL IsDefaultTabBgColor(...) to ScViewDataTable Class
Add Public void SetTabBgColor(...) to ScViewData Class
Add Public BOOL IsDefaultTabBgColor(...) to ScViewData Class
Add Public Color GetTabBgColor(...) to ScViewData Class

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