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
1c8ea218
Kaydet (Commit)
1c8ea218
authored
Haz 14, 2011
tarafından
Robert Dargaud
Kaydeden (comit)
Katarina Machalkova
Haz 14, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Unlimited number of conditions for conditional formatting
(Calc part)
üst
f7d31f5b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
97 additions
and
26 deletions
+97
-26
condfrmt.cxx
sc/source/ui/attrdlg/condfrmt.cxx
+0
-0
condfrmt.hrc
sc/source/ui/inc/condfrmt.hrc
+7
-0
condfrmt.hxx
sc/source/ui/inc/condfrmt.hxx
+48
-19
condfrmt.src
sc/source/ui/src/condfrmt.src
+42
-7
No files found.
sc/source/ui/attrdlg/condfrmt.cxx
Dosyayı görüntüle @
1c8ea218
This diff is collapsed.
Click to expand it.
sc/source/ui/inc/condfrmt.hrc
Dosyayı görüntüle @
1c8ea218
...
...
@@ -63,6 +63,13 @@
#define FL_SEP1 41
#define FL_SEP2 42
#define LB_SCROLL 43
#define WIN_CHAR_PREVIEW_COND1 44
#define WIN_CHAR_PREVIEW_COND2 45
#define WIN_CHAR_PREVIEW_COND3 46
#define BTN_INSERT 47
//IAccessibility2 Implementation 2009-----
#define LABEL_FORMARTTING_CONDITIONS 5043
#define LABEL_CONDITIONS 5044
...
...
sc/source/ui/inc/condfrmt.hxx
Dosyayı görüntüle @
1c8ea218
...
...
@@ -33,6 +33,7 @@
#include "anyrefdg.hxx"
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <svx/fntctrl.hxx>
class
ScDocument
;
...
...
@@ -52,49 +53,60 @@ public:
const
ScConditionalFormat
*
pCurrentFormat
);
~
ScConditionalFormatDlg
();
virtual
void
SetReference
(
const
ScRange
&
rRef
,
ScDocument
*
pDoc
);
virtual
void
AddRefEntry
();
virtual
void
SetReference
(
const
ScRange
&
rRef
,
ScDocument
*
pDoc
);
virtual
void
AddRefEntry
();
virtual
sal_Bool
IsRefInputMode
()
const
;
virtual
void
SetActive
();
virtual
void
SetActive
();
void
SliderMoved
();
sal_uInt16
GetSliderPos
();
virtual
sal_Bool
Close
();
private
:
CheckBox
aCbxCond1
;
ListBox
aLbCond11
;
ListBox
aLbCond12
;
formula
::
RefEdit
aEdtCond11
;
formula
::
RefButton
aRbCond11
;
formula
::
RefEdit
aEdtCond11
;
formula
::
RefButton
aRbCond11
;
FixedText
aFtCond1And
;
formula
::
RefEdit
aEdtCond12
;
formula
::
RefButton
aRbCond12
;
formula
::
RefEdit
aEdtCond12
;
formula
::
RefButton
aRbCond12
;
FixedText
aFtCond1Template
;
ListBox
aLbCond1Template
;
PushButton
aBtnNew1
;
SvxFontPrevWindow
aPreviewWin1
;
FixedLine
aFlSep1
;
CheckBox
aCbxCond2
;
ListBox
aLbCond21
;
ListBox
aLbCond22
;
formula
::
RefEdit
aEdtCond21
;
formula
::
RefButton
aRbCond21
;
formula
::
RefEdit
aEdtCond21
;
formula
::
RefButton
aRbCond21
;
FixedText
aFtCond2And
;
formula
::
RefEdit
aEdtCond22
;
formula
::
RefButton
aRbCond22
;
formula
::
RefEdit
aEdtCond22
;
formula
::
RefButton
aRbCond22
;
FixedText
aFtCond2Template
;
ListBox
aLbCond2Template
;
PushButton
aBtnNew2
;
SvxFontPrevWindow
aPreviewWin2
;
FixedLine
aFlSep2
;
CheckBox
aCbxCond3
;
ListBox
aLbCond31
;
ListBox
aLbCond32
;
formula
::
RefEdit
aEdtCond31
;
formula
::
RefButton
aRbCond31
;
formula
::
RefEdit
aEdtCond31
;
formula
::
RefButton
aRbCond31
;
FixedText
aFtCond3And
;
formula
::
RefEdit
aEdtCond32
;
formula
::
RefButton
aRbCond32
;
formula
::
RefEdit
aEdtCond32
;
formula
::
RefButton
aRbCond32
;
FixedText
aFtCond3Template
;
ListBox
aLbCond3Template
;
PushButton
aBtnNew3
;
SvxFontPrevWindow
aPreviewWin3
;
ScrollBar
aScrollBar
;
OKButton
aBtnOk
;
CancelButton
aBtnCancel
;
PushButton
aBtnInsert
;
HelpButton
aBtnHelp
;
Point
aCond1Pos1
;
...
...
@@ -120,31 +132,48 @@ private:
Size
aCond3Size1
;
Size
aCond3Size2
;
Size
aCond3Size3
;
FixedLine
aFlSep2
;
FixedLine
aFlSep1
;
formula
::
RefEdit
*
pEdActive
;
sal_Bool
bDlgLostFocus
;
formula
::
RefEdit
*
pEdActive
;
sal_Bool
bDlgLostFocus
;
ScDocument
*
pDoc
;
ScCondFormatEntry
**
ppEntries
;
sal_uInt16
nEntryCount
;
sal_uInt16
nCurrentOffset
;
String
aCbxCond1InitialText
;
String
aCbxCond2InitialText
;
String
aCbxCond3InitialText
;
#ifdef _CONDFRMT_CXX
void
InsertEntry
();
void
AddEntry
();
void
GetConditionalFormat
(
ScConditionalFormat
&
rCndFmt
);
void
Refresh
(
sal_uInt16
nOffset
);
void
UpdateValueList
(
sal_uInt16
nOffset
);
void
Cond1Cheked
(
sal_Bool
bChecked
);
void
Cond2Cheked
(
sal_Bool
bChecked
);
void
Cond3Cheked
(
sal_Bool
bChecked
);
DECL_LINK
(
ClickCond1Hdl
,
void
*
);
DECL_LINK
(
ChangeCond11Hdl
,
void
*
);
DECL_LINK
(
ChangeCond12Hdl
,
void
*
);
DECL_LINK
(
ChangeCond1TemplateHdl
,
void
*
);
DECL_LINK
(
ClickCond2Hdl
,
void
*
);
DECL_LINK
(
ChangeCond21Hdl
,
void
*
);
DECL_LINK
(
ChangeCond22Hdl
,
void
*
);
DECL_LINK
(
ChangeCond2TemplateHdl
,
void
*
);
DECL_LINK
(
ClickCond3Hdl
,
void
*
);
DECL_LINK
(
ChangeCond31Hdl
,
void
*
);
DECL_LINK
(
ChangeCond32Hdl
,
void
*
);
DECL_LINK
(
ChangeCond3TemplateHdl
,
void
*
);
DECL_LINK
(
GetFocusHdl
,
Control
*
);
DECL_LINK
(
LoseFocusHdl
,
Control
*
);
DECL_LINK
(
BtnHdl
,
PushButton
*
);
DECL_LINK
(
NewBtnHdl
,
PushButton
*
);
DECL_LINK
(
ScrollHdl
,
ScrollBar
*
);
#endif // _CONDFRMT_CXX
};
...
...
sc/source/ui/src/condfrmt.src
Dosyayı görüntüle @
1c8ea218
...
...
@@ -31,7 +31,7 @@ ModelessDialog RID_SCDLG_CONDFORMAT
{
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 3
1
6 , 161 ) ;
Size = MAP_APPFONT ( 3
2
6 , 161 ) ;
Moveable = TRUE ;
Closeable = TRUE ;
HelpId = HID_SCDLG_CONDFORMAT ;
...
...
@@ -136,10 +136,17 @@ ModelessDialog RID_SCDLG_CONDFORMAT
DropDown = TRUE ;
Sort = TRUE ;
};
Window WIN_CHAR_PREVIEW_COND1
{
Border = FALSE ;
Pos = MAP_APPFONT ( 124 , 34 ) ;
Size = MAP_APPFONT ( 41 , 14 ) ;
Text [ en-US ] = "Example";
};
PushButton BTN_COND1_NEW
{
HelpID = "sc:PushButton:RID_SCDLG_CONDFORMAT:BTN_COND1_NEW";
Pos = MAP_APPFONT ( 1
24
, 34 ) ;
Pos = MAP_APPFONT ( 1
69
, 34 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~New Style..." ;
...
...
@@ -249,10 +256,17 @@ ModelessDialog RID_SCDLG_CONDFORMAT
DropDown = TRUE ;
Sort = TRUE ;
};
Window WIN_CHAR_PREVIEW_COND2
{
Border = FALSE ;
Pos = MAP_APPFONT ( 124 , 88 ) ;
Size = MAP_APPFONT ( 41 , 14 ) ;
Text [ en-US ] = "Example";
};
PushButton BTN_COND2_NEW
{
HelpID = "sc:PushButton:RID_SCDLG_CONDFORMAT:BTN_COND2_NEW";
Pos = MAP_APPFONT ( 1
24
, 88 ) ;
Pos = MAP_APPFONT ( 1
69
, 88 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Ne~w Style..." ;
...
...
@@ -362,30 +376,51 @@ ModelessDialog RID_SCDLG_CONDFORMAT
DropDown = TRUE ;
Sort = TRUE ;
};
Window WIN_CHAR_PREVIEW_COND3
{
Border = FALSE ;
Pos = MAP_APPFONT ( 124 , 142 ) ;
Size = MAP_APPFONT ( 41 , 14 ) ;
Text [ en-US ] = "Example";
};
PushButton BTN_COND3_NEW
{
HelpID = "sc:PushButton:RID_SCDLG_CONDFORMAT:BTN_COND3_NEW";
Pos = MAP_APPFONT ( 1
24
, 142 ) ;
Pos = MAP_APPFONT ( 1
69
, 142 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "New ~Style..." ;
};
ScrollBar LB_SCROLL
{
Pos = MAP_APPFONT ( 260, 6 ) ;
Size = MAP_APPFONT ( 8 , 150 ) ;
TabStop = TRUE ;
VScroll = TRUE ;
};
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 2
6
0 , 6 ) ;
Pos = MAP_APPFONT ( 2
7
0 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 260 , 23 ) ;
Pos = MAP_APPFONT ( 270 , 23 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
PushButton BTN_INSERT
{
Pos = MAP_APPFONT ( 270 , 57 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Insert" ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 2
60 , 43
) ;
Pos = MAP_APPFONT ( 2
70 , 74
) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
...
...
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