Name Date Size #Lines LOC

..01-May-2024-

classic/H24-Jan-2024-

dev_nologo/introabout/H18-Oct-2019-

industrial/H18-Oct-2019-

nologo/introabout/H18-Oct-2019-

prj/H18-Oct-2019-

util/H18-Oct-2019-

README.txtH A D18-Oct-20192.5 KiB6046

README.txt

1How to add a new image set:
2---------------------------
3
4- Create a directory for it here (let's call it e.g. new_set)
5
6- Add its images_ name to ALLTAR in instsetoo_native/packimages/makefile.mk
7
8- Add its gid to the Files section of gid_Module_Root_Brand in
9  scp2/source/ooo/common_brand.scp and add a corresponding File entry to the
10  brand layer(s) where the image set shall be available (see for example
11  gid_Brand_File_ImagesCrystal_Zip in scp2/source/ooo/ooo_brand.scp)
12
13- Add a SfxSymbolsStyle constant for it in svtools/inc/imgdef.hxx, e.g.
14  SFX_SYMBOLS_STYLE_NEW_SET
15
16- Add a vcl constant for it in vcl/inc/settings.hxx, e.g.
17  #define STYLE_SYMBOLS_NEW_SET ((ULONG)5)
18
19- Map the vcl constant to its real name in
20    ::rtl::OUString StyleSettings::GetCurrentSymbolsStyleName() const
21  and
22    ULONG StyleSettings::ImplNameToSymbolsStyle( const ::rtl::OUString &rName ) const
23  both in vcl/source/app/settings.cxx, e.g.
24    case STYLE_SYMBOLS_NEW_SET: return ::rtl::OUString::createFromAscii( "new_set" );
25  and
26    else if ( rName == ::rtl::OUString::createFromAscii( "new_set" ) )
27    	return STYLE_SYMBOLS_NEW_SET;
28
29- Enhance the SFX_SYMBOLS_STYLE <-> STYLE_SYMBOLS converting functions
30    static sal_Int16 implSymbolsStyleFromVCL( ULONG nStyle )
31  and
32    static ULONG implSymbolsStyleToVCL( sal_Int16 nStyle )
33  in svtools/source/config/miscopt.cxx.
34
35- Add SFX_SYMBOLS_STYLE constant to 'switch( nStyleLB_NewSelection )' in
36    BOOL OfaViewTabPage::FillItemSet( SfxItemSet& rSet )
37  and to 'switch ( aMiscOptions.GetCurrentSymbolsStyle() )' in
38    void OfaViewTabPage::Reset( const SfxItemSet& rSet )
39  both in svx/source/dialog/optgdlg.cxx.
40
41- Add localized item names to 'ListBox LB_ICONSTYLE' to
42    'StringList [ de ]'
43  and 'StringList [ en-US ]', e.g.
44    < "New set" ; > ;
45  both in svx/source/dialog/optgdlg.src
46
47- Add all known localizations of the new item to svx/source/dialog/localize.sdf, e.g.
48    svx	source\dialog\optgdlg.src	0	stringlist	OFA_TP_VIEW.LB_ICONSTYLE	6			0	cs	New set				2002-02-02 02:02:02
49  the check box item will not be visible in the other localizations otherwise, see https://issues.apache.org/ooo/show_bug.cgi?id=74982
50
51- Add the new_set to 'SymbolsStyle' property
52  in officecfg/registry/schema/org/openoffice/Office/Common.xcs.
53
54- The default theme for various desktops (KDE, GNOME, ...) is defined in
55    ULONG StyleSettings::GetCurrentSymbolsStyle() const in
56  vcl/source/app/settings.cxx
57
58- The fallback for particular icons is defined in
59    instsetoo_native/packimages/makefile.mk
60