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
61a690cd
Kaydet (Commit)
61a690cd
authored
Nis 17, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert autocorrect replace to to .ui
Change-Id: Id1ea4f5e5f003b4c5c405556a2951943a5ed4fb2
üst
e35b772e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
205 additions
and
92 deletions
+205
-92
UIConfig_cui.mk
cui/UIConfig_cui.mk
+1
-0
autocdlg.hxx
cui/source/inc/autocdlg.hxx
+11
-11
cuires.hrc
cui/source/inc/cuires.hrc
+1
-1
helpid.hrc
cui/source/inc/helpid.hrc
+0
-1
autocdlg.cxx
cui/source/tabpages/autocdlg.cxx
+0
-0
autocdlg.src
cui/source/tabpages/autocdlg.src
+0
-79
acorreplacepage.ui
cui/uiconfig/ui/acorreplacepage.ui
+186
-0
libreoffice-catalog.xml.in
extras/source/glade/libreoffice-catalog.xml.in
+6
-0
No files found.
cui/UIConfig_cui.mk
Dosyayı görüntüle @
61a690cd
...
...
@@ -11,6 +11,7 @@ $(eval $(call gb_UIConfig_UIConfig,cui))
$(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/aboutdialog \
cui/uiconfig/ui/acorreplacepage \
cui/uiconfig/ui/asiantypography \
cui/uiconfig/ui/autocorrectdialog \
cui/uiconfig/ui/backgroundpage \
...
...
cui/source/inc/autocdlg.hxx
Dosyayı görüntüle @
61a690cd
...
...
@@ -196,6 +196,8 @@ class AutoCorrEdit : public Edit
public
:
AutoCorrEdit
(
Window
*
pParent
,
const
ResId
&
rResId
)
:
Edit
(
pParent
,
rResId
),
bSpaces
(
sal_False
){}
AutoCorrEdit
(
Window
*
pParent
)
:
Edit
(
pParent
),
bSpaces
(
sal_False
){}
void
SetActionHdl
(
const
Link
&
rLink
)
{
aActionLink
=
rLink
;}
...
...
@@ -236,17 +238,15 @@ private:
StringChangeTable
aChangesTable
;
CheckBox
aTextOnlyCB
;
FixedText
aShortFT
;
AutoCorrEdit
aShortED
;
FixedText
aReplaceFT
;
AutoCorrEdit
aReplaceED
;
SvTabListBox
aReplaceTLB
;
PushButton
aNewReplacePB
;
PushButton
aDeleteReplacePB
;
String
sModify
;
String
sNew
;
CheckBox
*
m_pTextOnlyCB
;
AutoCorrEdit
*
m_pShortED
;
AutoCorrEdit
*
m_pReplaceED
;
SvTabListBox
*
m_pReplaceTLB
;
PushButton
*
m_pNewReplacePB
;
PushButton
*
m_pDeleteReplacePB
;
OUString
sModify
;
OUString
sNew
;
std
::
set
<
OUString
>
aFormatText
;
DoubleStringTable
aDoubleStringTable
;
...
...
cui/source/inc/cuires.hrc
Dosyayı görüntüle @
61a690cd
...
...
@@ -115,7 +115,7 @@
#define RID_OFAPAGE_AUTOCOMPLETE_OPTIONS (RID_OFA_START + 119)
#define RID_OFAPAGE_AUTOCORR_OPTIONS (RID_OFA_START + 102)
#define RID_OFAPAGE_AUTOFMT_APPLY (RID_OFA_START + 110)
#define RID_OFAPAGE_AUTOCORR_REPLACE (RID_OFA_START + 103)
#define RID_OFAPAGE_AUTOCORR_EXCEPT (RID_OFA_START + 104)
#define RID_OFAPAGE_AUTOCORR_QUOTE (RID_OFA_START + 109)
#define RID_OFADLG_PRCNT_SET (RID_OFA_START + 111)
...
...
cui/source/inc/helpid.hrc
Dosyayı görüntüle @
61a690cd
...
...
@@ -238,7 +238,6 @@
#define HID_TPCOLOR_CMYK_3 "CUI_HID_TPCOLOR_CMYK_3"
#define HID_OFAPAGE_AUTOCORR_OPTIONS "CUI_HID_OFAPAGE_AUTOCORR_OPTIONS"
#define HID_OFAPAGE_AUTOFMT_OPTIONS "CUI_HID_OFAPAGE_AUTOFMT_OPTIONS"
#define HID_OFAPAGE_AUTOCORR_REPLACE "CUI_HID_OFAPAGE_AUTOCORR_REPLACE"
#define HID_OFACTL_AUTOCORR_REPLACE "CUI_HID_OFACTL_AUTOCORR_REPLACE"
#define HID_OFAPAGE_AUTOCORR_EXCEPT "CUI_HID_OFAPAGE_AUTOCORR_EXCEPT"
#define HID_OFAPAGE_AUTOCORR_QUOTE "CUI_HID_OFAPAGE_AUTOCORR_QUOTE"
...
...
cui/source/tabpages/autocdlg.cxx
Dosyayı görüntüle @
61a690cd
This diff is collapsed.
Click to expand it.
cui/source/tabpages/autocdlg.src
Dosyayı görüntüle @
61a690cd
...
...
@@ -210,85 +210,6 @@ ModalDialog RID_OFADLG_PRCNT_SET
Text [ en-US ] = "Combine" ;
};
/**************************************************************************/
/* */
/* Beschreibung: Ersetzungstabelle */
/* */
/**************************************************************************/
TabPage RID_OFAPAGE_AUTOCORR_REPLACE
{
HelpId = HID_OFAPAGE_AUTOCORR_REPLACE ;
OutputSize = TRUE ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
SVLook = TRUE ;
Hide = TRUE ;
FixedText FT_SHORT
{
Pos = MAP_APPFONT ( 7 , 3 ) ;
Size = MAP_APPFONT ( 60 , 8 ) ;
Text [ en-US ] = "Repla~ce" ;
Left = TRUE ;
};
Edit ED_SHORT
{
HelpID = "cui:Edit:RID_OFAPAGE_AUTOCORR_REPLACE:ED_SHORT";
Pos = MAP_APPFONT ( 7 , 13 ) ;
Size = MAP_APPFONT ( 60 , 12 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
FixedText FT_REPLACE
{
Pos = MAP_APPFONT ( 71 , 3 ) ;
Size = MAP_APPFONT ( 64 , 8 ) ;
Text [ en-US ] = "~With:" ;
Left = TRUE ;
};
Edit ED_REPLACE
{
HelpID = "cui:Edit:RID_OFAPAGE_AUTOCORR_REPLACE:ED_REPLACE";
Pos = MAP_APPFONT ( 71 , 13 ) ;
Size = MAP_APPFONT ( 123 , 12 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
CheckBox CB_TEXT_ONLY
{
HelpID = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_REPLACE:CB_TEXT_ONLY";
Pos = MAP_APPFONT ( 140 , 3 ) ;
Size = MAP_APPFONT ( 108 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Text only" ;
};
PushButton PB_NEW_REPLACE
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_REPLACE:PB_NEW_REPLACE";
Pos = MAP_APPFONT ( 198 , 14 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~New" ;
};
PushButton PB_DELETE_REPLACE
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_REPLACE:PB_DELETE_REPLACE";
Pos = MAP_APPFONT ( 198 , 32 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Delete" ;
};
Control TLB_REPLACE
{
HelpId = HID_OFACTL_AUTOCORR_REPLACE ;
Pos = MAP_APPFONT ( 7 , 29 ) ;
Size = MAP_APPFONT ( 187 , 150 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
String STR_MODIFY
{
Text [ en-US ] = "~Replace" ;
};
};
/**************************************************************************/
/* */
/* Beschreibung: Ausnahmelisten */
...
...
cui/uiconfig/ui/acorreplacepage.ui
0 → 100644
Dosyayı görüntüle @
61a690cd
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkBox"
id=
"AcorReplacePage"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"spacing"
>
12
</property>
<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"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Repla_ce
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
origtext
</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=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_With:
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
newtext
</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=
"GtkCheckButton"
id=
"textonly"
>
<property
name=
"label"
translatable=
"yes"
>
_Text only
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"halign"
>
end
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"cuilo-AutoCorrEdit"
id=
"origtext"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"max_length"
>
30
</property>
<property
name=
"invisible_char"
>
●
</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=
"cuilo-AutoCorrEdit"
id=
"newtext"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"svtlo-SvTabListBox"
id=
"tabview: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=
"Tab List-selection1"
/>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
3
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButtonBox"
id=
"buttonbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<property
name=
"layout_style"
>
start
</property>
<child>
<object
class=
"GtkButton"
id=
"new"
>
<property
name=
"label"
>
gtk-new
</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"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"replace"
>
<property
name=
"label"
translatable=
"yes"
>
_Replace
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"image_position"
>
right
</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=
"delete"
>
<property
name=
"label"
>
gtk-delete
</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=
"position"
>
1
</property>
</packing>
</child>
</object>
<object
class=
"GtkSizeGroup"
id=
"sizegroup1"
>
<widgets>
<widget
name=
"new"
/>
<widget
name=
"replace"
/>
<widget
name=
"delete"
/>
</widgets>
</object>
</interface>
extras/source/glade/libreoffice-catalog.xml.in
Dosyayı görüntüle @
61a690cd
...
...
@@ -117,6 +117,9 @@
<glade-widget-class
title=
"Ruby Edit"
name=
"svxlo-RubyEdit"
generic-name=
"RubyEdit"
parent=
"GtkEntry"
icon-name=
"widget-gtk-textentry"
/>
<glade-widget-class
title=
"AutoCorrect Edit"
name=
"cuilo-AutoCorrEdit"
generic-name=
"AutoCorrEdit"
parent=
"GtkEntry"
icon-name=
"widget-gtk-textentry"
/>
<glade-widget-class
title=
"Glossary List"
name=
"swuilo-SwGlossaryGroupTLB"
generic-name=
"Glossary List"
parent=
"GtkTreeView"
icon-name=
"widget-gtk-treeview"
/>
...
...
@@ -126,6 +129,9 @@
<glade-widget-class
title=
"Tree List"
name=
"svtlo-SvTreeListBox"
generic-name=
"Tree List"
parent=
"GtkTreeView"
icon-name=
"widget-gtk-treeview"
/>
<glade-widget-class
title=
"Tab List"
name=
"svtlo-SvTabListBox"
generic-name=
"Tab List"
parent=
"svtlo-SvTreeListBox"
icon-name=
"widget-gtk-treeview"
/>
<glade-widget-class
title=
"Dial Control"
name=
"svxlo-DialControl"
generic-name=
"Dial Control"
parent=
"GtkSpinner"
icon-name=
"widget-gtk-spinner"
/>
...
...
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