unwind RID_IMAGELIST_NAVCONT ImageList
Change-Id: I5e057ce9df205ca2431e7a7a455b00fcec6123db
@@ -1049,12 +1049,12 @@ sc/res/lc26050.png cmd/lc_cancel.png
|
|||||||
sc/res/lc26051.png cmd/lc_ok.png
|
sc/res/lc26051.png cmd/lc_ok.png
|
||||||
sc/imglst/na010.png cmd/sc_selectobject.png
|
sc/imglst/na010.png cmd/sc_selectobject.png
|
||||||
sc/imglst/na011.png cmd/lc_ok.png
|
sc/imglst/na011.png cmd/lc_ok.png
|
||||||
sc/imglst/nc03.png cmd/sc_viewdatasourcebrowser.png
|
sc/res/nc03.png cmd/sc_viewdatasourcebrowser.png
|
||||||
sc/imglst/nc04.png cmd/sc_gallery.png
|
sc/res/nc04.png cmd/sc_gallery.png
|
||||||
sc/imglst/nc05.png cmd/sc_insertobject.png
|
sc/res/nc05.png cmd/sc_insertobject.png
|
||||||
sc/imglst/nc06.png cmd/sc_showannotations.png
|
sc/res/nc06.png cmd/sc_showannotations.png
|
||||||
sc/imglst/nc07.png sc/res/droplink.png
|
sc/res/nc07.png sc/res/droplink.png
|
||||||
sc/imglst/nc08.png cmd/sc_gallery.png
|
sc/res/nc08.png cmd/sc_gallery.png
|
||||||
sc/res/sc26047.png cmd/sc_dbviewfunctions.png
|
sc/res/sc26047.png cmd/sc_dbviewfunctions.png
|
||||||
sc/res/sc26048.png cmd/sc_autosum.png
|
sc/res/sc26048.png cmd/sc_autosum.png
|
||||||
sc/res/sc26050.png cmd/sc_cancel.png
|
sc/res/sc26050.png cmd/sc_cancel.png
|
||||||
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 109 B |
@@ -1045,12 +1045,12 @@ sc/res/lc26050.png cmd/lc_cancel.png
|
|||||||
sc/res/lc26051.png cmd/lc_ok.png
|
sc/res/lc26051.png cmd/lc_ok.png
|
||||||
sc/imglst/na010.png cmd/sc_selectobject.png
|
sc/imglst/na010.png cmd/sc_selectobject.png
|
||||||
sc/imglst/na011.png cmd/lc_ok.png
|
sc/imglst/na011.png cmd/lc_ok.png
|
||||||
sc/imglst/nc03.png cmd/sc_viewdatasourcebrowser.png
|
sc/res/nc03.png cmd/sc_viewdatasourcebrowser.png
|
||||||
sc/imglst/nc04.png cmd/sc_gallery.png
|
sc/res/nc04.png cmd/sc_gallery.png
|
||||||
sc/imglst/nc05.png cmd/sc_insertobject.png
|
sc/res/nc05.png cmd/sc_insertobject.png
|
||||||
sc/imglst/nc06.png cmd/sc_showannotations.png
|
sc/res/nc06.png cmd/sc_showannotations.png
|
||||||
sc/imglst/nc07.png sc/res/droplink.png
|
sc/res/nc07.png sc/res/droplink.png
|
||||||
sc/imglst/nc08.png cmd/sc_gallery.png
|
sc/res/nc08.png cmd/sc_gallery.png
|
||||||
sc/res/sc26047.png cmd/sc_dbviewfunctions.png
|
sc/res/sc26047.png cmd/sc_dbviewfunctions.png
|
||||||
sc/res/sc26048.png cmd/sc_autosum.png
|
sc/res/sc26048.png cmd/sc_autosum.png
|
||||||
sc/res/sc26050.png cmd/sc_cancel.png
|
sc/res/sc26050.png cmd/sc_cancel.png
|
||||||
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 201 B |
@@ -1011,12 +1011,12 @@ sc/res/lc26050.png cmd/lc_cancel.png
|
|||||||
sc/res/lc26051.png cmd/lc_ok.png
|
sc/res/lc26051.png cmd/lc_ok.png
|
||||||
sc/imglst/na010.png cmd/sc_selectobject.png
|
sc/imglst/na010.png cmd/sc_selectobject.png
|
||||||
sc/imglst/na011.png cmd/lc_ok.png
|
sc/imglst/na011.png cmd/lc_ok.png
|
||||||
sc/imglst/nc03.png cmd/sc_viewdatasourcebrowser.png
|
sc/res/nc03.png cmd/sc_viewdatasourcebrowser.png
|
||||||
sc/imglst/nc04.png cmd/sc_gallery.png
|
sc/res/nc04.png cmd/sc_gallery.png
|
||||||
sc/imglst/nc05.png cmd/sc_insertobject.png
|
sc/res/nc05.png cmd/sc_insertobject.png
|
||||||
sc/imglst/nc06.png cmd/sc_showannotations.png
|
sc/res/nc06.png cmd/sc_showannotations.png
|
||||||
sc/imglst/nc07.png sc/res/droplink.png
|
sc/res/nc07.png sc/res/droplink.png
|
||||||
sc/imglst/nc08.png cmd/sc_gallery.png
|
sc/res/nc08.png cmd/sc_gallery.png
|
||||||
sc/res/sc26047.png cmd/sc_dbviewfunctions.png
|
sc/res/sc26047.png cmd/sc_dbviewfunctions.png
|
||||||
sc/res/sc26048.png cmd/sc_autosum.png
|
sc/res/sc26048.png cmd/sc_autosum.png
|
||||||
sc/res/sc26050.png cmd/sc_cancel.png
|
sc/res/sc26050.png cmd/sc_cancel.png
|
||||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 552 B |
@@ -463,11 +463,11 @@ sc/res/lc26050.png cmd/lc_cancel.png
|
|||||||
sc/res/lc26051.png cmd/lc_ok.png
|
sc/res/lc26051.png cmd/lc_ok.png
|
||||||
sc/imglst/na05.png cmd/sc_upsearch.png
|
sc/imglst/na05.png cmd/sc_upsearch.png
|
||||||
sc/imglst/na06.png cmd/sc_downsearch.png
|
sc/imglst/na06.png cmd/sc_downsearch.png
|
||||||
sc/imglst/nc01.png cmd/sc_inserttable.png
|
sc/res/nc01.png cmd/sc_inserttable.png
|
||||||
sc/imglst/nc04.png cmd/sc_insertgraphic.png
|
sc/res/nc04.png cmd/sc_insertgraphic.png
|
||||||
sc/imglst/nc05.png cmd/sc_drawchart.png
|
sc/res/nc05.png cmd/sc_drawchart.png
|
||||||
sc/imglst/nc06.png cmd/sc_insertannotation.png
|
sc/res/nc06.png cmd/sc_insertannotation.png
|
||||||
sc/imglst/nc08.png cmd/sc_insertdraw.png
|
sc/res/nc08.png cmd/sc_insertdraw.png
|
||||||
sc/res/sc26047.png cmd/sc_insertformula.png
|
sc/res/sc26047.png cmd/sc_insertformula.png
|
||||||
sc/res/sc26048.png cmd/sc_autosum.png
|
sc/res/sc26048.png cmd/sc_autosum.png
|
||||||
sc/res/sc26050.png cmd/sc_cancel.png
|
sc/res/sc26050.png cmd/sc_cancel.png
|
||||||
|
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 751 B |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 430 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 100 B After Width: | Height: | Size: 100 B |
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
@@ -47,11 +47,11 @@ sw/res/sr20017.png cmd/sc_insertindexesentry.png
|
|||||||
# Navigator - Calc
|
# Navigator - Calc
|
||||||
sc/imglst/na05.png cmd/sc_upsearch.png
|
sc/imglst/na05.png cmd/sc_upsearch.png
|
||||||
sc/imglst/na06.png cmd/sc_downsearch.png
|
sc/imglst/na06.png cmd/sc_downsearch.png
|
||||||
sc/imglst/nc01.png cmd/sc_inserttable.png
|
sc/res/nc01.png cmd/sc_inserttable.png
|
||||||
sc/imglst/nc04.png cmd/sc_insertgraphic.png
|
sc/res/nc04.png cmd/sc_insertgraphic.png
|
||||||
sc/imglst/nc05.png cmd/sc_drawchart.png
|
sc/res/nc05.png cmd/sc_drawchart.png
|
||||||
sc/imglst/nc06.png cmd/sc_insertannotation.png
|
sc/res/nc06.png cmd/sc_insertannotation.png
|
||||||
sc/imglst/nc08.png cmd/sc_insertdraw.png
|
sc/res/nc08.png cmd/sc_insertdraw.png
|
||||||
sc/res/table.png cmd/sc_inserttable.png
|
sc/res/table.png cmd/sc_inserttable.png
|
||||||
|
|
||||||
# Thesaurus
|
# Thesaurus
|
||||||
|
@@ -279,11 +279,11 @@ svx/res/symphony/rotate_left.png cmd/sc_rotateleft.png
|
|||||||
svx/res/symphony/rotate_right.png cmd/sc_rotateright.png
|
svx/res/symphony/rotate_right.png cmd/sc_rotateright.png
|
||||||
sc/imglst/na05.png cmd/sc_upsearch.png
|
sc/imglst/na05.png cmd/sc_upsearch.png
|
||||||
sc/imglst/na06.png cmd/sc_downsearch.png
|
sc/imglst/na06.png cmd/sc_downsearch.png
|
||||||
sc/imglst/nc01.png cmd/sc_inserttable.png
|
sc/res/nc01.png cmd/sc_inserttable.png
|
||||||
sc/imglst/nc04.png cmd/sc_insertgraphic.png
|
sc/res/nc04.png cmd/sc_insertgraphic.png
|
||||||
sc/imglst/nc05.png cmd/sc_drawchart.png
|
sc/res/nc05.png cmd/sc_drawchart.png
|
||||||
sc/imglst/nc06.png cmd/sc_insertannotation.png
|
sc/res/nc06.png cmd/sc_insertannotation.png
|
||||||
sc/imglst/nc08.png cmd/sc_insertdraw.png
|
sc/res/nc08.png cmd/sc_insertdraw.png
|
||||||
sc/res/table.png cmd/sc_inserttable.png
|
sc/res/table.png cmd/sc_inserttable.png
|
||||||
sd/imglst/nv03.png cmd/sc_firstpage.png
|
sd/imglst/nv03.png cmd/sc_firstpage.png
|
||||||
sd/imglst/nv04.png cmd/sc_navigateback.png
|
sd/imglst/nv04.png cmd/sc_navigateback.png
|
||||||
|
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 216 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
@@ -16,7 +16,7 @@
|
|||||||
width="16"
|
width="16"
|
||||||
height="16"
|
height="16"
|
||||||
sodipodi:docname="nc02.svg"
|
sodipodi:docname="nc02.svg"
|
||||||
inkscape:export-filename="/home/alexander/libo/icon-themes/tango_testing/sc/imglst/nc02.png"
|
inkscape:export-filename="/home/alexander/libo/icon-themes/tango_testing/sc/res/nc02.png"
|
||||||
inkscape:export-xdpi="90"
|
inkscape:export-xdpi="90"
|
||||||
inkscape:export-ydpi="90">
|
inkscape:export-ydpi="90">
|
||||||
<metadata
|
<metadata
|
Before Width: | Height: | Size: 510 KiB After Width: | Height: | Size: 510 KiB |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
@@ -16,7 +16,7 @@
|
|||||||
width="16"
|
width="16"
|
||||||
height="16"
|
height="16"
|
||||||
sodipodi:docname="nc03.svg"
|
sodipodi:docname="nc03.svg"
|
||||||
inkscape:export-filename="/home/alexander/libo/icon-themes/tango_testing/sc/imglst/nc03.png"
|
inkscape:export-filename="/home/alexander/libo/icon-themes/tango_testing/sc/res/nc03.png"
|
||||||
inkscape:export-xdpi="90"
|
inkscape:export-xdpi="90"
|
||||||
inkscape:export-ydpi="90">
|
inkscape:export-ydpi="90">
|
||||||
<metadata
|
<metadata
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 756 B |
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 372 B |
@@ -16,7 +16,7 @@
|
|||||||
width="16"
|
width="16"
|
||||||
height="16"
|
height="16"
|
||||||
sodipodi:docname="nc07.svg"
|
sodipodi:docname="nc07.svg"
|
||||||
inkscape:export-filename="/home/alexander/libo/icon-themes/tango_testing/sc/imglst/nc07.png"
|
inkscape:export-filename="/home/alexander/libo/icon-themes/tango_testing/sc/res/nc07.png"
|
||||||
inkscape:export-xdpi="90"
|
inkscape:export-xdpi="90"
|
||||||
inkscape:export-ydpi="90">
|
inkscape:export-ydpi="90">
|
||||||
<metadata
|
<metadata
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 343 B |
@@ -692,7 +692,6 @@
|
|||||||
#define RID_OBJECTBAR_TOOLS (SC_RESOURCE_START+35)
|
#define RID_OBJECTBAR_TOOLS (SC_RESOURCE_START+35)
|
||||||
#define RID_SC_FUNCTION_DESCRIPTIONS1 (SC_RESOURCE_START+43)
|
#define RID_SC_FUNCTION_DESCRIPTIONS1 (SC_RESOURCE_START+43)
|
||||||
#define RID_SC_FUNCTION_DESCRIPTIONS2 (SC_RESOURCE_START+44)
|
#define RID_SC_FUNCTION_DESCRIPTIONS2 (SC_RESOURCE_START+44)
|
||||||
#define RID_IMAGELIST_NAVCONT (SC_RESOURCE_START+52)
|
|
||||||
#define RID_DRAW_OBJECTBAR (SC_RESOURCE_START+53)
|
#define RID_DRAW_OBJECTBAR (SC_RESOURCE_START+53)
|
||||||
#define RID_GRAPHIC_OBJECTBAR (SC_RESOURCE_START+54)
|
#define RID_GRAPHIC_OBJECTBAR (SC_RESOURCE_START+54)
|
||||||
#define RID_MEDIA_OBJECTBAR (SC_RESOURCE_START+60)
|
#define RID_MEDIA_OBJECTBAR (SC_RESOURCE_START+60)
|
||||||
@@ -1032,6 +1031,17 @@
|
|||||||
#define RID_BMP_INPUT_CANCEL (BMP_START + 38)
|
#define RID_BMP_INPUT_CANCEL (BMP_START + 38)
|
||||||
#define RID_BMP_INPUT_OK (BMP_START + 39)
|
#define RID_BMP_INPUT_OK (BMP_START + 39)
|
||||||
|
|
||||||
|
// navigator - in the same order as SC_CONTENT_...
|
||||||
|
#define RID_BMP_CONTENT_ROOT (BMP_START + 40)
|
||||||
|
#define RID_BMP_CONTENT_TABLE (BMP_START + 41)
|
||||||
|
#define RID_BMP_CONTENT_RANGENAME (BMP_START + 42)
|
||||||
|
#define RID_BMP_CONTENT_DBAREA (BMP_START + 43)
|
||||||
|
#define RID_BMP_CONTENT_GRAPHIC (BMP_START + 44)
|
||||||
|
#define RID_BMP_CONTENT_OLEOBJECT (BMP_START + 45)
|
||||||
|
#define RID_BMP_CONTENT_NOTE (BMP_START + 46)
|
||||||
|
#define RID_BMP_CONTENT_AREALINK (BMP_START + 47)
|
||||||
|
#define RID_BMP_CONTENT_DRAWING (BMP_START + 48)
|
||||||
|
|
||||||
#define BMP_END (BMP_START + 100)
|
#define BMP_END (BMP_START + 100)
|
||||||
|
|
||||||
#define SC_DIALOGS_START (BMP_END)
|
#define SC_DIALOGS_START (BMP_END)
|
||||||
|
@@ -43,7 +43,6 @@ const sal_uLong SC_CONTENT_NOCHILD = ~0UL;
|
|||||||
class ScContentTree : public SvTreeListBox
|
class ScContentTree : public SvTreeListBox
|
||||||
{
|
{
|
||||||
VclPtr<ScNavigatorDlg> pParentWindow;
|
VclPtr<ScNavigatorDlg> pParentWindow;
|
||||||
ImageList aEntryImages;
|
|
||||||
o3tl::enumarray<ScContentId, SvTreeListEntry*> pRootNodes;
|
o3tl::enumarray<ScContentId, SvTreeListEntry*> pRootNodes;
|
||||||
ScContentId nRootType; // set as Root
|
ScContentId nRootType; // set as Root
|
||||||
OUString aManualDoc; // Switched in Navigator (Title)
|
OUString aManualDoc; // Switched in Navigator (Title)
|
||||||
|
@@ -114,7 +114,6 @@ ScDocShell* ScContentTree::GetManualOrCurrent()
|
|||||||
ScContentTree::ScContentTree(vcl::Window* pParent, ScNavigatorDlg* pNavigatorDlg)
|
ScContentTree::ScContentTree(vcl::Window* pParent, ScNavigatorDlg* pNavigatorDlg)
|
||||||
: SvTreeListBox(pParent, WB_BORDER | WB_QUICK_SEARCH)
|
: SvTreeListBox(pParent, WB_BORDER | WB_QUICK_SEARCH)
|
||||||
, pParentWindow(pNavigatorDlg)
|
, pParentWindow(pNavigatorDlg)
|
||||||
, aEntryImages(ScResId(RID_IMAGELIST_NAVCONT))
|
|
||||||
, nRootType(ScContentId::ROOT)
|
, nRootType(ScContentId::ROOT)
|
||||||
, bHiddenDoc(false)
|
, bHiddenDoc(false)
|
||||||
, pHiddenDocument(nullptr)
|
, pHiddenDocument(nullptr)
|
||||||
@@ -226,11 +225,11 @@ void ScContentTree::InitRoot( ScContentId nType )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Image& rImage = aEntryImages.GetImage( (int) nType );
|
Image aImage(BitmapEx(ScResId(RID_BMP_CONTENT_ROOT + (int)nType)));
|
||||||
OUString aName( ScResId( SCSTR_CONTENT_ROOT + (int)nType ) );
|
OUString aName(ScResId(SCSTR_CONTENT_ROOT + (int)nType));
|
||||||
// wieder an die richtige Position:
|
// wieder an die richtige Position:
|
||||||
sal_uInt16 nPos = nRootType != ScContentId::ROOT ? 0 : pPosList[nType]-1;
|
sal_uInt16 nPos = nRootType != ScContentId::ROOT ? 0 : pPosList[nType]-1;
|
||||||
SvTreeListEntry* pNew = InsertEntry( aName, rImage, rImage, nullptr, false, nPos );
|
SvTreeListEntry* pNew = InsertEntry( aName, aImage, aImage, nullptr, false, nPos );
|
||||||
|
|
||||||
pRootNodes[nType] = pNew;
|
pRootNodes[nType] = pNew;
|
||||||
}
|
}
|
||||||
|
@@ -19,22 +19,44 @@
|
|||||||
|
|
||||||
#include "sc.hrc"
|
#include "sc.hrc"
|
||||||
|
|
||||||
ImageList RID_IMAGELIST_NAVCONT
|
Bitmap RID_BMP_CONTENT_TABLE
|
||||||
{
|
{
|
||||||
Prefix = "nc";
|
File = "nc01.png";
|
||||||
// SC_CONTENT_...
|
};
|
||||||
IdList =
|
|
||||||
{
|
Bitmap RID_BMP_CONTENT_RANGENAME
|
||||||
1 ;
|
{
|
||||||
2 ;
|
File = "nc02.png";
|
||||||
3 ;
|
};
|
||||||
4 ;
|
|
||||||
5 ;
|
Bitmap RID_BMP_CONTENT_DBAREA
|
||||||
6 ;
|
{
|
||||||
7 ;
|
File = "nc03.png";
|
||||||
8 ;
|
};
|
||||||
};
|
|
||||||
IdCount = { 8 ; };
|
Bitmap RID_BMP_CONTENT_GRAPHIC
|
||||||
|
{
|
||||||
|
File = "nc04.png";
|
||||||
|
};
|
||||||
|
|
||||||
|
Bitmap RID_BMP_CONTENT_OLEOBJECT
|
||||||
|
{
|
||||||
|
File = "nc05.png";
|
||||||
|
};
|
||||||
|
|
||||||
|
Bitmap RID_BMP_CONTENT_NOTE
|
||||||
|
{
|
||||||
|
File = "nc06.png";
|
||||||
|
};
|
||||||
|
|
||||||
|
Bitmap RID_BMP_CONTENT_AREALINK
|
||||||
|
{
|
||||||
|
File = "nc07.png";
|
||||||
|
};
|
||||||
|
|
||||||
|
Bitmap RID_BMP_CONTENT_DRAWING
|
||||||
|
{
|
||||||
|
File = "nc08.png";
|
||||||
};
|
};
|
||||||
|
|
||||||
Image RID_IMG_DROP_URL
|
Image RID_IMG_DROP_URL
|
||||||
|
@@ -222,9 +222,8 @@ void ScLinkTargetTypeObj::SetLinkTargetBitmap( uno::Any& rRet, sal_uInt16 nType
|
|||||||
}
|
}
|
||||||
if (nImgId != ScContentId::ROOT)
|
if (nImgId != ScContentId::ROOT)
|
||||||
{
|
{
|
||||||
ImageList aEntryImages( ScResId( RID_IMAGELIST_NAVCONT ) );
|
BitmapEx aBitmapEx(ScResId(RID_BMP_CONTENT_ROOT + (int)nImgId));
|
||||||
const Image& rImage = aEntryImages.GetImage( (sal_uInt16)nImgId );
|
rRet <<= uno::Reference< awt::XBitmap > (VCLUnoHelper::CreateBitmap(aBitmapEx));
|
||||||
rRet <<= uno::Reference< awt::XBitmap > (VCLUnoHelper::CreateBitmap( rImage.GetBitmapEx() ));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|