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
79086924
Kaydet (Commit)
79086924
authored
Tem 12, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
GtkComboBox->GtkComboBoxText to use the items, etc
Change-Id: I6ece0c471fbe21fc832c4c65a02bfbc9cf991a5a
üst
9f0644d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
65 deletions
+64
-65
helpids.h
sc/inc/helpids.h
+0
-1
areasdlg.hxx
sc/source/ui/inc/areasdlg.hxx
+0
-3
areasdlg.cxx
sc/source/ui/pagedlg/areasdlg.cxx
+12
-16
printareasdialog.ui
sc/uiconfig/scalc/ui/printareasdialog.ui
+52
-45
No files found.
sc/inc/helpids.h
Dosyayı görüntüle @
79086924
...
...
@@ -60,7 +60,6 @@
#define HID_SC_PIVOTSUBT "SC_HID_SC_PIVOTSUBT"
#define HID_SCPAGE_SUBT_OPTIONS "SC_HID_SCPAGE_SUBT_OPTIONS"
#define HID_SCPAGE_SUBT_GROUP "SC_HID_SCPAGE_SUBT_GROUP"
#define HID_SCPAGE_AREAS "SC_HID_SCPAGE_AREAS"
#define HID_SCPAGE_SUBT_GROUP1 "SC_HID_SCPAGE_SUBT_GROUP1"
#define HID_SCPAGE_SUBT_GROUP2 "SC_HID_SCPAGE_SUBT_GROUP2"
#define HID_SCPAGE_SUBT_GROUP3 "SC_HID_SCPAGE_SUBT_GROUP3"
...
...
sc/source/ui/inc/areasdlg.hxx
Dosyayı görüntüle @
79086924
...
...
@@ -48,17 +48,14 @@ public:
virtual
sal_Bool
Close
();
private
:
FixedLine
*
pFlPrintArea
;
ListBox
*
pLbPrintArea
;
formula
::
RefEdit
*
pEdPrintArea
;
formula
::
RefButton
*
pRbPrintArea
;
FixedLine
*
pFlRepeatRow
;
ListBox
*
pLbRepeatRow
;
formula
::
RefEdit
*
pEdRepeatRow
;
formula
::
RefButton
*
pRbRepeatRow
;
FixedLine
*
pFlRepeatCol
;
ListBox
*
pLbRepeatCol
;
formula
::
RefEdit
*
pEdRepeatCol
;
formula
::
RefButton
*
pRbRepeatCol
;
...
...
sc/source/ui/pagedlg/areasdlg.cxx
Dosyayı görüntüle @
79086924
...
...
@@ -105,32 +105,28 @@ static void printAddressFlags(sal_uInt16 nFlag)
//----------------------------------------------------------------------------
ScPrintAreasDlg
::
ScPrintAreasDlg
(
SfxBindings
*
pB
,
SfxChildWindow
*
pCW
,
Window
*
pParent
)
:
ScAnyRefDlg
(
pB
,
pCW
,
pParent
,
"PrintAreasDialog"
,
"modules/scalc/ui/printareasdialog.ui"
),
//
bDlgLostFocus
(
false
),
pDoc
(
NULL
),
pViewData
(
NULL
),
nCurTab
(
0
)
:
ScAnyRefDlg
(
pB
,
pCW
,
pParent
,
"PrintAreasDialog"
,
"modules/scalc/ui/printareasdialog.ui"
)
,
bDlgLostFocus
(
false
)
,
pDoc
(
NULL
)
,
pViewData
(
NULL
)
,
nCurTab
(
0
)
{
get
(
pFlPrintArea
,
"label1"
);
get
(
pLbPrintArea
,
"lbprintarea"
);
get
(
pEdPrintArea
,
"edprintarea"
);
pEdPrintArea
->
SetReferences
(
this
,
pFlPrintArea
);
pEdPrintArea
->
SetReferences
(
this
,
get
<
VclFrame
>
(
"printframe"
)
->
get_label_widget
()
);
pRefInputEdit
=
pEdPrintArea
;
get
(
pRbPrintArea
,
"rbprintarea"
);
pRbPrintArea
->
SetReferences
(
this
,
pEdPrintArea
);
get
(
pFlRepeatRow
,
"label2"
);
get
(
pLbRepeatRow
,
"lbrepeatrow"
);
get
(
pEdRepeatRow
,
"edrepeatrow"
);
pEdRepeatRow
->
SetReferences
(
this
,
pFlRepeatRow
);
pEdRepeatRow
->
SetReferences
(
this
,
get
<
VclFrame
>
(
"rowframe"
)
->
get_label_widget
()
);
get
(
pRbRepeatRow
,
"rbrepeatrow"
);
pRbRepeatRow
->
SetReferences
(
this
,
pEdRepeatRow
);
get
(
pFlRepeatCol
,
"label3"
);
get
(
pLbRepeatCol
,
"lbrepeatcol"
);
get
(
pEdRepeatCol
,
"edrepeatcol"
);
pEdRepeatCol
->
SetReferences
(
this
,
pFlRepeatCol
);
pEdRepeatCol
->
SetReferences
(
this
,
get
<
VclFrame
>
(
"colframe"
)
->
get_label_widget
()
);
get
(
pRbRepeatCol
,
"rbrepeatcol"
);
pRbRepeatCol
->
SetReferences
(
this
,
pEdRepeatCol
);
...
...
@@ -162,13 +158,13 @@ ScPrintAreasDlg::ScPrintAreasDlg( SfxBindings* pB, SfxChildWindow* pCW, Window*
ScPrintAreasDlg
::~
ScPrintAreasDlg
()
{
// Extra-Data an ListBox-Entries abraeumen
ListBox
*
p
Lb
[
3
]
=
{
pLbPrintArea
,
pLbRepeatRow
,
pLbRepeatCol
};
ListBox
*
a
Lb
[
3
]
=
{
pLbPrintArea
,
pLbRepeatRow
,
pLbRepeatCol
};
for
(
sal_uInt16
i
=
0
;
i
<
3
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aLb
);
++
i
)
{
sal_uInt16
nCount
=
p
Lb
[
i
]
->
GetEntryCount
();
sal_uInt16
nCount
=
a
Lb
[
i
]
->
GetEntryCount
();
for
(
sal_uInt16
j
=
0
;
j
<
nCount
;
j
++
)
delete
(
String
*
)
p
Lb
[
i
]
->
GetEntryData
(
j
);
delete
(
String
*
)
a
Lb
[
i
]
->
GetEntryData
(
j
);
}
}
...
...
sc/uiconfig/scalc/ui/printareasdialog.ui
Dosyayı görüntüle @
79086924
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkDialog"
id=
"PrintAreasDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
Edit Print Ranges
</property>
<property
name=
"type_hint"
>
dialog
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"internal-box1"
>
...
...
@@ -19,6 +21,8 @@
<property
name=
"label"
>
gtk-ok
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
...
...
@@ -71,7 +75,7 @@
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<object
class=
"GtkFrame"
id=
"
frame1
"
>
<object
class=
"GtkFrame"
id=
"
printframe
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
...
...
@@ -119,15 +123,16 @@
</packing>
</child>
<child>
<object
class=
"GtkComboBox"
id=
"lbprintarea"
>
<object
class=
"GtkComboBox
Text
"
id=
"lbprintarea"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"entry_text_column"
>
0
</property>
<property
name=
"id_column"
>
1
</property>
<items>
<item>
- none -
</item>
<item>
- entire sheet -
</item>
<item>
- user defined -
</item>
<item>
- selection -
</item>
<item
translatable=
"yes"
>
- none -
</item>
<item
translatable=
"yes"
>
- entire sheet -
</item>
<item
translatable=
"yes"
>
- user defined -
</item>
<item
translatable=
"yes"
>
- selection -
</item>
</items>
</object>
<packing>
...
...
@@ -159,7 +164,7 @@
</packing>
</child>
<child>
<object
class=
"GtkFrame"
id=
"
frame2
"
>
<object
class=
"GtkFrame"
id=
"
rowframe
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
...
...
@@ -176,23 +181,6 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkComboBox"
id=
"lbrepeatrow"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<items>
<item>
- none -
</item>
<item>
- user defined -
</item>
</items>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"foruilo-RefEdit"
id=
"edrepeatrow"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -210,7 +198,7 @@
<child>
<object
class=
"foruilo-RefButton"
id=
"rbrepeatrow"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
Fal
es
</property>
<property
name=
"can_focus"
>
Fal
se
</property>
<property
name=
"receives_default"
>
False
</property>
<child>
<placeholder/>
...
...
@@ -223,6 +211,24 @@
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"lbrepeatrow"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"entry_text_column"
>
0
</property>
<property
name=
"id_column"
>
1
</property>
<items>
<item
translatable=
"yes"
>
- none -
</item>
<item
translatable=
"yes"
>
- user defined -
</item>
</items>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
...
...
@@ -231,7 +237,7 @@
<object
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Move
s to repeat
</property>
<property
name=
"label"
translatable=
"yes"
>
Row
s to repeat
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
...
...
@@ -245,7 +251,7 @@
</packing>
</child>
<child>
<object
class=
"GtkFrame"
id=
"
frame3
"
>
<object
class=
"GtkFrame"
id=
"
colframe
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
...
...
@@ -262,23 +268,6 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkComboBox"
id=
"lbrepeatcol"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<items>
<item>
- none -
</item>
<item>
- user defined -
</item>
</items>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"foruilo-RefEdit"
id=
"edrepeatcol"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -309,6 +298,24 @@
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"lbrepeatcol"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"entry_text_column"
>
0
</property>
<property
name=
"id_column"
>
1
</property>
<items>
<item
translatable=
"yes"
>
- none -
</item>
<item
translatable=
"yes"
>
- user defined -
</item>
</items>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
...
...
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