Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8fc01a95
Kaydet (Commit)
8fc01a95
authored
Nis 26, 2007
tarafından
Rüdiger Timm
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS residcleanup (1.36.32); FILE MERGED
2007/02/21 22:04:14 pl 1.36.32.1: #i74635# get rid of global ResMgr
üst
022420b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
41 deletions
+41
-41
tpline.cxx
svx/source/dialog/tpline.cxx
+41
-41
No files found.
svx/source/dialog/tpline.cxx
Dosyayı görüntüle @
8fc01a95
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: tpline.cxx,v $
*
* $Revision: 1.3
6
$
* $Revision: 1.3
7
$
*
* last change: $Author:
obo $ $Date: 2007-01-23 11:37:47
$
* last change: $Author:
rt $ $Date: 2007-04-26 07:46:34
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -177,32 +177,32 @@ SvxLineTabPage::SvxLineTabPage
const
SfxItemSet
&
rInAttrs
)
:
SvxTabPage
(
pParent
,
SVX_RES
(
RID_SVXPAGE_LINE
),
rInAttrs
),
aFtLineStyle
(
this
,
ResId
(
FT_LINE_STYLE
)
),
aLbLineStyle
(
this
,
ResId
(
LB_LINE_STYLE
)
),
aFtColor
(
this
,
ResId
(
FT_COLOR
)
),
aLbColor
(
this
,
ResId
(
LB_COLOR
)
),
aFtLineWidth
(
this
,
ResId
(
FT_LINE_WIDTH
)
),
aMtrLineWidth
(
this
,
ResId
(
MTR_FLD_LINE_WIDTH
)
),
aFtTransparent
(
this
,
ResId
(
FT_TRANSPARENT
)
),
aMtrTransparent
(
this
,
ResId
(
MTR_LINE_TRANSPARENT
)
),
aFlLine
(
this
,
ResId
(
FL_LINE
)
),
aFtLineEndsStyle
(
this
,
ResId
(
FT_LINE_ENDS_STYLE
)
),
aLbStartStyle
(
this
,
ResId
(
LB_START_STYLE
)
),
aFtLineEndsWidth
(
this
,
ResId
(
FT_LINE_ENDS_WIDTH
)
),
aMtrStartWidth
(
this
,
ResId
(
MTR_FLD_START_WIDTH
)
),
aTsbCenterStart
(
this
,
ResId
(
TSB_CENTER_START
)
),
aLbEndStyle
(
this
,
ResId
(
LB_END_STYLE
)
),
aMtrEndWidth
(
this
,
ResId
(
MTR_FLD_END_WIDTH
)
),
aTsbCenterEnd
(
this
,
ResId
(
TSB_CENTER_END
)
),
aCbxSynchronize
(
this
,
ResId
(
CBX_SYNCHRONIZE
)
),
aFlLineEnds
(
this
,
ResId
(
FL_LINE_ENDS
)
),
aCtlPreview
(
this
,
ResId
(
CTL_PREVIEW
),
&
XOut
),
aFLSeparator
(
this
,
ResId
(
FL_SEPARATOR
)
),
aFtLineStyle
(
this
,
SVX_RES
(
FT_LINE_STYLE
)
),
aLbLineStyle
(
this
,
SVX_RES
(
LB_LINE_STYLE
)
),
aFtColor
(
this
,
SVX_RES
(
FT_COLOR
)
),
aLbColor
(
this
,
SVX_RES
(
LB_COLOR
)
),
aFtLineWidth
(
this
,
SVX_RES
(
FT_LINE_WIDTH
)
),
aMtrLineWidth
(
this
,
SVX_RES
(
MTR_FLD_LINE_WIDTH
)
),
aFtTransparent
(
this
,
SVX_RES
(
FT_TRANSPARENT
)
),
aMtrTransparent
(
this
,
SVX_RES
(
MTR_LINE_TRANSPARENT
)
),
aFlLine
(
this
,
SVX_RES
(
FL_LINE
)
),
aFtLineEndsStyle
(
this
,
SVX_RES
(
FT_LINE_ENDS_STYLE
)
),
aLbStartStyle
(
this
,
SVX_RES
(
LB_START_STYLE
)
),
aFtLineEndsWidth
(
this
,
SVX_RES
(
FT_LINE_ENDS_WIDTH
)
),
aMtrStartWidth
(
this
,
SVX_RES
(
MTR_FLD_START_WIDTH
)
),
aTsbCenterStart
(
this
,
SVX_RES
(
TSB_CENTER_START
)
),
aLbEndStyle
(
this
,
SVX_RES
(
LB_END_STYLE
)
),
aMtrEndWidth
(
this
,
SVX_RES
(
MTR_FLD_END_WIDTH
)
),
aTsbCenterEnd
(
this
,
SVX_RES
(
TSB_CENTER_END
)
),
aCbxSynchronize
(
this
,
SVX_RES
(
CBX_SYNCHRONIZE
)
),
aFlLineEnds
(
this
,
SVX_RES
(
FL_LINE_ENDS
)
),
aCtlPreview
(
this
,
SVX_RES
(
CTL_PREVIEW
),
&
XOut
),
aFLSeparator
(
this
,
SVX_RES
(
FL_SEPARATOR
)
),
// #116827#
maFLEdgeStyle
(
this
,
ResId
(
FL_EDGE_STYLE
)
),
maFTEdgeStyle
(
this
,
ResId
(
FT_EDGE_STYLE
)
),
maLBEdgeStyle
(
this
,
ResId
(
LB_EDGE_STYLE
)
),
maFLEdgeStyle
(
this
,
SVX_RES
(
FL_EDGE_STYLE
)
),
maFTEdgeStyle
(
this
,
SVX_RES
(
FT_EDGE_STYLE
)
),
maLBEdgeStyle
(
this
,
SVX_RES
(
LB_EDGE_STYLE
)
),
pSymbolList
(
NULL
),
bNewSize
(
false
),
...
...
@@ -210,13 +210,13 @@ SvxLineTabPage::SvxLineTabPage
nSymbolType
(
SVX_SYMBOLTYPE_UNKNOWN
),
//unbekannt bzw. unchanged
pSymbolAttr
(
NULL
),
//#58425# Symbole auf einer Linie (z.B. StarChart)
aFlSymbol
(
this
,
ResId
(
FL_SYMBOL_FORMAT
)),
aSymbolMB
(
this
,
ResId
(
MB_SYMBOL_BITMAP
)),
aSymbolWidthFT
(
this
,
ResId
(
FT_SYMBOL_WIDTH
)),
aSymbolWidthMF
(
this
,
ResId
(
MF_SYMBOL_WIDTH
)),
aSymbolHeightFT
(
this
,
ResId
(
FT_SYMBOL_HEIGHT
)),
aSymbolHeightMF
(
this
,
ResId
(
MF_SYMBOL_HEIGHT
)),
aSymbolRatioCB
(
this
,
ResId
(
CB_SYMBOL_RATIO
)),
aFlSymbol
(
this
,
SVX_RES
(
FL_SYMBOL_FORMAT
)),
aSymbolMB
(
this
,
SVX_RES
(
MB_SYMBOL_BITMAP
)),
aSymbolWidthFT
(
this
,
SVX_RES
(
FT_SYMBOL_WIDTH
)),
aSymbolWidthMF
(
this
,
SVX_RES
(
MF_SYMBOL_WIDTH
)),
aSymbolHeightFT
(
this
,
SVX_RES
(
FT_SYMBOL_HEIGHT
)),
aSymbolHeightMF
(
this
,
SVX_RES
(
MF_SYMBOL_HEIGHT
)),
aSymbolRatioCB
(
this
,
SVX_RES
(
CB_SYMBOL_RATIO
)),
bLastWidthModified
(
FALSE
),
aSymbolLastSize
(
Size
(
0
,
0
)),
...
...
@@ -357,12 +357,12 @@ void SvxLineTabPage::FillListboxes()
{
// aCtlPreview.SetDrawMode( GetDisplayBackground().GetColor().IsDark() ? OUTPUT_DRAWMODE_CONTRAST : OUTPUT_DRAWMODE_COLOR );
ResMgr
*
p
Mgr
=
DIALOG_MGR
();
ResMgr
&
r
Mgr
=
DIALOG_MGR
();
// Linienstile
USHORT
nOldSelect
=
aLbLineStyle
.
GetSelectEntryPos
();
aLbLineStyle
.
Clear
();
aLbLineStyle
.
InsertEntry
(
String
(
ResId
(
RID_SVXSTR_INVISIBLE
,
p
Mgr
)
)
);
aLbLineStyle
.
InsertEntry
(
String
(
ResId
(
RID_SVXSTR_INVISIBLE
,
r
Mgr
)
)
);
const
StyleSettings
&
rStyles
=
Application
::
GetSettings
().
GetStyleSettings
();
Bitmap
aBitmap
(
SVX_RES
(
RID_SVXCTRL_LINECTRL
)
);
...
...
@@ -377,12 +377,12 @@ void SvxLineTabPage::FillListboxes()
aBitmap
.
Replace
(
aSourceColors
,
aDestColors
,
2
);
Image
aSolidLine
(
aBitmap
);
aLbLineStyle
.
InsertEntry
(
String
(
ResId
(
RID_SVXSTR_SOLID
,
p
Mgr
)
),
aSolidLine
);
aLbLineStyle
.
InsertEntry
(
String
(
ResId
(
RID_SVXSTR_SOLID
,
r
Mgr
)
),
aSolidLine
);
aLbLineStyle
.
Fill
(
pDashList
);
aLbLineStyle
.
SelectEntryPos
(
nOldSelect
);
// LinienEndenStile
String
sNone
(
ResId
(
RID_SVXSTR_NONE
,
p
Mgr
)
);
String
sNone
(
ResId
(
RID_SVXSTR_NONE
,
r
Mgr
)
);
nOldSelect
=
aLbStartStyle
.
GetSelectEntryPos
();
aLbStartStyle
.
Clear
();
aLbStartStyle
.
InsertEntry
(
sNone
);
...
...
@@ -404,7 +404,7 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
SetPageType
(
pPageTypeItem
->
GetValue
());
//add CHINA001 end
if
(
nDlgType
==
0
&&
pDashList
)
//CHINA001 if( *pDlgType == 0 && pDashList ) // Linien-Dialog
{
ResMgr
*
p
Mgr
=
DIALOG_MGR
();
ResMgr
&
r
Mgr
=
DIALOG_MGR
();
USHORT
nPos
;
USHORT
nCount
;
...
...
@@ -422,9 +422,9 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
aLbLineStyle
.
Clear
();
aLbLineStyle
.
InsertEntry
(
String
(
ResId
(
RID_SVXSTR_INVISIBLE
,
p
Mgr
)
)
);
String
(
ResId
(
RID_SVXSTR_INVISIBLE
,
r
Mgr
)
)
);
aLbLineStyle
.
InsertEntry
(
String
(
ResId
(
RID_SVXSTR_SOLID
,
p
Mgr
)
)
);
String
(
ResId
(
RID_SVXSTR_SOLID
,
r
Mgr
)
)
);
aLbLineStyle
.
Fill
(
pDashList
);
nCount
=
aLbLineStyle
.
GetEntryCount
();
...
...
@@ -465,7 +465,7 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
*
pnLineEndListState
=
CT_NONE
;
nPos
=
aLbLineStyle
.
GetSelectEntryPos
();
String
sNone
(
ResId
(
RID_SVXSTR_NONE
,
p
Mgr
)
);
String
sNone
(
ResId
(
RID_SVXSTR_NONE
,
r
Mgr
)
);
aLbStartStyle
.
Clear
();
aLbStartStyle
.
InsertEntry
(
sNone
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment