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
bfd495d9
Kaydet (Commit)
bfd495d9
authored
May 20, 2013
tarafından
Andrzej J.R. Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#63035 Add "Match Case" to Find bar.
Change-Id: I1339767de7980426d32960bf5ee60e2f5c011be4
üst
f2321c52
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
83 additions
and
0 deletions
+83
-0
findbar.xml
basctl/uiconfig/basicide/toolbar/findbar.xml
+1
-0
dialogs.hrc
include/svx/dialogs.hrc
+1
-0
Controller.xcu
...cfg/registry/data/org/openoffice/Office/UI/Controller.xcu
+11
-0
GenericCommands.xcu
...egistry/data/org/openoffice/Office/UI/GenericCommands.xcu
+5
-0
findbar.xml
sc/uiconfig/scalc/toolbar/findbar.xml
+1
-0
findbar.xml
sd/uiconfig/sdraw/toolbar/findbar.xml
+1
-0
findbar.xml
sd/uiconfig/simpress/toolbar/findbar.xml
+1
-0
tbunosearchcontrollers.hxx
svx/inc/tbunosearchcontrollers.hxx
+43
-0
tbunosearchcontrollers.cxx
svx/source/tbxctrls/tbunosearchcontrollers.cxx
+0
-0
tbunosearchcontrollers.src
svx/source/tbxctrls/tbunosearchcontrollers.src
+5
-0
unoctabl.cxx
svx/source/unodraw/unoctabl.cxx
+7
-0
svx.component
svx/util/svx.component
+3
-0
findbar.xml
sw/uiconfig/sglobal/toolbar/findbar.xml
+1
-0
findbar.xml
sw/uiconfig/sweb/toolbar/findbar.xml
+1
-0
findbar.xml
sw/uiconfig/swriter/toolbar/findbar.xml
+1
-0
findbar.xml
sw/uiconfig/swxform/toolbar/findbar.xml
+1
-0
No files found.
basctl/uiconfig/basicide/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
include/svx/dialogs.hrc
Dosyayı görüntüle @
bfd495d9
...
...
@@ -961,6 +961,7 @@
#define RID_SVXSTR_TEXTCOLOR (RID_SVX_START + 1178)
#define RID_SVXSTR_FINDBAR_MATCHCASE (RID_SVX_START + 1189)
#define RID_SVXSTR_FINDBAR_FIND (RID_SVX_START + 1190)
#define RID_SVXSTR_NUMBULLET_NONE (RID_SVX_START + 1191)
...
...
officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu
Dosyayı görüntüle @
bfd495d9
...
...
@@ -429,6 +429,17 @@
<value>
com.sun.star.svx.UpSearchToolboxController
</value>
</prop>
</node>
<node
oor:name=
"com.sun.star.svx.MatchCaseToolboxController"
oor:op=
"replace"
>
<prop
oor:name=
"Command"
>
<value>
.uno:MatchCase
</value>
</prop>
<prop
oor:name=
"Module"
>
<value/>
</prop>
<prop
oor:name=
"Controller"
>
<value>
com.sun.star.svx.MatchCaseToolboxController
</value>
</prop>
</node>
<node
oor:name=
"c4"
oor:op=
"replace"
install:module=
"reportbuilder"
>
<prop
oor:name=
"Command"
>
<value>
.uno:FontColor
</value>
...
...
officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
Dosyayı görüntüle @
bfd495d9
...
...
@@ -1478,6 +1478,11 @@
<value>
1
</value>
</prop>
</node>
<node
oor:name=
".uno:MatchCase"
oor:op=
"replace"
>
<prop
oor:name=
"Label"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
Match Case
</value>
</prop>
</node>
<node
oor:name=
".uno:ExitSearch"
oor:op=
"replace"
>
<prop
oor:name=
"Label"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
Exit Search
</value>
...
...
sc/uiconfig/scalc/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
sd/uiconfig/sdraw/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
sd/uiconfig/simpress/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
svx/inc/tbunosearchcontrollers.hxx
Dosyayı görüntüle @
bfd495d9
...
...
@@ -33,6 +33,7 @@
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/weak.hxx>
#include <svtools/toolboxcontroller.hxx>
#include <vcl/button.hxx>
#include <vcl/combobox.hxx>
#include <vcl/window.hxx>
...
...
@@ -215,6 +216,47 @@ private:
Type
meType
;
};
class
MatchCaseToolboxController
:
public
svt
::
ToolboxController
,
public
css
::
lang
::
XServiceInfo
{
public
:
MatchCaseToolboxController
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
);
~
MatchCaseToolboxController
();
// XInterface
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
css
::
uno
::
Type
&
aType
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
acquire
()
throw
();
virtual
void
SAL_CALL
release
()
throw
();
// XServiceInfo
virtual
OUString
SAL_CALL
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
);
static
OUString
getImplementationName_Static
(
)
throw
()
{
return
OUString
(
"com.sun.star.svx.MatchCaseToolboxController"
);
}
static
css
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
()
throw
();
// XComponent
virtual
void
SAL_CALL
dispose
()
throw
(
css
::
uno
::
RuntimeException
);
// XInitialization
virtual
void
SAL_CALL
initialize
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
aArguments
)
throw
(
css
::
uno
::
Exception
,
css
::
uno
::
RuntimeException
);
// XToolbarController
virtual
void
SAL_CALL
execute
(
sal_Int16
KeyModifier
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Reference
<
css
::
awt
::
XWindow
>
SAL_CALL
createItemWindow
(
const
css
::
uno
::
Reference
<
css
::
awt
::
XWindow
>&
Parent
)
throw
(
css
::
uno
::
RuntimeException
);
// XStatusListener
virtual
void
SAL_CALL
statusChanged
(
const
css
::
frame
::
FeatureStateEvent
&
rEvent
)
throw
(
css
::
uno
::
RuntimeException
);
private
:
CheckBox
*
m_pMatchCaseControl
;
};
// protocol handler for "vnd.sun.star.findbar:*" URLs
// The dispatch object will be used for shortcut commands for findbar
class
FindbarDispatcher
:
public
css
::
lang
::
XServiceInfo
,
...
...
@@ -267,6 +309,7 @@ private:
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
FindTextToolbarController_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
DownSearchToolboxController_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
UpSearchToolboxController_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
MatchCaseToolboxController_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
ExitFindbarToolboxController_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
FindbarDispatcher_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
...
...
svx/source/tbxctrls/tbunosearchcontrollers.cxx
Dosyayı görüntüle @
bfd495d9
This diff is collapsed.
Click to expand it.
svx/source/tbxctrls/tbunosearchcontrollers.src
Dosyayı görüntüle @
bfd495d9
...
...
@@ -24,4 +24,9 @@ String RID_SVXSTR_FINDBAR_FIND
Text [ en-US ] = "Find" ;
};
String RID_SVXSTR_FINDBAR_MATCHCASE
{
Text [ en-US ] = "Match Case" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svx/source/unodraw/unoctabl.cxx
Dosyayı görüntüle @
bfd495d9
...
...
@@ -308,6 +308,13 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL svx_component_getFactory (
svx
::
UpSearchToolboxController_createInstance
,
svx
::
UpDownSearchToolboxController
::
getSupportedServiceNames_Static
()
);
}
else
if
(
svx
::
MatchCaseToolboxController
::
getImplementationName_Static
().
equalsAscii
(
pImplName
)
)
{
xFactory
=
createSingleFactory
(
reinterpret_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
),
svx
::
MatchCaseToolboxController
::
getImplementationName_Static
(),
svx
::
MatchCaseToolboxController_createInstance
,
svx
::
MatchCaseToolboxController
::
getSupportedServiceNames_Static
()
);
}
else
if
(
svx
::
ExitSearchToolboxController
::
getImplementationName_Static
().
equalsAscii
(
pImplName
)
)
{
xFactory
=
createSingleFactory
(
reinterpret_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
),
...
...
svx/util/svx.component
Dosyayı görüntüle @
bfd495d9
...
...
@@ -58,6 +58,9 @@
<implementation
name=
"com.sun.star.svx.FindTextToolboxController"
>
<service
name=
"com.sun.star.frame.ToolbarController"
/>
</implementation>
<implementation
name=
"com.sun.star.svx.MatchCaseToolboxController"
>
<service
name=
"com.sun.star.frame.ToolbarController"
/>
</implementation>
<implementation
name=
"com.sun.star.svx.FontHeightToolBoxController"
>
<service
name=
"com.sun.star.frame.ToolbarController"
/>
</implementation>
...
...
sw/uiconfig/sglobal/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
sw/uiconfig/sweb/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
sw/uiconfig/swriter/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
sw/uiconfig/swxform/toolbar/findbar.xml
Dosyayı görüntüle @
bfd495d9
...
...
@@ -22,6 +22,7 @@
<toolbar:toolbaritem
xlink:href=
".uno:FindText"
/>
<toolbar:toolbaritem
xlink:href=
".uno:DownSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:UpSearch"
/>
<toolbar:toolbaritem
xlink:href=
".uno:MatchCase"
/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem
xlink:href=
".uno:SearchDialog"
/>
</toolbar:toolbar>
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