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
a31e1f1a
Kaydet (Commit)
a31e1f1a
authored
Kas 23, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert PROPERTY_FLAG to o3tl::typed_flags
Change-Id: Ib652b83b1beed048cabce91aee22fc98605fd654
üst
76ab8c76
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
OfficeControlAccess.cxx
fpicker/source/office/OfficeControlAccess.cxx
+0
-0
OfficeControlAccess.hxx
fpicker/source/office/OfficeControlAccess.hxx
+23
-5
No files found.
fpicker/source/office/OfficeControlAccess.cxx
Dosyayı görüntüle @
a31e1f1a
This diff is collapsed.
Click to expand it.
fpicker/source/office/OfficeControlAccess.hxx
Dosyayı görüntüle @
a31e1f1a
...
@@ -24,6 +24,24 @@
...
@@ -24,6 +24,24 @@
#include <vcl/lstbox.hxx>
#include <vcl/lstbox.hxx>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include "pickercallbacks.hxx"
#include "pickercallbacks.hxx"
#include <o3tl/typed_flags_set.hxx>
enum
class
PropFlags
{
Unknown
=
-
1
,
// used as an error sentinel
NONE
=
0x0000
,
Text
=
0x0001
,
Enabled
=
0x0002
,
Visible
=
0x0004
,
HelpUrl
=
0x0008
,
ListItems
=
0x0010
,
SelectedItem
=
0x0020
,
SelectedItemIndex
=
0x0040
,
Checked
=
0x0080
,
};
namespace
o3tl
{
template
<>
struct
typed_flags
<
PropFlags
>
:
is_typed_flags
<
PropFlags
,
0x00ff
>
{};
}
namespace
svt
namespace
svt
...
@@ -79,7 +97,7 @@ namespace svt
...
@@ -79,7 +97,7 @@ namespace svt
the affected control. Must be the same as referred by <arg>_nControlId</arg>, or NULL.
the affected control. Must be the same as referred by <arg>_nControlId</arg>, or NULL.
@param _nProperty
@param _nProperty
the property to set
the property to set
See P
ROPERTY_FLAG_
*
See P
ropFlags::
*
@param _rValue
@param _rValue
the value to set
the value to set
@param _bIgnoreIllegalArgument
@param _bIgnoreIllegalArgument
...
@@ -87,10 +105,10 @@ namespace svt
...
@@ -87,10 +105,10 @@ namespace svt
*/
*/
void
implSetControlProperty
(
void
implSetControlProperty
(
sal_Int16
_nControlId
,
sal_Int16
_nControlId
,
Control
*
_pControl
,
sal_Int16
_nProperty
,
const
css
::
uno
::
Any
&
_rValue
,
Control
*
_pControl
,
PropFlags
_nProperty
,
const
css
::
uno
::
Any
&
_rValue
,
bool
_bIgnoreIllegalArgument
=
true
);
bool
_bIgnoreIllegalArgument
=
true
);
Control
*
implGetControl
(
const
OUString
&
_rControlName
,
sal_Int16
*
_pId
,
sal_Int32
*
_pPropertyMask
=
nullptr
)
const
;
Control
*
implGetControl
(
const
OUString
&
_rControlName
,
sal_Int16
*
_pId
,
PropFlags
*
_pPropertyMask
=
nullptr
)
const
;
/** implements the various methods for retrieving properties from controls
/** implements the various methods for retrieving properties from controls
...
@@ -99,10 +117,10 @@ namespace svt
...
@@ -99,10 +117,10 @@ namespace svt
@PRECOND not <NULL/>
@PRECOND not <NULL/>
@param _nProperty
@param _nProperty
the property to retrieve
the property to retrieve
See P
ROPERTY_FLAG_
*
See P
ropFlags::
*
@return
@return
*/
*/
css
::
uno
::
Any
implGetControlProperty
(
Control
*
_pControl
,
sal_Int16
_nProperty
)
const
;
css
::
uno
::
Any
implGetControlProperty
(
Control
*
_pControl
,
PropFlags
_nProperty
)
const
;
static
void
implDoListboxAction
(
ListBox
*
_pListbox
,
sal_Int16
_nCtrlAction
,
const
css
::
uno
::
Any
&
_rValue
);
static
void
implDoListboxAction
(
ListBox
*
_pListbox
,
sal_Int16
_nCtrlAction
,
const
css
::
uno
::
Any
&
_rValue
);
...
...
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