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
95b4c032
Kaydet (Commit)
95b4c032
authored
Kas 26, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use secondary-group packing to left group help and adapt to OK->Insert change
Change-Id: I0325f42e78efbf819c6883b69d5a8903e05ac36e
üst
db8aa2fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
instable.hxx
sw/source/ui/inc/instable.hxx
+2
-1
instable.cxx
sw/source/ui/table/instable.cxx
+10
-2
inserttable.ui
sw/uiconfig/swriter/ui/inserttable.ui
+2
-3
No files found.
sw/source/ui/inc/instable.hxx
Dosyayı görüntüle @
95b4c032
...
...
@@ -57,7 +57,7 @@ class SwInsTableDlg : public SfxModalDialog
CheckBox
*
m_pDontSplitCB
;
CheckBox
*
m_pBorderCB
;
OKButton
*
m_pOk
Btn
;
PushButton
*
m_pInsert
Btn
;
PushButton
*
m_pAutoFmtBtn
;
SwWrtShell
*
pShell
;
...
...
@@ -67,6 +67,7 @@ class SwInsTableDlg : public SfxModalDialog
DECL_LINK
(
ModifyName
,
Edit
*
);
DECL_LINK
(
ModifyRowCol
,
NumericField
*
);
DECL_LINK
(
AutoFmtHdl
,
PushButton
*
);
DECL_LINK
(
OKHdl
,
void
*
);
DECL_LINK
(
CheckBoxHdl
,
void
*
=
0
);
DECL_LINK
(
ReapeatHeaderCheckBoxHdl
,
void
*
p
=
0
);
DECL_LINK
(
ModifyRepeatHeaderNF_Hdl
,
void
*
p
=
0
);
...
...
sw/source/ui/table/instable.cxx
Dosyayı görüntüle @
95b4c032
...
...
@@ -96,7 +96,7 @@ SwInsTableDlg::SwInsTableDlg( SwView& rView )
get
(
m_pDontSplitCB
,
"dontsplitcb"
);
get
(
m_pBorderCB
,
"bordercb"
);
get
(
m_pAutoFmtBtn
,
"autoformat"
);
get
(
m_p
Ok
Btn
,
"ok"
);
get
(
m_p
Insert
Btn
,
"ok"
);
get
(
m_pRepeatGroup
,
"repeatgroup"
);
get
(
m_pRepeatHeaderNF
,
"repeatheaderspin"
);
...
...
@@ -109,6 +109,8 @@ SwInsTableDlg::SwInsTableDlg( SwView& rView )
m_pColNF
->
SetMax
(
ROW_COL_PROD
/
m_pRowNF
->
GetValue
());
m_pAutoFmtBtn
->
SetClickHdl
(
LINK
(
this
,
SwInsTableDlg
,
AutoFmtHdl
));
m_pInsertBtn
->
SetClickHdl
(
LINK
(
this
,
SwInsTableDlg
,
OKHdl
));
sal_Bool
bHTMLMode
=
0
!=
(
::
GetHtmlMode
(
rView
.
GetDocShell
())
&
HTMLMODE_ON
);
const
SwModuleOptions
*
pModOpt
=
SW_MOD
()
->
GetModuleConfig
();
...
...
@@ -142,6 +144,12 @@ SwInsTableDlg::SwInsTableDlg( SwView& rView )
m_pRepeatHeaderNF
->
SetMax
(
nMax
);
}
IMPL_LINK_NOARG
(
SwInsTableDlg
,
OKHdl
)
{
EndDialog
(
RET_OK
);
return
0
;
}
SwInsTableDlg
::~
SwInsTableDlg
()
{
delete
pTAutoFmt
;
...
...
@@ -156,7 +164,7 @@ IMPL_LINK_INLINE_START( SwInsTableDlg, ModifyName, Edit *, pEdit )
pEdit
->
SetText
(
sTblName
);
}
m_p
Ok
Btn
->
Enable
(
pShell
->
GetTblStyle
(
sTblName
)
==
0
);
m_p
Insert
Btn
->
Enable
(
pShell
->
GetTblStyle
(
sTblName
)
==
0
);
return
0
;
}
IMPL_LINK_INLINE_END
(
SwInsTableDlg
,
ModifyName
,
Edit
*
,
pEdit
)
...
...
sw/uiconfig/swriter/ui/inserttable.ui
Dosyayı görüntüle @
95b4c032
...
...
@@ -30,7 +30,6 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"halign"
>
start
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
...
...
@@ -38,18 +37,18 @@
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
<property
name=
"secondary"
>
True
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"ok"
>
<property
name=
"label"
>
gtk-add
</property>
<property
name=
"label"
>
Insert
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
...
...
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