unwind RID_STYLEFAMILY_IMAGELIST imagelist
Change-Id: I03f4058114bb837c3d8edd25791464e7d7ba16ed
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 520 B |
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 428 B After Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 371 B |
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 417 B |
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 122 B After Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 520 B |
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 428 B After Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 744 B |
Before Width: | Height: | Size: 674 B After Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 697 B |
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 430 KiB After Width: | Height: | Size: 430 KiB |
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 553 B |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
@ -171,18 +171,41 @@ StringArray RID_TABLESTYLEFAMILY
|
||||
};
|
||||
};
|
||||
|
||||
ImageList RID_STYLEFAMILY_IMAGELIST
|
||||
Bitmap BMP_STYLES_FAMILY_PARA
|
||||
{
|
||||
Prefix = "sf";
|
||||
IdList =
|
||||
{
|
||||
1; 2; 3; 4; 5; 6;
|
||||
File = "sf01.png" ;
|
||||
};
|
||||
IdCount = 6;
|
||||
|
||||
Bitmap BMP_STYLES_FAMILY_CHAR
|
||||
{
|
||||
File = "sf02.png" ;
|
||||
};
|
||||
|
||||
Bitmap BMP_STYLES_FAMILY_FRAME
|
||||
{
|
||||
File = "sf03.png" ;
|
||||
};
|
||||
|
||||
Bitmap BMP_STYLES_FAMILY_PAGE
|
||||
{
|
||||
File = "sf04.png" ;
|
||||
};
|
||||
|
||||
Bitmap BMP_STYLES_FAMILY_LIST
|
||||
{
|
||||
File = "sf05.png" ;
|
||||
};
|
||||
|
||||
Bitmap BMP_STYLES_FAMILY_TABLE
|
||||
{
|
||||
File = "sf06.png" ;
|
||||
};
|
||||
|
||||
// Bitmap for the NumberingTemplates in the Organizer
|
||||
Bitmap BMP_STYLES_FAMILY_NUM { File = "styfamnu.bmp" ; };
|
||||
Bitmap BMP_STYLES_FAMILY_NUM
|
||||
{
|
||||
File = "styfamnu.bmp" ;
|
||||
};
|
||||
|
||||
String STR_ENV_TITLE
|
||||
{
|
||||
|
@ -401,36 +401,34 @@ SfxStyleFamilies* SwModule::CreateStyleFamilies()
|
||||
{
|
||||
SfxStyleFamilies *pStyleFamilies = new SfxStyleFamilies;
|
||||
|
||||
ImageList aEntryImages(SW_RES(RID_STYLEFAMILY_IMAGELIST));
|
||||
|
||||
pStyleFamilies->emplace_back(SfxStyleFamilyItem(SfxStyleFamily::Para,
|
||||
SW_RESSTR(STR_PARAGRAPHSTYLEFAMILY),
|
||||
aEntryImages.GetImage(1),
|
||||
Image(BitmapEx(SW_RES(BMP_STYLES_FAMILY_PARA))),
|
||||
SW_RES(RID_PARAGRAPHSTYLEFAMILY)));
|
||||
|
||||
pStyleFamilies->emplace_back(SfxStyleFamilyItem(SfxStyleFamily::Char,
|
||||
SW_RESSTR(STR_CHARACTERSTYLEFAMILY),
|
||||
aEntryImages.GetImage(2),
|
||||
Image(BitmapEx(SW_RES(BMP_STYLES_FAMILY_CHAR))),
|
||||
SW_RES(RID_CHARACTERSTYLEFAMILY)));
|
||||
|
||||
pStyleFamilies->emplace_back(SfxStyleFamilyItem(SfxStyleFamily::Frame,
|
||||
SW_RESSTR(STR_FRAMESTYLEFAMILY),
|
||||
aEntryImages.GetImage(3),
|
||||
Image(BitmapEx(SW_RES(BMP_STYLES_FAMILY_FRAME))),
|
||||
SW_RES(RID_FRAMESTYLEFAMILY)));
|
||||
|
||||
pStyleFamilies->emplace_back(SfxStyleFamilyItem(SfxStyleFamily::Page,
|
||||
SW_RESSTR(STR_PAGESTYLEFAMILY),
|
||||
aEntryImages.GetImage(4),
|
||||
Image(BitmapEx(SW_RES(BMP_STYLES_FAMILY_PAGE))),
|
||||
SW_RES(RID_PAGESTYLEFAMILY)));
|
||||
|
||||
pStyleFamilies->emplace_back(SfxStyleFamilyItem(SfxStyleFamily::Pseudo,
|
||||
SW_RESSTR(STR_LISTSTYLEFAMILY),
|
||||
aEntryImages.GetImage(5),
|
||||
Image(BitmapEx(SW_RES(BMP_STYLES_FAMILY_LIST))),
|
||||
SW_RES(RID_LISTSTYLEFAMILY)));
|
||||
|
||||
pStyleFamilies->emplace_back(SfxStyleFamilyItem(SfxStyleFamily::Table,
|
||||
SW_RESSTR(STR_TABLESTYLEFAMILY),
|
||||
aEntryImages.GetImage(6),
|
||||
Image(BitmapEx(SW_RES(BMP_STYLES_FAMILY_TABLE))),
|
||||
SW_RES(RID_TABLESTYLEFAMILY)));
|
||||
|
||||
return pStyleFamilies;
|
||||
|
@ -104,9 +104,14 @@
|
||||
#define RID_PAGESTYLEFAMILY (RC_APP_BEGIN + 149)
|
||||
#define RID_LISTSTYLEFAMILY (RC_APP_BEGIN + 150)
|
||||
#define RID_TABLESTYLEFAMILY (RC_APP_BEGIN + 151)
|
||||
#define RID_STYLEFAMILY_IMAGELIST (RC_APP_BEGIN + 152)
|
||||
#define BMP_STYLES_FAMILY_PARA (RC_APP_BEGIN + 152)
|
||||
#define BMP_STYLES_FAMILY_CHAR (RC_APP_BEGIN + 153)
|
||||
#define BMP_STYLES_FAMILY_FRAME (RC_APP_BEGIN + 154)
|
||||
#define BMP_STYLES_FAMILY_PAGE (RC_APP_BEGIN + 155)
|
||||
#define BMP_STYLES_FAMILY_LIST (RC_APP_BEGIN + 156)
|
||||
#define BMP_STYLES_FAMILY_TABLE (RC_APP_BEGIN + 157)
|
||||
|
||||
#define APP_ACT_END RID_STYLEFAMILY_IMAGELIST
|
||||
#define APP_ACT_END BMP_STYLES_FAMILY_TABLE
|
||||
|
||||
#if APP_ACT_END > RC_APP_END
|
||||
#error Resource-Id Ueberlauf in #file, #line
|
||||
|