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
17664f37
Kaydet (Commit)
17664f37
authored
Agu 09, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert wrap dialog to .ui
Change-Id: I453c7d50dad00f510770c425629594f1c197fdef
üst
24de9f9a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
91 additions
and
22 deletions
+91
-22
singletabdialog.ui
sfx2/uiconfig/ui/singletabdialog.ui
+1
-1
UIConfig_swriter.mk
sw/UIConfig_swriter.mk
+1
-0
frmui.src
sw/source/ui/frmdlg/frmui.src
+0
-4
wrap.cxx
sw/source/ui/frmdlg/wrap.cxx
+5
-12
frmui.hrc
sw/source/ui/inc/frmui.hrc
+0
-1
wrap.hxx
sw/source/ui/inc/wrap.hxx
+3
-4
wrapdialog.ui
sw/uiconfig/swriter/ui/wrapdialog.ui
+81
-0
No files found.
sfx2/uiconfig/ui/singletabdialog.ui
Dosyayı görüntüle @
17664f37
...
...
@@ -8,7 +8,7 @@
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"spacing"
>
2
</property>
<property
name=
"spacing"
>
1
2
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area1"
>
<property
name=
"can_focus"
>
False
</property>
...
...
sw/UIConfig_swriter.mk
Dosyayı görüntüle @
17664f37
...
...
@@ -148,6 +148,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/titlepage \
sw/uiconfig/swriter/ui/viewoptionspage \
sw/uiconfig/swriter/ui/wordcount \
sw/uiconfig/swriter/ui/wrapdialog \
sw/uiconfig/swriter/ui/wrappage \
))
...
...
sw/source/ui/frmdlg/frmui.src
Dosyayı görüntüle @
17664f37
...
...
@@ -106,10 +106,6 @@ String STR_FRMUI_PATTERN
{
Text [ en-US ] = "Background" ;
};
String STR_FRMUI_WRAP
{
Text [ en-US ] = "Wrap" ;
};
InfoBox MSG_COLUMN_ERR_BOUNDWIDTH
{
BUTTONS = WB_OK ;
...
...
sw/source/ui/frmdlg/wrap.cxx
Dosyayı görüntüle @
17664f37
...
...
@@ -51,23 +51,16 @@ static sal_uInt16 aWrapPageRg[] = {
0
};
SwWrapDlg
::
SwWrapDlg
(
Window
*
pParent
,
SfxItemSet
&
rSet
,
SwWrtShell
*
pSh
,
sal_Bool
bDrawMode
)
:
SfxNoLayoutSingleTabDialog
(
pParent
,
rSet
,
0
),
pWrtShell
(
pSh
)
SwWrapDlg
::
SwWrapDlg
(
Window
*
pParent
,
SfxItemSet
&
rSet
,
SwWrtShell
*
pSh
,
bool
bDrawMode
)
:
SfxSingleTabDialog
(
pParent
,
rSet
,
"WrapDialog"
,
"modules/swriter/ui/wrapdialog.ui"
)
,
pWrtShell
(
pSh
)
{
// create TabPage
SwWrapTabPage
*
pNewPage
=
(
SwWrapTabPage
*
)
SwWrapTabPage
::
Create
(
this
,
rSet
);
SwWrapTabPage
*
pNewPage
=
(
SwWrapTabPage
*
)
SwWrapTabPage
::
Create
(
get_content_area
()
,
rSet
);
pNewPage
->
SetFormatUsed
(
sal_False
,
bDrawMode
);
pNewPage
->
SetShell
(
pWrtShell
);
SetTabPage
(
pNewPage
);
String
sTitle
(
SW_RES
(
STR_FRMUI_WRAP
));
SetText
(
sTitle
);
}
SwWrapDlg
::~
SwWrapDlg
()
{
setTabPage
(
pNewPage
);
}
SwWrapTabPage
::
SwWrapTabPage
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
...
...
sw/source/ui/inc/frmui.hrc
Dosyayı görüntüle @
17664f37
...
...
@@ -30,7 +30,6 @@
#define STR_FRMUI_BORDER (RC_FRMDLG_BEGIN + 16)
#define STR_FRMUI_PATTERN (RC_FRMDLG_BEGIN + 17)
#define STR_FRMUI_WRAP (RC_FRMDLG_BEGIN + 18)
#define BMP_BEGIN (RC_FRMDLG_BEGIN + 18)
#define BMP_NOWRAP (BMP_BEGIN+5)
...
...
sw/source/ui/inc/wrap.hxx
Dosyayı görüntüle @
17664f37
...
...
@@ -29,15 +29,14 @@ class Window;
class
SfxItemSet
;
class
SwWrtShell
;
class
SwWrapDlg
:
public
Sfx
NoLayout
SingleTabDialog
class
SwWrapDlg
:
public
SfxSingleTabDialog
{
SwWrtShell
*
pWrtShell
;
public
:
SwWrapDlg
(
Window
*
pParent
,
SfxItemSet
&
rSet
,
SwWrtShell
*
pSh
,
sal_Bool
bDrawMode
);
~
SwWrapDlg
();
SwWrapDlg
(
Window
*
pParent
,
SfxItemSet
&
rSet
,
SwWrtShell
*
pSh
,
bool
bDrawMode
);
inline
SwWrtShell
*
GetWrtShell
()
{
return
pWrtShell
;
}
SwWrtShell
*
GetWrtShell
()
{
return
pWrtShell
;
}
};
...
...
sw/uiconfig/swriter/ui/wrapdialog.ui
0 → 100644
Dosyayı görüntüle @
17664f37
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object
class=
"GtkDialog"
id=
"WrapDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
Wrap
</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=
"ok"
>
<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>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"cancel"
>
<property
name=
"label"
>
gtk-cancel
</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>
<placeholder/>
</child>
</object>
</child>
<action-widgets>
<action-widget
response=
"0"
>
ok
</action-widget>
<action-widget
response=
"0"
>
cancel
</action-widget>
<action-widget
response=
"0"
>
help
</action-widget>
</action-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