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
03497c8b
Kaydet (Commit)
03497c8b
authored
Şub 13, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Data Field Options Dialog to .ui
Change-Id: Ie940352828a9b58d35dd1644d030d6fb5b72d386
üst
74b6cd0e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
689 additions
and
331 deletions
+689
-331
UIConfig_scalc.mk
sc/UIConfig_scalc.mk
+1
-0
helpids.h
sc/inc/helpids.h
+0
-2
sc.hrc
sc/inc/sc.hrc
+0
-1
pvfundlg.cxx
sc/source/ui/dbgui/pvfundlg.cxx
+90
-97
pvfundlg.src
sc/source/ui/dbgui/pvfundlg.src
+0
-204
pvfundlg.hxx
sc/source/ui/inc/pvfundlg.hxx
+24
-27
datafieldoptionsdialog.ui
sc/uiconfig/scalc/ui/datafieldoptionsdialog.ui
+574
-0
No files found.
sc/UIConfig_scalc.mk
Dosyayı görüntüle @
03497c8b
...
...
@@ -75,6 +75,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/createnamesdialog \
sc/uiconfig/scalc/ui/databaroptions \
sc/uiconfig/scalc/ui/datafielddialog \
sc/uiconfig/scalc/ui/datafieldoptionsdialog \
sc/uiconfig/scalc/ui/dataform \
sc/uiconfig/scalc/ui/datastreams \
sc/uiconfig/scalc/ui/definedatabaserangedialog \
...
...
sc/inc/helpids.h
Dosyayı görüntüle @
03497c8b
...
...
@@ -142,8 +142,6 @@
#define HID_SC_DRAW_RENAME "SC_HID_SC_DRAW_RENAME"
#define HID_SC_DPSUBT_OPT "SC_HID_SC_DPSUBT_OPT"
#define HID_SC_DPSUBT_HIDE "SC_HID_SC_DPSUBT_HIDE"
#define HID_SC_DPNUMGROUP "SC_HID_SC_DPNUMGROUP"
#define HID_SC_DPDATEGROUP "SC_HID_SC_DPDATEGROUP"
#define HID_SC_DPDATEGROUP_LB "SC_HID_SC_DPDATEGROUP_LB"
...
...
sc/inc/sc.hrc
Dosyayı görüntüle @
03497c8b
...
...
@@ -1070,7 +1070,6 @@
#define RID_SCDLG_DAPISERVICE (SC_DIALOGS_START + 130)
#define RID_SCDLG_DPSUBTOTAL_OPT (SC_DIALOGS_START + 134)
#define RID_SCDLG_DPNUMGROUP (SC_DIALOGS_START + 135)
#define RID_SCDLG_DPDATEGROUP (SC_DIALOGS_START + 136)
#define RID_SCDLG_DPSHOWDETAIL (SC_DIALOGS_START + 137)
...
...
sc/source/ui/dbgui/pvfundlg.cxx
Dosyayı görüntüle @
03497c8b
...
...
@@ -523,38 +523,36 @@ IMPL_LINK( ScDPSubtotalDlg, ClickHdl, PushButton*, pBtn )
ScDPSubtotalOptDlg
::
ScDPSubtotalOptDlg
(
Window
*
pParent
,
ScDPObject
&
rDPObj
,
const
ScDPLabelData
&
rLabelData
,
const
ScDPNameVec
&
rDataFields
,
bool
bEnableLayout
)
:
ModalDialog
(
pParent
,
ScResId
(
RID_SCDLG_DPSUBTOTAL_OPT
)
),
maFlSortBy
(
this
,
ScResId
(
FL_SORT_BY
)
),
maLbSortBy
(
this
,
ScResId
(
LB_SORT_BY
)
),
maRbSortAsc
(
this
,
ScResId
(
RB_SORT_ASC
)
),
maRbSortDesc
(
this
,
ScResId
(
RB_SORT_DESC
)
),
maRbSortMan
(
this
,
ScResId
(
RB_SORT_MAN
)
),
maFlLayout
(
this
,
ScResId
(
FL_LAYOUT
)
),
maFtLayout
(
this
,
ScResId
(
FT_LAYOUT
)
),
maLbLayout
(
this
,
ScResId
(
LB_LAYOUT
)
),
maCbLayoutEmpty
(
this
,
ScResId
(
CB_LAYOUT_EMPTY
)
),
maFlAutoShow
(
this
,
ScResId
(
FL_AUTOSHOW
)
),
maCbShow
(
this
,
ScResId
(
CB_SHOW
)
),
maNfShow
(
this
,
ScResId
(
NF_SHOW
)
),
maFtShow
(
this
,
ScResId
(
FT_SHOW
)
),
maFtShowFrom
(
this
,
ScResId
(
FT_SHOW_FROM
)
),
maLbShowFrom
(
this
,
ScResId
(
LB_SHOW_FROM
)
),
maFtShowUsing
(
this
,
ScResId
(
FT_SHOW_USING
)
),
maLbShowUsing
(
this
,
ScResId
(
LB_SHOW_USING
)
),
maFlHide
(
this
,
ScResId
(
FL_HIDE
)
),
maLbHide
(
this
,
ScResId
(
CT_HIDE
)
),
maFtHierarchy
(
this
,
ScResId
(
FT_HIERARCHY
)
),
maLbHierarchy
(
this
,
ScResId
(
LB_HIERARCHY
)
),
maBtnOk
(
this
,
ScResId
(
BTN_OK
)
),
maBtnCancel
(
this
,
ScResId
(
BTN_CANCEL
)
),
maBtnHelp
(
this
,
ScResId
(
BTN_HELP
)
),
maLbLayoutWrp
(
maLbLayout
,
spLayoutMap
),
maLbShowFromWrp
(
maLbShowFrom
,
spShowFromMap
),
mrDPObj
(
rDPObj
),
maLabelData
(
rLabelData
)
bool
bEnableLayout
)
:
ModalDialog
(
pParent
,
"DataFieldOptionsDialog"
,
"modules/scalc/ui/datafieldoptionsdialog.ui"
)
,
mrDPObj
(
rDPObj
)
,
maLabelData
(
rLabelData
)
{
FreeResource
();
get
(
m_pLbSortBy
,
"sortby"
);
m_pLbSortBy
->
set_width_request
(
m_pLbSortBy
->
approximate_char_width
()
*
20
);
get
(
m_pRbSortAsc
,
"ascending"
);
get
(
m_pRbSortDesc
,
"descending"
);
get
(
m_pRbSortMan
,
"manual"
);
get
(
m_pLayoutFrame
,
"layoutframe"
);
get
(
m_pLbLayout
,
"layout"
);
get
(
m_pCbLayoutEmpty
,
"emptyline"
);
get
(
m_pCbShow
,
"show"
);
get
(
m_pNfShow
,
"items"
);
get
(
m_pFtShow
,
"showft"
);
get
(
m_pFtShowFrom
,
"showfromft"
);
get
(
m_pLbShowFrom
,
"from"
);
get
(
m_pFtShowUsing
,
"usingft"
);
get
(
m_pLbShowUsing
,
"using"
);
get
(
m_pHideFrame
,
"hideframe"
);
get
(
m_pLbHide
,
"hideitems"
);
m_pLbHide
->
set_height_request
(
GetTextHeight
()
*
5
);
get
(
m_pFtHierarchy
,
"hierarchyft"
);
get
(
m_pLbHierarchy
,
"hierarchy"
);
m_xLbLayoutWrp
.
reset
(
new
ScDPListBoxWrapper
(
*
m_pLbLayout
,
spLayoutMap
));
m_xLbShowFromWrp
.
reset
(
new
ScDPListBoxWrapper
(
*
m_pLbShowFrom
,
spShowFromMap
));
Init
(
rDataFields
,
bEnableLayout
);
}
...
...
@@ -562,34 +560,34 @@ void ScDPSubtotalOptDlg::FillLabelData( ScDPLabelData& rLabelData ) const
{
// *** SORTING ***
if
(
m
aRbSortMan
.
IsChecked
()
)
if
(
m
_pRbSortMan
->
IsChecked
()
)
rLabelData
.
maSortInfo
.
Mode
=
DataPilotFieldSortMode
::
MANUAL
;
else
if
(
m
aLbSortBy
.
GetSelectEntryPos
()
==
SC_SORTNAME_POS
)
else
if
(
m
_pLbSortBy
->
GetSelectEntryPos
()
==
SC_SORTNAME_POS
)
rLabelData
.
maSortInfo
.
Mode
=
DataPilotFieldSortMode
::
NAME
;
else
rLabelData
.
maSortInfo
.
Mode
=
DataPilotFieldSortMode
::
DATA
;
ScDPName
aFieldName
=
GetFieldName
(
m
aLbSortBy
.
GetSelectEntry
());
ScDPName
aFieldName
=
GetFieldName
(
m
_pLbSortBy
->
GetSelectEntry
());
if
(
!
aFieldName
.
maName
.
isEmpty
())
{
rLabelData
.
maSortInfo
.
Field
=
ScDPUtil
::
createDuplicateDimensionName
(
aFieldName
.
maName
,
aFieldName
.
mnDupCount
);
rLabelData
.
maSortInfo
.
IsAscending
=
m
aRbSortAsc
.
IsChecked
();
rLabelData
.
maSortInfo
.
IsAscending
=
m
_pRbSortAsc
->
IsChecked
();
}
// *** LAYOUT MODE ***
rLabelData
.
maLayoutInfo
.
LayoutMode
=
m
aLbLayoutWrp
.
GetControlValue
();
rLabelData
.
maLayoutInfo
.
AddEmptyLines
=
m
aCbLayoutEmpty
.
IsChecked
();
rLabelData
.
maLayoutInfo
.
LayoutMode
=
m
_xLbLayoutWrp
->
GetControlValue
();
rLabelData
.
maLayoutInfo
.
AddEmptyLines
=
m
_pCbLayoutEmpty
->
IsChecked
();
// *** AUTO SHOW ***
aFieldName
=
GetFieldName
(
m
aLbShowUsing
.
GetSelectEntry
());
aFieldName
=
GetFieldName
(
m
_pLbShowUsing
->
GetSelectEntry
());
if
(
!
aFieldName
.
maName
.
isEmpty
())
{
rLabelData
.
maShowInfo
.
IsEnabled
=
m
aCbShow
.
IsChecked
();
rLabelData
.
maShowInfo
.
ShowItemsMode
=
m
aLbShowFromWrp
.
GetControlValue
();
rLabelData
.
maShowInfo
.
ItemCount
=
sal
::
static_int_cast
<
sal_Int32
>
(
m
aNfShow
.
GetValue
()
);
rLabelData
.
maShowInfo
.
IsEnabled
=
m
_pCbShow
->
IsChecked
();
rLabelData
.
maShowInfo
.
ShowItemsMode
=
m
_xLbShowFromWrp
->
GetControlValue
();
rLabelData
.
maShowInfo
.
ItemCount
=
sal
::
static_int_cast
<
sal_Int32
>
(
m
_pNfShow
->
GetValue
()
);
rLabelData
.
maShowInfo
.
DataField
=
ScDPUtil
::
createDuplicateDimensionName
(
aFieldName
.
maName
,
aFieldName
.
mnDupCount
);
}
...
...
@@ -597,13 +595,13 @@ void ScDPSubtotalOptDlg::FillLabelData( ScDPLabelData& rLabelData ) const
// *** HIDDEN ITEMS ***
rLabelData
.
maMembers
=
maLabelData
.
maMembers
;
sal_uLong
nVisCount
=
m
aLbHide
.
GetEntryCount
();
sal_uLong
nVisCount
=
m
_pLbHide
->
GetEntryCount
();
for
(
sal_uInt16
nPos
=
0
;
nPos
<
nVisCount
;
++
nPos
)
rLabelData
.
maMembers
[
nPos
].
mbVisible
=
!
m
aLbHide
.
IsChecked
(
nPos
);
rLabelData
.
maMembers
[
nPos
].
mbVisible
=
!
m
_pLbHide
->
IsChecked
(
nPos
);
// *** HIERARCHY ***
rLabelData
.
mnUsedHier
=
m
aLbHierarchy
.
GetSelectEntryCount
()
?
maLbHierarchy
.
GetSelectEntryPos
()
:
0
;
rLabelData
.
mnUsedHier
=
m
_pLbHierarchy
->
GetSelectEntryCount
()
?
m_pLbHierarchy
->
GetSelectEntryPos
()
:
0
;
}
void
ScDPSubtotalOptDlg
::
Init
(
const
ScDPNameVec
&
rDataFields
,
bool
bEnableLayout
)
...
...
@@ -613,110 +611,105 @@ void ScDPSubtotalOptDlg::Init( const ScDPNameVec& rDataFields, bool bEnableLayou
sal_Int32
nSortMode
=
maLabelData
.
maSortInfo
.
Mode
;
// sort fields list box
m
aLbSortBy
.
InsertEntry
(
maLabelData
.
getDisplayName
());
m
_pLbSortBy
->
InsertEntry
(
maLabelData
.
getDisplayName
());
for
(
ScDPNameVec
::
const_iterator
aIt
=
rDataFields
.
begin
(),
aEnd
=
rDataFields
.
end
();
aIt
!=
aEnd
;
++
aIt
)
{
// Cache names for later lookup.
maDataFieldNameMap
.
insert
(
NameMapType
::
value_type
(
aIt
->
maLayoutName
,
*
aIt
));
m
aLbSortBy
.
InsertEntry
(
aIt
->
maLayoutName
);
m
aLbShowUsing
.
InsertEntry
(
aIt
->
maLayoutName
);
// for AutoShow
m
_pLbSortBy
->
InsertEntry
(
aIt
->
maLayoutName
);
m
_pLbShowUsing
->
InsertEntry
(
aIt
->
maLayoutName
);
// for AutoShow
}
if
(
m
aLbSortBy
.
GetEntryCount
()
>
SC_SORTDATA_POS
)
m
aLbSortBy
.
SetSeparatorPos
(
SC_SORTDATA_POS
-
1
);
if
(
m
_pLbSortBy
->
GetEntryCount
()
>
SC_SORTDATA_POS
)
m
_pLbSortBy
->
SetSeparatorPos
(
SC_SORTDATA_POS
-
1
);
sal_uInt16
nSortPos
=
SC_SORTNAME_POS
;
if
(
nSortMode
==
DataPilotFieldSortMode
::
DATA
)
{
nSortPos
=
FindListBoxEntry
(
ma
LbSortBy
,
maLabelData
.
maSortInfo
.
Field
,
SC_SORTDATA_POS
);
if
(
nSortPos
>=
m
aLbSortBy
.
GetEntryCount
()
)
nSortPos
=
FindListBoxEntry
(
*
m_p
LbSortBy
,
maLabelData
.
maSortInfo
.
Field
,
SC_SORTDATA_POS
);
if
(
nSortPos
>=
m
_pLbSortBy
->
GetEntryCount
()
)
{
nSortPos
=
SC_SORTNAME_POS
;
nSortMode
=
DataPilotFieldSortMode
::
MANUAL
;
}
}
m
aLbSortBy
.
SelectEntryPos
(
nSortPos
);
m
_pLbSortBy
->
SelectEntryPos
(
nSortPos
);
// sorting mode
m
aRbSortAsc
.
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
RadioClickHdl
)
);
m
aRbSortDesc
.
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
RadioClickHdl
)
);
m
aRbSortMan
.
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
RadioClickHdl
)
);
m
_pRbSortAsc
->
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
RadioClickHdl
)
);
m
_pRbSortDesc
->
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
RadioClickHdl
)
);
m
_pRbSortMan
->
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
RadioClickHdl
)
);
RadioButton
*
pRBtn
=
0
;
switch
(
nSortMode
)
{
case
DataPilotFieldSortMode
:
:
NONE
:
case
DataPilotFieldSortMode
:
:
MANUAL
:
pRBtn
=
&
ma
RbSortMan
;
pRBtn
=
m_p
RbSortMan
;
break
;
default
:
pRBtn
=
maLabelData
.
maSortInfo
.
IsAscending
?
&
maRbSortAsc
:
&
ma
RbSortDesc
;
pRBtn
=
maLabelData
.
maSortInfo
.
IsAscending
?
m_pRbSortAsc
:
m_p
RbSortDesc
;
}
pRBtn
->
Check
();
RadioClickHdl
(
pRBtn
);
// *** LAYOUT MODE ***
maFlLayout
.
Enable
(
bEnableLayout
);
maFtLayout
.
Enable
(
bEnableLayout
);
maLbLayout
.
Enable
(
bEnableLayout
);
maCbLayoutEmpty
.
Enable
(
bEnableLayout
);
m_pLayoutFrame
->
Enable
(
bEnableLayout
);
m
aLbLayoutWrp
.
SetControlValue
(
maLabelData
.
maLayoutInfo
.
LayoutMode
);
m
aCbLayoutEmpty
.
Check
(
maLabelData
.
maLayoutInfo
.
AddEmptyLines
);
m
_xLbLayoutWrp
->
SetControlValue
(
maLabelData
.
maLayoutInfo
.
LayoutMode
);
m
_pCbLayoutEmpty
->
Check
(
maLabelData
.
maLayoutInfo
.
AddEmptyLines
);
// *** AUTO SHOW ***
m
aCbShow
.
Check
(
maLabelData
.
maShowInfo
.
IsEnabled
);
m
aCbShow
.
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
CheckHdl
)
);
m
_pCbShow
->
Check
(
maLabelData
.
maShowInfo
.
IsEnabled
);
m
_pCbShow
->
SetClickHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
CheckHdl
)
);
m
aLbShowFromWrp
.
SetControlValue
(
maLabelData
.
maShowInfo
.
ShowItemsMode
);
m
_xLbShowFromWrp
->
SetControlValue
(
maLabelData
.
maShowInfo
.
ShowItemsMode
);
long
nCount
=
static_cast
<
long
>
(
maLabelData
.
maShowInfo
.
ItemCount
);
if
(
nCount
<
1
)
nCount
=
SC_SHOW_DEFAULT
;
m
aNfShow
.
SetValue
(
nCount
);
m
_pNfShow
->
SetValue
(
nCount
);
// m
a
LbShowUsing already filled above
m
aLbShowUsing
.
SelectEntry
(
maLabelData
.
maShowInfo
.
DataField
);
if
(
m
aLbShowUsing
.
GetSelectEntryPos
()
>=
maLbShowUsing
.
GetEntryCount
()
)
m
aLbShowUsing
.
SelectEntryPos
(
0
);
// m
_p
LbShowUsing already filled above
m
_pLbShowUsing
->
SelectEntry
(
maLabelData
.
maShowInfo
.
DataField
);
if
(
m
_pLbShowUsing
->
GetSelectEntryPos
()
>=
m_pLbShowUsing
->
GetEntryCount
()
)
m
_pLbShowUsing
->
SelectEntryPos
(
0
);
CheckHdl
(
&
maCbShow
);
// enable/disable dependent controls
CheckHdl
(
m_pCbShow
);
// enable/disable dependent controls
// *** HIDDEN ITEMS ***
maLbHide
.
SetHelpId
(
HID_SC_DPSUBT_HIDE
);
InitHideListBox
();
// *** HIERARCHY ***
if
(
maLabelData
.
maHiers
.
getLength
()
>
1
)
{
lclFillListBox
(
ma
LbHierarchy
,
maLabelData
.
maHiers
);
lclFillListBox
(
*
m_p
LbHierarchy
,
maLabelData
.
maHiers
);
sal_Int32
nHier
=
maLabelData
.
mnUsedHier
;
if
(
(
nHier
<
0
)
||
(
nHier
>=
maLabelData
.
maHiers
.
getLength
())
)
nHier
=
0
;
m
aLbHierarchy
.
SelectEntryPos
(
static_cast
<
sal_uInt16
>
(
nHier
)
);
m
aLbHierarchy
.
SetSelectHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
SelectHdl
)
);
m
_pLbHierarchy
->
SelectEntryPos
(
static_cast
<
sal_uInt16
>
(
nHier
)
);
m
_pLbHierarchy
->
SetSelectHdl
(
LINK
(
this
,
ScDPSubtotalOptDlg
,
SelectHdl
)
);
}
else
{
m
aFtHierarchy
.
Disable
();
m
aLbHierarchy
.
Disable
();
m
_pFtHierarchy
->
Disable
();
m
_pLbHierarchy
->
Disable
();
}
}
void
ScDPSubtotalOptDlg
::
InitHideListBox
()
{
m
aLbHide
.
Clear
();
lclFillListBox
(
ma
LbHide
,
maLabelData
.
maMembers
);
m
_pLbHide
->
Clear
();
lclFillListBox
(
*
m_p
LbHide
,
maLabelData
.
maMembers
);
size_t
n
=
maLabelData
.
maMembers
.
size
();
for
(
size_t
i
=
0
;
i
<
n
;
++
i
)
maLbHide
.
CheckEntryPos
(
static_cast
<
sal_uInt16
>
(
i
),
!
maLabelData
.
maMembers
[
i
].
mbVisible
);
bool
bEnable
=
maLbHide
.
GetEntryCount
()
>
0
;
maFlHide
.
Enable
(
bEnable
);
maLbHide
.
Enable
(
bEnable
);
m_pLbHide
->
CheckEntryPos
(
static_cast
<
sal_uInt16
>
(
i
),
!
maLabelData
.
maMembers
[
i
].
mbVisible
);
bool
bEnable
=
m_pLbHide
->
GetEntryCount
()
>
0
;
m_pHideFrame
->
Enable
(
bEnable
);
}
ScDPName
ScDPSubtotalOptDlg
::
GetFieldName
(
const
OUString
&
rLayoutName
)
const
...
...
@@ -747,32 +740,32 @@ sal_uInt16 ScDPSubtotalOptDlg::FindListBoxEntry(
IMPL_LINK
(
ScDPSubtotalOptDlg
,
RadioClickHdl
,
RadioButton
*
,
pBtn
)
{
m
aLbSortBy
.
Enable
(
pBtn
!=
&
ma
RbSortMan
);
m
_pLbSortBy
->
Enable
(
pBtn
!=
m_p
RbSortMan
);
return
0
;
}
IMPL_LINK
(
ScDPSubtotalOptDlg
,
CheckHdl
,
CheckBox
*
,
pCBox
)
{
if
(
pCBox
==
&
maCbShow
)
if
(
pCBox
==
m_pCbShow
)
{
bool
bEnable
=
m
aCbShow
.
IsChecked
();
m
aNfShow
.
Enable
(
bEnable
);
m
aFtShow
.
Enable
(
bEnable
);
m
aFtShowFrom
.
Enable
(
bEnable
);
m
aLbShowFrom
.
Enable
(
bEnable
);
bool
bEnableUsing
=
bEnable
&&
(
m
aLbShowUsing
.
GetEntryCount
()
>
0
);
m
aFtShowUsing
.
Enable
(
bEnableUsing
);
m
aLbShowUsing
.
Enable
(
bEnableUsing
);
bool
bEnable
=
m
_pCbShow
->
IsChecked
();
m
_pNfShow
->
Enable
(
bEnable
);
m
_pFtShow
->
Enable
(
bEnable
);
m
_pFtShowFrom
->
Enable
(
bEnable
);
m
_pLbShowFrom
->
Enable
(
bEnable
);
bool
bEnableUsing
=
bEnable
&&
(
m
_pLbShowUsing
->
GetEntryCount
()
>
0
);
m
_pFtShowUsing
->
Enable
(
bEnableUsing
);
m
_pLbShowUsing
->
Enable
(
bEnableUsing
);
}
return
0
;
}
IMPL_LINK
(
ScDPSubtotalOptDlg
,
SelectHdl
,
ListBox
*
,
pLBox
)
{
if
(
pLBox
==
&
maLbHierarchy
)
if
(
pLBox
==
m_pLbHierarchy
)
{
mrDPObj
.
GetMembers
(
maLabelData
.
mnCol
,
m
aLbHierarchy
.
GetSelectEntryPos
(),
maLabelData
.
maMembers
);
mrDPObj
.
GetMembers
(
maLabelData
.
mnCol
,
m
_pLbHierarchy
->
GetSelectEntryPos
(),
maLabelData
.
maMembers
);
InitHideListBox
();
}
return
0
;
...
...
sc/source/ui/dbgui/pvfundlg.src
Dosyayı görüntüle @
03497c8b
...
...
@@ -39,210 +39,6 @@ StringArray SCSTR_DPFUNCLISTBOX
// ----------------------------------------------------------------------------
ModalDialog RID_SCDLG_DPSUBTOTAL_OPT
{
OutputSize = TRUE;
HelpId = HID_SC_DPSUBT_OPT;
SVLook = TRUE;
Size = MAP_APPFONT( 266, 240 );
Moveable = TRUE;
Closeable = FALSE;
Hide = TRUE;
FixedLine FL_SORT_BY
{
Pos = MAP_APPFONT( 6, 3 );
Size = MAP_APPFONT( 198, 8 );
Text [ en-US ] = "Sort ~by";
};
ListBox LB_SORT_BY
{
HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_SORT_BY";
Pos = MAP_APPFONT( 12, 26 );
Size = MAP_APPFONT( 96, 120 );
TabStop = TRUE;
Border = TRUE;
DropDown = TRUE;
};
RadioButton RB_SORT_ASC
{
HelpID = "sc:RadioButton:RID_SCDLG_DPSUBTOTAL_OPT:RB_SORT_ASC";
Pos = MAP_APPFONT( 114, 14 );
Size = MAP_APPFONT( 84, 10 );
TabStop = TRUE;
Text [ en-US ] = "~Ascending";
};
RadioButton RB_SORT_DESC
{
HelpID = "sc:RadioButton:RID_SCDLG_DPSUBTOTAL_OPT:RB_SORT_DESC";
Pos = MAP_APPFONT( 114, 28 );
Size = MAP_APPFONT( 84, 10 );
TabStop = TRUE;
Text [ en-US ] = "~Descending";
};
RadioButton RB_SORT_MAN
{
HelpID = "sc:RadioButton:RID_SCDLG_DPSUBTOTAL_OPT:RB_SORT_MAN";
Pos = MAP_APPFONT( 114, 42 );
Size = MAP_APPFONT( 84, 10 );
TabStop = TRUE;
Text [ en-US ] = "~Manual";
};
FixedLine FL_LAYOUT
{
Pos = MAP_APPFONT( 6, 56 );
Size = MAP_APPFONT( 198, 8 );
Text [ en-US ] = "Display options";
};
FixedText FT_LAYOUT
{
Pos = MAP_APPFONT( 12, 69 );
Size = MAP_APPFONT( 70, 8 );
Text [ en-US ] = "~Layout";
};
ListBox LB_LAYOUT
{
HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_LAYOUT";
Pos = MAP_APPFONT( 84, 67 );
Size = MAP_APPFONT( 114, 120 );
TabStop = TRUE;
Border = TRUE;
DropDown = TRUE;
StringList [ en-US ] =
{
< "Tabular layout"; Default; >;
< "Outline layout with subtotals at the top"; Default; >;
< "Outline layout with subtotals at the bottom"; Default; >;
};
};
CheckBox CB_LAYOUT_EMPTY
{
HelpID = "sc:CheckBox:RID_SCDLG_DPSUBTOTAL_OPT:CB_LAYOUT_EMPTY";
Pos = MAP_APPFONT( 12, 85 );
Size = MAP_APPFONT( 186, 10 );
TabStop = TRUE;
Text [ en-US ] = "~Empty line after each item";
};
FixedLine FL_AUTOSHOW
{
Pos = MAP_APPFONT( 6, 99 );
Size = MAP_APPFONT( 198, 8 );
Text [ en-US ] = "Show automatically";
};
CheckBox CB_SHOW
{
HelpID = "sc:CheckBox:RID_SCDLG_DPSUBTOTAL_OPT:CB_SHOW";
Pos = MAP_APPFONT( 12, 112 );
Size = MAP_APPFONT( 70, 10 );
TabStop = TRUE;
Text[ en-US ] = "~Show";
};
NumericField NF_SHOW
{
HelpID = "sc:NumericField:RID_SCDLG_DPSUBTOTAL_OPT:NF_SHOW";
Pos = MAP_APPFONT( 84, 110 );
Size = MAP_APPFONT( 30, 12 );
TabStop = TRUE;
Border = TRUE;
Repeat = TRUE;
Spin = TRUE;
Minimum = 1;
Maximum = 999;
SpinSize = 1;
StrictFormat = TRUE;
};
FixedText FT_SHOW
{
Pos = MAP_APPFONT( 118, 112 );
Size = MAP_APPFONT( 80, 8 );
Text [ en-US ] = "items";
};
FixedText FT_SHOW_FROM
{
Pos = MAP_APPFONT( 22, 128 );
Size = MAP_APPFONT( 60, 8 );
Text [ en-US ] = "~From";
};
ListBox LB_SHOW_FROM
{
HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_SHOW_FROM";
Pos = MAP_APPFONT( 84, 126 );
Size = MAP_APPFONT( 114, 50 );
TabStop = TRUE;
Border = TRUE;
DropDown = TRUE;
StringList [ en-US ] =
{
< "Top"; Default; >;
< "Bottom"; Default; >;
};
};
FixedText FT_SHOW_USING
{
Pos = MAP_APPFONT( 22, 144 );
Size = MAP_APPFONT( 60, 8 );
Text [ en-US ] = "~Using field";
};
ListBox LB_SHOW_USING
{
HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_SHOW_USING";
Pos = MAP_APPFONT( 84, 142 );
Size = MAP_APPFONT( 114, 120 );
TabStop = TRUE;
Border = TRUE;
DropDown = TRUE;
};
FixedLine FL_HIDE
{
Pos = MAP_APPFONT( 6, 160 );
Size = MAP_APPFONT( 198, 8 );
Text [ en-US ] = "Hide i~tems";
};
Control CT_HIDE
{
Pos = MAP_APPFONT( 12, 171 );
Size = MAP_APPFONT( 186, 45 );
TabStop = TRUE;
Border = TRUE;
};
FixedText FT_HIERARCHY
{
Pos = MAP_APPFONT( 6, 224 );
Size = MAP_APPFONT( 76, 8 );
Text [ en-US ] = "Hierarch~y";
};
ListBox LB_HIERARCHY
{
HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_HIERARCHY";
Pos = MAP_APPFONT( 84, 222 );
Size = MAP_APPFONT( 114, 120 );
TabStop = TRUE;
Border = TRUE;
DropDown = TRUE;
};
OKButton BTN_OK
{
Pos = MAP_APPFONT( 210, 6 );
Size = MAP_APPFONT( 50, 14 );
TabStop = TRUE;
DefButton = TRUE;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT( 210, 23 );
Size = MAP_APPFONT( 50, 14 );
TabStop = TRUE;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT( 210, 43 );
Size = MAP_APPFONT( 50, 14 );
TabStop = TRUE;
};
Text [ en-US ] = "Data Field Options";
};
// ----------------------------------------------------------------------------
ModalDialog RID_SCDLG_DPSHOWDETAIL
{
OutputSize = TRUE;
...
...
sc/source/ui/inc/pvfundlg.hxx
Dosyayı görüntüle @
03497c8b
...
...
@@ -20,10 +20,13 @@
#ifndef SC_PVFUNDLG_HXX
#define SC_PVFUNDLG_HXX
#include <boost/scoped_ptr.hpp>
#include <com/sun/star/sheet/DataPilotFieldReference.hpp>
#include <com/sun/star/sheet/DataPilotFieldSortInfo.hpp>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
...
...
@@ -162,33 +165,27 @@ private:
DECL_LINK
(
SelectHdl
,
ListBox
*
);
private
:
FixedLine
maFlSortBy
;
ListBox
maLbSortBy
;
RadioButton
maRbSortAsc
;
RadioButton
maRbSortDesc
;
RadioButton
maRbSortMan
;
FixedLine
maFlLayout
;
FixedText
maFtLayout
;
ListBox
maLbLayout
;
CheckBox
maCbLayoutEmpty
;
FixedLine
maFlAutoShow
;
CheckBox
maCbShow
;
NumericField
maNfShow
;
FixedText
maFtShow
;
FixedText
maFtShowFrom
;
ListBox
maLbShowFrom
;
FixedText
maFtShowUsing
;
ListBox
maLbShowUsing
;
FixedLine
maFlHide
;
SvxCheckListBox
maLbHide
;
FixedText
maFtHierarchy
;
ListBox
maLbHierarchy
;
OKButton
maBtnOk
;
CancelButton
maBtnCancel
;
HelpButton
maBtnHelp
;
ScDPListBoxWrapper
maLbLayoutWrp
;
/// Wrapper for direct usage of API constants.
ScDPListBoxWrapper
maLbShowFromWrp
;
/// Wrapper for direct usage of API constants.
ListBox
*
m_pLbSortBy
;
RadioButton
*
m_pRbSortAsc
;
RadioButton
*
m_pRbSortDesc
;
RadioButton
*
m_pRbSortMan
;
VclContainer
*
m_pLayoutFrame
;
ListBox
*
m_pLbLayout
;
CheckBox
*
m_pCbLayoutEmpty
;
CheckBox
*
m_pCbShow
;
NumericField
*
m_pNfShow
;
FixedText
*
m_pFtShow
;
FixedText
*
m_pFtShowFrom
;
ListBox
*
m_pLbShowFrom
;
FixedText
*
m_pFtShowUsing
;
ListBox
*
m_pLbShowUsing
;
VclContainer
*
m_pHideFrame
;
SvxCheckListBox
*
m_pLbHide
;
FixedText
*
m_pFtHierarchy
;
ListBox
*
m_pLbHierarchy
;
boost
::
scoped_ptr
<
ScDPListBoxWrapper
>
m_xLbLayoutWrp
;
/// Wrapper for direct usage of API constants.
boost
::
scoped_ptr
<
ScDPListBoxWrapper
>
m_xLbShowFromWrp
;
/// Wrapper for direct usage of API constants.
ScDPObject
&
mrDPObj
;
/// The DataPilot object (for member names).
ScDPLabelData
maLabelData
;
/// Cache for members data.
...
...
sc/uiconfig/scalc/ui/datafieldoptionsdialog.ui
0 → 100644
Dosyayı görüntüle @
03497c8b
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.0"
/>
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkAdjustment"
id=
"adjustment1"
>
<property
name=
"lower"
>
1
</property>
<property
name=
"upper"
>
999
</property>
<property
name=
"value"
>
1
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkDialog"
id=
"DataFieldOptionsDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
Data Field Options
</property>
<property
name=
"type_hint"
>
dialog
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
<child>
<object
class=
"GtkButton"
id=
"add"
>
<property
name=
"label"
>
gtk-add
</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>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"close"
>
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"help"
>
<property
name=
"label"
>
gtk-help
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"row_spacing"
>
12
</property>
<child>
<object
class=
"GtkFrame"
id=
"frame1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkRadioButton"
id=
"ascending"
>
<property
name=
"label"
translatable=
"yes"
>
_Ascending
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"active"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"group"
>
descending
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkRadioButton"
id=
"descending"
>
<property
name=
"label"
translatable=
"yes"
>
_Descending
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"group"
>
manual
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkRadioButton"
id=
"manual"
>
<property
name=
"label"
translatable=
"yes"
>
_Manual
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<property
name=
"group"
>
ascending
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"sortby"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"hexpand"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
2
</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Sort by
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</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=
"GtkFrame"
id=
"layoutframe"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"emptyline"
>
<property
name=
"label"
translatable=
"yes"
>
_Empty line after each item
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_Layout
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
layout
</property>
</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=
"GtkComboBoxText"
id=
"layout"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<items>
<item
translatable=
"yes"
>
Tabular layout
</item>
<item
translatable=
"yes"
>
Outline layout with subtotals at the top
</item>
<item
translatable=
"yes"
>
Outline layout with subtotals at the bottom
</item>
</items>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Display options
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkFrame"
id=
"showframe"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"show"
>
<property
name=
"label"
translatable=
"yes"
>
_Show
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
<accessibility>
<relation
type=
"label-for"
target=
"items"
/>
</accessibility>
</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=
"GtkLabel"
id=
"showfromft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_From
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
from
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"usingft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_Using field
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
using
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkLabel"
id=
"showft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
items
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
layout
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkSpinButton"
id=
"items"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"adjustment"
>
adjustment1
</property>
<accessibility>
<relation
type=
"labelled-by"
target=
"show"
/>
</accessibility>
</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>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"from"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<items>
<item
translatable=
"yes"
>
Top
</item>
<item
translatable=
"yes"
>
Bottom
</item>
</items>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"using"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Show automatically
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkFrame"
id=
"hideframe"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"svxcorelo-SvxCheckListBox"
id=
"hideitems:border"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<child
internal-child=
"selection"
>
<object
class=
"GtkTreeSelection"
id=
"Check List Box-selection1"
/>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label9"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Hide items
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid6"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkComboBoxText"
id=
"hierarchy"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"hierarchyft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Hierarch_y
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
hierarchy
</property>
</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>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget
response=
"0"
>
add
</action-widget>
<action-widget
response=
"0"
>
close
</action-widget>
<action-widget
response=
"0"
>
help
</action-widget>
</action-widgets>
</object>
<object
class=
"GtkSizeGroup"
id=
"sizegroup1"
>
<widgets>
<widget
name=
"label3"
/>
<widget
name=
"show"
/>
<widget
name=
"showfromft"
/>
<widget
name=
"usingft"
/>
</widgets>
</object>
<object
class=
"GtkSizeGroup"
id=
"sizegroup2"
>
<widgets>
<widget
name=
"layout"
/>
<widget
name=
"hierarchy"
/>
</widgets>
</object>
</interface>
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