office-gobmx/ooo_custom_images
2010-09-08 11:33:58 +02:00
..
broffice/introabout nativeb: #161758,161762# Replace splash and about box for BrOffice 2010-04-13 17:11:28 +02:00
c04/svx/res
classic nativeb: #i110796# changed document icons for Classic theme 2010-04-21 00:31:27 +02:00
dev/introabout
dev_broffice/introabout nativeb: #161758,161762# Replace splash and about box for BrOffice 2010-04-13 17:11:28 +02:00
dev_nologo/introabout fwk141: Intro images without english text 2010-04-27 15:58:20 +02:00
dev_nologo_broffice/introabout fwk155: #i114075# commit the corrected splashscreen 2010-08-30 18:00:29 +02:00
industrial
nologo/introabout ooo30gsl01: #i112405# remove old nologo branding for StartCenter as it does not match the new StartCenter layout anymore 2010-06-15 10:50:07 +02:00
nologo_broffice fwk155: #i114075# commit the corrected splashscreen 2010-08-30 17:59:32 +02:00
prj nativeb: #i111098# StartCenter BrOffice images 2010-04-23 14:52:04 +02:00
tango
README.txt tango-prefer-over-industrial.diff: Kill the Industrial theme. 2010-08-25 11:14:15 +02:00
settings.pmk nativeb: #i111098# StartCenter BrOffice images 2010-04-23 14:52:04 +02:00
target.pmk nativeb: #i111098# StartCenter BrOffice images 2010-04-23 14:52:04 +02:00

How to add a new image set:
---------------------------

- Create a directory for it here (let's call it e.g. new_set)

- Add its images_ name to CUSTOM_IMAGE_SETS in
  postprocess/packimages/pack/makefile.mk

- Add its gid to the Files section of gid_Module_Root_Brand in
  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)

- 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
  and 
    ULONG StyleSettings::ImplNameToSymbolsStyle( const ::rtl::OUString &rName ) const
  both in vcl/source/app/settings.cxx, e.g.
    case STYLE_SYMBOLS_NEW_SET: return ::rtl::OUString::createFromAscii( "new_set" );
  and 
    else if ( rName == ::rtl::OUString::createFromAscii( "new_set" ) )
    	return STYLE_SYMBOLS_NEW_SET;

- Add localized item names to 'ListBox LB_ICONSTYLE' to
    'StringList [ de ]'
  and 'StringList [ en-US ]', e.g.
    < "New set" ; > ;
  both in cui/source/options/optgdlg.src

- 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

- Add the new_set to 'SymbolsStyle' property
  in officecfg/registry/schema/org/openoffice/Office/Common.xcs.

- 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
    postprocess/packimages/pack/makefile.mk