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
52c66195
Kaydet (Commit)
52c66195
authored
Eyl 04, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert svx/source/inc/datanavi.hxx from String to OUString
Change-Id: I70c11a114882adba543e2939130408cbd8da22c0
üst
1474d476
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
34 deletions
+34
-34
datanavi.cxx
svx/source/form/datanavi.cxx
+6
-6
datanavi.hxx
svx/source/inc/datanavi.hxx
+28
-28
No files found.
svx/source/form/datanavi.cxx
Dosyayı görüntüle @
52c66195
...
...
@@ -466,7 +466,7 @@ namespace svxform
bool
bIsElement
=
true
;
if
(
DGTInstance
==
m_eGroup
)
{
if
(
m_sInstanceURL
.
Len
()
>
0
)
if
(
!
m_sInstanceURL
.
isEmpty
()
)
{
LinkedInstanceWarningBox
aMsgBox
(
this
);
if
(
aMsgBox
.
Execute
()
!=
RET_OK
)
...
...
@@ -631,7 +631,7 @@ namespace svxform
ItemNode
*
pNode
=
static_cast
<
ItemNode
*
>
(
pEntry
->
GetUserData
()
);
if
(
DGTInstance
==
m_eGroup
||
DGTBinding
==
m_eGroup
)
{
if
(
DGTInstance
==
m_eGroup
&&
m_sInstanceURL
.
Len
()
>
0
)
if
(
DGTInstance
==
m_eGroup
&&
!
m_sInstanceURL
.
isEmpty
()
)
{
LinkedInstanceWarningBox
aMsgBox
(
this
);
if
(
aMsgBox
.
Execute
()
!=
RET_OK
)
...
...
@@ -719,7 +719,7 @@ namespace svxform
case
TBI_ITEM_REMOVE
:
{
bHandled
=
true
;
if
(
DGTInstance
==
m_eGroup
&&
m_sInstanceURL
.
Len
()
>
0
)
if
(
DGTInstance
==
m_eGroup
&&
!
m_sInstanceURL
.
isEmpty
()
)
{
LinkedInstanceWarningBox
aMsgBox
(
this
);
if
(
aMsgBox
.
Execute
()
!=
RET_OK
)
...
...
@@ -1204,7 +1204,7 @@ namespace svxform
m_aItemList
.
SetPosSizePixel
(
Point
(
2
,
2
+
aTbxSize
.
Height
()
),
aSize
);
}
//------------------------------------------------------------------------
String
XFormsPage
::
SetModel
(
const
Reference
<
css
::
xforms
::
XModel
>&
_xModel
,
sal_uInt16
_nPagePos
)
OU
String
XFormsPage
::
SetModel
(
const
Reference
<
css
::
xforms
::
XModel
>&
_xModel
,
sal_uInt16
_nPagePos
)
{
DBG_ASSERT
(
_xModel
.
is
(),
"XFormsPage::SetModel(): invalid model"
);
...
...
@@ -1355,10 +1355,10 @@ namespace svxform
m_aItemList
.
DeleteAndClear
();
}
//------------------------------------------------------------------------
String
XFormsPage
::
LoadInstance
(
OU
String
XFormsPage
::
LoadInstance
(
const
Sequence
<
PropertyValue
>&
_xPropSeq
,
const
ImageList
&
_rImgLst
)
{
String
sRet
;
OU
String
sRet
;
OUString
sTemp
;
OUString
sInstModel
=
PN_INSTANCE_MODEL
;
OUString
sInstName
=
PN_INSTANCE_ID
;
...
...
svx/source/inc/datanavi.hxx
Dosyayı görüntüle @
52c66195
...
...
@@ -149,8 +149,8 @@ namespace svxform
// mb: furthermore these are properties of an instance, thus
// it would be much better to get/set them through the UIHelper
// interface.
String
m_sInstanceName
;
String
m_sInstanceURL
;
OUString
m_sInstanceName
;
OUString
m_sInstanceURL
;
bool
m_bLinkOnce
;
DECL_LINK
(
TbxSelectHdl
,
void
*
);
...
...
@@ -175,27 +175,27 @@ namespace svxform
virtual
void
Resize
();
inline
bool
HasModel
()
const
{
return
m_bHasModel
;
}
String
SetModel
(
const
XModel_ref
&
_xModel
,
sal_uInt16
_nPagePos
);
OUString
SetModel
(
const
XModel_ref
&
_xModel
,
sal_uInt16
_nPagePos
);
void
ClearModel
();
String
LoadInstance
(
const
PropertyValue_seq
&
_xPropSeq
,
OUString
LoadInstance
(
const
PropertyValue_seq
&
_xPropSeq
,
const
ImageList
&
_rImgLst
);
bool
DoMenuAction
(
sal_uInt16
_nMenuID
);
void
EnableMenuItems
(
Menu
*
_pMenu
);
inline
SvTreeListEntry
*
GetSelectedItem
()
const
{
return
m_aItemList
.
FirstSelected
();
}
inline
const
String
&
GetInstanceName
()
const
{
return
m_sInstanceName
;
}
inline
const
String
&
GetInstanceURL
()
const
{
return
m_sInstanceURL
;
}
inline
SvTreeListEntry
*
GetSelectedItem
()
const
{
return
m_aItemList
.
FirstSelected
();
}
inline
const
OUString
&
GetInstanceName
()
const
{
return
m_sInstanceName
;
}
inline
const
OUString
&
GetInstanceURL
()
const
{
return
m_sInstanceURL
;
}
inline
bool
GetLinkOnce
()
const
{
return
m_bLinkOnce
;
}
inline
void
SetInstanceName
(
const
String
&
name
)
{
m_sInstanceName
=
name
;
}
inline
void
SetInstanceURL
(
const
String
&
url
)
{
m_sInstanceURL
=
url
;
}
inline
void
SetInstanceName
(
const
OU
String
&
name
)
{
m_sInstanceName
=
name
;
}
inline
void
SetInstanceURL
(
const
OU
String
&
url
)
{
m_sInstanceURL
=
url
;
}
inline
void
SetLinkOnce
(
bool
bLinkOnce
)
{
m_bLinkOnce
=
bLinkOnce
;
}
typedef
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySet
>
XPropertySet_t
;
typedef
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
xml
::
dom
::
XNode
>
XNode_t
;
inline
XPropertySet_t
GetBindingForNode
(
const
XNode_t
&
xNode
)
{
return
m_xUIHelper
->
getBindingForNode
(
xNode
,
true
);
}
inline
String
GetServiceNameForNode
(
const
XNode_t
&
xNode
)
{
return
m_xUIHelper
->
getDefaultServiceNameForNode
(
xNode
);
}
inline
OU
String
GetServiceNameForNode
(
const
XNode_t
&
xNode
)
{
return
m_xUIHelper
->
getDefaultServiceNameForNode
(
xNode
);
}
inline
XFormsUIHelper1_ref
GetXFormsHelper
(
void
)
const
{
return
m_xUIHelper
;
}
};
...
...
@@ -341,10 +341,10 @@ namespace svxform
ItemNode
*
m_pItemNode
;
DataItemType
m_eItemType
;
String
m_sFL_Element
;
String
m_sFL_Attribute
;
String
m_sFL_Binding
;
String
m_sFT_BindingExp
;
OUString
m_sFL_Element
;
OUString
m_sFL_Attribute
;
OUString
m_sFL_Binding
;
OUString
m_sFT_BindingExp
;
DECL_LINK
(
CheckHdl
,
CheckBox
*
);
DECL_LINK
(
ConditionHdl
,
PushButton
*
);
...
...
@@ -393,11 +393,11 @@ namespace svxform
~
AddConditionDialog
();
inline
XFormsUIHelper1_ref
GetUIHelper
()
const
{
return
m_xUIHelper
;
}
inline
String
GetCondition
()
const
{
return
m_aConditionED
.
GetText
();
}
inline
void
SetCondition
(
const
String
&
_rCondition
);
inline
OUString
GetCondition
()
const
{
return
m_aConditionED
.
GetText
();
}
inline
void
SetCondition
(
const
OU
String
&
_rCondition
);
};
inline
void
AddConditionDialog
::
SetCondition
(
const
String
&
_rCondition
)
inline
void
AddConditionDialog
::
SetCondition
(
const
OU
String
&
_rCondition
)
{
m_aConditionED
.
SetText
(
_rCondition
);
m_aResultTimer
.
Start
();
...
...
@@ -457,12 +457,12 @@ namespace svxform
ManageNamespaceDialog
(
Window
*
pParent
,
AddConditionDialog
*
_pCondDlg
,
bool
_bIsEdit
);
~
ManageNamespaceDialog
();
inline
void
SetNamespace
(
const
String
&
_rPrefix
,
const
String
&
_rURL
);
inline
String
GetPrefix
()
const
{
return
m_aPrefixED
.
GetText
();
}
inline
String
GetURL
()
const
{
return
m_aUrlED
.
GetText
();
}
inline
void
SetNamespace
(
const
OUString
&
_rPrefix
,
const
OU
String
&
_rURL
);
inline
OUString
GetPrefix
()
const
{
return
m_aPrefixED
.
GetText
();
}
inline
OUString
GetURL
()
const
{
return
m_aUrlED
.
GetText
();
}
};
void
ManageNamespaceDialog
::
SetNamespace
(
const
String
&
_rPrefix
,
const
String
&
_rURL
)
void
ManageNamespaceDialog
::
SetNamespace
(
const
OUString
&
_rPrefix
,
const
OU
String
&
_rURL
)
{
m_aPrefixED
.
SetText
(
_rPrefix
);
m_aUrlED
.
SetText
(
_rURL
);
...
...
@@ -530,8 +530,8 @@ namespace svxform
AddModelDialog
(
Window
*
pParent
,
bool
_bEdit
);
~
AddModelDialog
();
inline
String
GetName
()
const
{
return
m_aNameED
.
GetText
();
}
inline
void
SetName
(
const
String
&
_rName
)
{
m_aNameED
.
SetText
(
_rName
);}
inline
OU
String
GetName
()
const
{
return
m_aNameED
.
GetText
();
}
inline
void
SetName
(
const
OU
String
&
_rName
)
{
m_aNameED
.
SetText
(
_rName
);}
inline
bool
GetModifyDoc
()
const
{
return
bool
(
m_aModifyCB
.
IsChecked
()
);
}
inline
void
SetModifyDoc
(
const
bool
_bModify
)
{
m_aModifyCB
.
Check
(
_bModify
);
}
...
...
@@ -553,7 +553,7 @@ namespace svxform
CancelButton
m_aEscBtn
;
HelpButton
m_aHelpBtn
;
String
m_sAllFilterName
;
OUString
m_sAllFilterName
;
DECL_LINK
(
FilePickerHdl
,
void
*
);
...
...
@@ -562,10 +562,10 @@ namespace svxform
~
AddInstanceDialog
();
inline
void
SetRenameMode
();
inline
String
GetName
()
const
{
return
m_aNameED
.
GetText
();
}
inline
void
SetName
(
const
String
&
_rName
)
{
m_aNameED
.
SetText
(
_rName
);}
inline
String
GetURL
()
const
{
return
m_aURLED
.
GetText
();
}
inline
void
SetURL
(
const
String
&
_rURL
)
{
m_aURLED
.
SetText
(
_rURL
);}
inline
OUString
GetName
()
const
{
return
m_aNameED
.
GetText
();
}
inline
void
SetName
(
const
OU
String
&
_rName
)
{
m_aNameED
.
SetText
(
_rName
);}
inline
OUString
GetURL
()
const
{
return
m_aURLED
.
GetText
();
}
inline
void
SetURL
(
const
OU
String
&
_rURL
)
{
m_aURLED
.
SetText
(
_rURL
);}
inline
bool
IsLinkInstance
()
const
{
return
(
m_aLinkInstanceCB
.
IsChecked
()
!=
sal_False
);
}
inline
void
SetLinkInstance
(
bool
_bLink
)
{
m_aLinkInstanceCB
.
Check
(
_bLink
!=
false
);
}
};
...
...
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