2006-01-05 10:56:06 -06:00
|
|
|
How to add a new image set:
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
- Create a directory for it here (let's call it e.g. new_set)
|
|
|
|
|
2010-08-25 04:14:15 -05:00
|
|
|
- Add its images_ name to CUSTOM_IMAGE_SETS in
|
|
|
|
postprocess/packimages/pack/makefile.mk
|
2008-03-18 08:06:08 -05:00
|
|
|
|
|
|
|
- Add its gid to the Files section of gid_Module_Root_Brand in
|
2010-08-25 04:14:15 -05:00
|
|
|
scp2/source/ooo/module_hidden_ooo.scp and add a corresponding File entry
|
|
|
|
to scp2/source/ooo/file_ooo.scp (see for example
|
|
|
|
gid_Brand_File_ImagesCrystal_Zip)
|
2006-01-05 10:56:06 -06:00
|
|
|
|
|
|
|
- Add a vcl constant for it in vcl/inc/settings.hxx, e.g.
|
|
|
|
#define STYLE_SYMBOLS_NEW_SET ((ULONG)5)
|
|
|
|
|
|
|
|
- Map the vcl constant to its real name in
|
|
|
|
::rtl::OUString StyleSettings::GetCurrentSymbolsStyleName() const
|
2007-06-04 08:52:15 -05:00
|
|
|
and
|
|
|
|
ULONG StyleSettings::ImplNameToSymbolsStyle( const ::rtl::OUString &rName ) const
|
|
|
|
both in vcl/source/app/settings.cxx, e.g.
|
2006-01-05 10:56:06 -06:00
|
|
|
case STYLE_SYMBOLS_NEW_SET: return ::rtl::OUString::createFromAscii( "new_set" );
|
2007-06-04 08:52:15 -05:00
|
|
|
and
|
|
|
|
else if ( rName == ::rtl::OUString::createFromAscii( "new_set" ) )
|
|
|
|
return STYLE_SYMBOLS_NEW_SET;
|
2006-01-05 10:56:06 -06:00
|
|
|
|
2007-06-04 08:52:15 -05:00
|
|
|
- Add localized item names to 'ListBox LB_ICONSTYLE' to
|
|
|
|
'StringList [ de ]'
|
|
|
|
and 'StringList [ en-US ]', e.g.
|
|
|
|
< "New set" ; > ;
|
2010-08-25 04:14:15 -05:00
|
|
|
both in cui/source/options/optgdlg.src
|
2007-06-04 08:52:15 -05:00
|
|
|
|
|
|
|
- Add all known localizations of the new item to svx/source/dialog/localize.sdf, e.g.
|
|
|
|
svx source\dialog\optgdlg.src 0 stringlist OFA_TP_VIEW.LB_ICONSTYLE 6 0 cs New set 2002-02-02 02:02:02
|
|
|
|
the check box item will not be visible in the other localizations otherwise, see http://www.openoffice.org/issues/show_bug.cgi?id=74982
|
2006-01-05 10:56:06 -06:00
|
|
|
|
|
|
|
- Add the new_set to 'SymbolsStyle' property
|
|
|
|
in officecfg/registry/schema/org/openoffice/Office/Common.xcs.
|
|
|
|
|
2007-06-04 08:52:15 -05:00
|
|
|
- The default theme for various desktops (KDE, GNOME, ...) is defined in
|
|
|
|
ULONG StyleSettings::GetCurrentSymbolsStyle() const in
|
|
|
|
vcl/source/app/settings.cxx
|
|
|
|
|
|
|
|
- The fallback for particular icons is defined in
|
2010-08-25 04:14:15 -05:00
|
|
|
postprocess/packimages/pack/makefile.mk
|