remove another imagelist
Change-Id: Ica62a13b19134030c6f0e2eeaf41df3c0f1294a4
@ -1267,10 +1267,10 @@ sw/res/nc20009.png cmd/sc_insertindexesentry.png
|
||||
sw/res/nc20010.png cmd/sc_showannotations.png
|
||||
sw/res/nc20011.png cmd/sc_toggleobjectbeziermode.png
|
||||
|
||||
sw/imglst/re01.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/imglst/re02.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/imglst/re03.png cmd/sc_protect.png
|
||||
sw/imglst/re04.png cmd/sc_protect.png
|
||||
sw/res/re01.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/res/re02.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/res/re03.png cmd/sc_protect.png
|
||||
sw/res/re04.png cmd/sc_protect.png
|
||||
|
||||
sw/imglst/sc20171.png cmd/sc_downsearch.png
|
||||
sw/imglst/sc20172.png cmd/sc_prevrecord.png
|
||||
|
@ -1263,10 +1263,10 @@ sw/res/nc20009.png cmd/sc_insertindexesentry.png
|
||||
sw/res/nc20010.png cmd/sc_showannotations.png
|
||||
sw/res/nc20011.png cmd/sc_toggleobjectbeziermode.png
|
||||
|
||||
sw/imglst/re01.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/imglst/re02.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/imglst/re03.png cmd/sc_protect.png
|
||||
sw/imglst/re04.png cmd/sc_protect.png
|
||||
sw/res/re01.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/res/re02.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/res/re03.png cmd/sc_protect.png
|
||||
sw/res/re04.png cmd/sc_protect.png
|
||||
|
||||
sw/imglst/sc20171.png cmd/sc_downsearch.png
|
||||
sw/imglst/sc20172.png cmd/sc_prevrecord.png
|
||||
|
@ -1229,10 +1229,10 @@ sw/res/nc20009.png cmd/sc_insertindexesentry.png
|
||||
sw/res/nc20010.png cmd/sc_showannotations.png
|
||||
sw/res/nc20011.png cmd/sc_toggleobjectbeziermode.png
|
||||
|
||||
sw/imglst/re01.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/imglst/re02.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/imglst/re03.png cmd/sc_protect.png
|
||||
sw/imglst/re04.png cmd/sc_protect.png
|
||||
sw/res/re01.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/res/re02.png cmd/lc_unsetcellsreadonly.png
|
||||
sw/res/re03.png cmd/sc_protect.png
|
||||
sw/res/re04.png cmd/sc_protect.png
|
||||
|
||||
sw/imglst/sc20171.png cmd/sc_downsearch.png
|
||||
sw/imglst/sc20172.png cmd/sc_prevrecord.png
|
||||
|
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 560 B After Width: | Height: | Size: 560 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 343 B |
@ -114,7 +114,7 @@
|
||||
#define SW_STR_READONLY (RC_GLOBALS_BEGIN + 46)
|
||||
|
||||
#define STR_READONLY_PATH (RC_GLOBALS_BEGIN + 47)
|
||||
#define IL_SECTION_BITMAPS (RC_GLOBALS_BEGIN + 48)
|
||||
//free
|
||||
#define IL_VALUES (RC_GLOBALS_BEGIN + 49)
|
||||
|
||||
// INFOBOX ------------------------------------------------------------
|
||||
|
@ -305,7 +305,6 @@ SwEditRegionDlg::SwEditRegionDlg( vcl::Window* pParent, SwWrtShell& rWrtSh )
|
||||
: SfxModalDialog(pParent, "EditSectionDialog",
|
||||
"modules/swriter/ui/editsectiondialog.ui")
|
||||
, m_bSubRegionsFilled(false)
|
||||
, aImageIL(SW_RES(IL_SECTION_BITMAPS))
|
||||
, rSh(rWrtSh)
|
||||
, m_pDocInserter(nullptr)
|
||||
, bDontCheckPasswd(true)
|
||||
@ -1367,10 +1366,11 @@ IMPL_LINK( SwEditRegionDlg, SubRegionEventHdl, VclWindowEvent&, rEvent, void )
|
||||
}
|
||||
}
|
||||
|
||||
Image SwEditRegionDlg::BuildBitmap( bool bProtect, bool bHidden )
|
||||
Image SwEditRegionDlg::BuildBitmap(bool bProtect, bool bHidden)
|
||||
{
|
||||
ImageList& rImgLst = aImageIL;
|
||||
return rImgLst.GetImage((int(!bHidden)+((bProtect ? 1 : 0)<<1)) + 1);
|
||||
if (bProtect)
|
||||
return Image(BitmapEx(SW_RES(bHidden ? RID_BMP_PROT_HIDE : RID_BMP_PROT_NO_HIDE)));
|
||||
return Image(BitmapEx(SW_RES(bHidden ? RID_BMP_HIDE : RID_BMP_NO_HIDE)));
|
||||
}
|
||||
|
||||
// helper function - read region names from medium
|
||||
|
@ -31,11 +31,10 @@
|
||||
#define STR_WRONG_PASSWORD (RC_REGIONSW_BEGIN+11)
|
||||
#define STR_WRONG_PASSWD_REPEAT (RC_REGIONSW_BEGIN+12)
|
||||
|
||||
//ImageList elements
|
||||
#define BMP_HIDE 1
|
||||
#define BMP_NO_HIDE 2
|
||||
#define BMP_PROT_HIDE 3
|
||||
#define BMP_PROT_NO_HIDE 4
|
||||
#define RID_BMP_HIDE (RC_REGIONSW_BEGIN+13)
|
||||
#define RID_BMP_NO_HIDE (RC_REGIONSW_BEGIN+14)
|
||||
#define RID_BMP_PROT_HIDE (RC_REGIONSW_BEGIN+15)
|
||||
#define RID_BMP_PROT_NO_HIDE (RC_REGIONSW_BEGIN+16)
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -22,35 +22,46 @@
|
||||
#include "globals.hrc"
|
||||
#include "helpid.h"
|
||||
|
||||
ImageList IL_SECTION_BITMAPS
|
||||
Bitmap RID_BMP_HIDE
|
||||
{
|
||||
Prefix = "re";
|
||||
IdList =
|
||||
{
|
||||
BMP_HIDE /*1*/ ;
|
||||
BMP_NO_HIDE /*2*/ ;
|
||||
BMP_PROT_HIDE /*3*/ ;
|
||||
BMP_PROT_NO_HIDE /*4*/ ;
|
||||
};
|
||||
IdCount = { 4 ; };
|
||||
File = "re01.png";
|
||||
};
|
||||
|
||||
Bitmap RID_BMP_NO_HIDE
|
||||
{
|
||||
File = "re02.png";
|
||||
};
|
||||
|
||||
Bitmap RID_BMP_PROT_HIDE
|
||||
{
|
||||
File = "re03.png";
|
||||
};
|
||||
|
||||
Bitmap RID_BMP_PROT_NO_HIDE
|
||||
{
|
||||
File = "re04.png";
|
||||
};
|
||||
|
||||
String STR_REG_DUPLICATE
|
||||
{
|
||||
Text [ en-US ] = "Section name changed:" ;
|
||||
};
|
||||
|
||||
String STR_INFO_DUPLICATE
|
||||
{
|
||||
Text [ en-US ] = "Duplicate section name" ;
|
||||
};
|
||||
|
||||
String STR_QUERY_CONNECT
|
||||
{
|
||||
Text[ en-US ] = "A file connection will delete the contents of the current section. Connect anyway?" ;
|
||||
};
|
||||
|
||||
String STR_WRONG_PASSWORD
|
||||
{
|
||||
Text [ en-US ] = "The password entered is invalid." ;
|
||||
};
|
||||
|
||||
String STR_WRONG_PASSWD_REPEAT
|
||||
{
|
||||
Text [ en-US ] = "The password has not been set." ;
|
||||
|
@ -89,7 +89,6 @@ class SwEditRegionDlg : public SfxModalDialog
|
||||
VclPtr<OKButton> m_pOK;
|
||||
VclPtr<PushButton> m_pOptionsPB;
|
||||
VclPtr<PushButton> m_pDismiss;
|
||||
ImageList aImageIL;
|
||||
|
||||
SwWrtShell& rSh;
|
||||
SectReprs_t m_SectReprs;
|
||||
|