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
71a408f5
Kaydet (Commit)
71a408f5
authored
Agu 22, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/sfx2/sfxdlg.hxx from String to OUString
Change-Id: I13831d61e23db846d2083bbf96701384b750592f
üst
82ecc260
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
26 deletions
+28
-26
dlgfact.cxx
cui/source/factory/dlgfact.cxx
+10
-10
dlgfact.hxx
cui/source/factory/dlgfact.hxx
+7
-7
sfxdlg.hxx
include/sfx2/sfxdlg.hxx
+10
-8
svxdlg.hxx
include/svx/svxdlg.hxx
+1
-1
No files found.
cui/source/factory/dlgfact.cxx
Dosyayı görüntüle @
71a408f5
...
...
@@ -396,12 +396,12 @@ sal_Bool AbstractInsertObjectDialog_Impl::IsCreateNew()
return
pDlg
->
GetIconIfIconified
(
pGraphicMediaType
);
}
void
AbstractPasteDialog_Impl
::
Insert
(
SotFormatStringId
nFormat
,
const
String
&
rFormatName
)
void
AbstractPasteDialog_Impl
::
Insert
(
SotFormatStringId
nFormat
,
const
OU
String
&
rFormatName
)
{
pDlg
->
Insert
(
nFormat
,
rFormatName
);
}
void
AbstractPasteDialog_Impl
::
SetObjName
(
const
SvGlobalName
&
rClass
,
const
String
&
rObjName
)
void
AbstractPasteDialog_Impl
::
SetObjName
(
const
SvGlobalName
&
rClass
,
const
OU
String
&
rObjName
)
{
pDlg
->
SetObjName
(
rClass
,
rObjName
);
}
...
...
@@ -1051,17 +1051,17 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* /*pParen
VclAbstractDialog
*
AbstractDialogFactory_Impl
::
CreateFrameDialog
(
Window
*
pParent
,
const
Reference
<
frame
::
XFrame
>&
rxFrame
,
sal_uInt32
nResId
,
const
String
&
rParameter
)
sal_uInt32
nResId
,
const
OU
String
&
rParameter
)
{
Dialog
*
pDlg
=
NULL
;
if
(
SID_OPTIONS_TREEDIALOG
==
nResId
||
SID_OPTIONS_DATABASES
==
nResId
)
{
// only activate last page if we dont want to activate a special page
bool
bActivateLastSelection
=
(
nResId
!=
SID_OPTIONS_DATABASES
&&
rParameter
.
Len
()
==
0
);
bool
bActivateLastSelection
=
(
nResId
!=
SID_OPTIONS_DATABASES
&&
rParameter
.
isEmpty
()
);
OfaTreeOptionsDialog
*
pOptDlg
=
new
OfaTreeOptionsDialog
(
pParent
,
rxFrame
,
bActivateLastSelection
);
if
(
nResId
==
SID_OPTIONS_DATABASES
)
pOptDlg
->
ActivatePage
(
SID_SB_DBREGISTEROPTIONS
);
else
if
(
rParameter
.
Len
()
>
0
)
else
if
(
!
rParameter
.
isEmpty
()
)
pOptDlg
->
ActivatePage
(
rParameter
);
pDlg
=
pOptDlg
;
}
...
...
@@ -1078,7 +1078,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabDialog( sal_uInt32 nR
const
SfxItemSet
*
pAttrSet
,
SfxViewFrame
*
,
bool
/*bEditFmt*/
,
const
String
*
)
const
OU
String
*
)
{
SfxTabDialog
*
pDlg
=
NULL
;
switch
(
nResId
)
...
...
@@ -1103,7 +1103,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabDialog( sal_uInt32 nR
const
SfxItemSet
*
pAttrSet
,
const
Reference
<
frame
::
XFrame
>&
xViewFrame
,
bool
/*bEditFmt*/
,
const
String
*
)
const
OU
String
*
)
{
SfxTabDialog
*
pDlg
=
NULL
;
switch
(
nResId
)
...
...
@@ -1234,11 +1234,11 @@ AbstractDialogFactory_Impl::CreateScriptSelectorDialog(
return
new
AbstractScriptSelectorDialog_Impl
(
pDlg
);
}
String
AbstractScriptSelectorDialog_Impl
::
GetScriptURL
()
const
OU
String
AbstractScriptSelectorDialog_Impl
::
GetScriptURL
()
const
{
if
(
pDlg
)
return
pDlg
->
GetScriptURL
();
return
String
();
return
OU
String
();
}
void
AbstractScriptSelectorDialog_Impl
::
SetRunLabel
()
...
...
@@ -1249,7 +1249,7 @@ void AbstractScriptSelectorDialog_Impl::SetRunLabel()
}
VclAbstractDialog
*
AbstractDialogFactory_Impl
::
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
//add for SvxScriptOrgDialog
const
String
&
rLanguage
)
const
OU
String
&
rLanguage
)
{
Dialog
*
pDlg
=
NULL
;
...
...
cui/source/factory/dlgfact.hxx
Dosyayı görüntüle @
71a408f5
...
...
@@ -269,7 +269,7 @@ class AbstractScriptSelectorDialog_Impl : public AbstractScriptSelectorDialog
DECL_ABSTDLG_BASE
(
AbstractScriptSelectorDialog_Impl
,
SvxScriptSelectorDialog
)
virtual
String
GetScriptURL
()
const
;
virtual
OU
String
GetScriptURL
()
const
;
virtual
void
SetRunLabel
();
};
...
...
@@ -523,8 +523,8 @@ class AbstractPasteDialog_Impl : public SfxAbstractPasteDialog
{
public
:
DECL_ABSTDLG_BASE
(
AbstractPasteDialog_Impl
,
SvPasteObjectDialog
)
virtual
void
Insert
(
SotFormatStringId
nFormat
,
const
String
&
rFormatName
);
virtual
void
SetObjName
(
const
SvGlobalName
&
rClass
,
const
String
&
rObjName
);
virtual
void
Insert
(
SotFormatStringId
nFormat
,
const
OU
String
&
rFormatName
);
virtual
void
SetObjName
(
const
SvGlobalName
&
rClass
,
const
OU
String
&
rObjName
);
virtual
sal_uLong
GetFormat
(
const
TransferableDataHelper
&
aHelper
,
const
DataFlavorExVector
*
pFormats
=
0
,
const
TransferableObjectDescriptor
*
pDesc
=
0
);
...
...
@@ -596,19 +596,19 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
_rxFrame
,
sal_uInt32
nResId
);
virtual
VclAbstractDialog
*
CreateFrameDialog
(
Window
*
pParent
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>&
rxFrame
,
sal_uInt32
nResId
,
const
String
&
rParameter
);
virtual
VclAbstractDialog
*
CreateFrameDialog
(
Window
*
pParent
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>&
rxFrame
,
sal_uInt32
nResId
,
const
OU
String
&
rParameter
);
virtual
SfxAbstractTabDialog
*
CreateTabDialog
(
sal_uInt32
nResId
,
Window
*
pParent
,
const
SfxItemSet
*
pAttrSet
,
SfxViewFrame
*
pViewFrame
,
bool
bEditFmt
=
false
,
const
String
*
pUserButtonText
=
0
);
const
OU
String
*
pUserButtonText
=
0
);
virtual
SfxAbstractTabDialog
*
CreateTabDialog
(
sal_uInt32
nResId
,
Window
*
pParent
,
const
SfxItemSet
*
pAttrSet
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
xViewFrame
,
bool
bEditFmt
=
false
,
const
String
*
pUserButtonText
=
0
);
const
OU
String
*
pUserButtonText
=
0
);
virtual
SfxAbstractTabDialog
*
CreateTextTabDialog
(
Window
*
pParent
,
const
SfxItemSet
*
pAttrSet
,
SdrView
*
pView
,
...
...
@@ -749,7 +749,7 @@ public:
virtual
GetTabPageRanges
GetTabPageRangesFunc
(
sal_uInt16
nId
);
virtual
DialogGetRanges
GetDialogGetRangesFunc
();
//add for SvxPostItDialog
virtual
VclAbstractDialog
*
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
const
String
&
rLanguage
);
virtual
VclAbstractDialog
*
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
const
OU
String
&
rLanguage
);
virtual
AbstractScriptSelectorDialog
*
CreateScriptSelectorDialog
(
...
...
include/sfx2/sfxdlg.hxx
Dosyayı görüntüle @
71a408f5
...
...
@@ -38,7 +38,9 @@ class SfxBindings;
class
SfxItemSet
;
class
ResId
;
class
Window
;
class
String
;
namespace
rtl
{
class
OUString
;
};
class
SfxItemPool
;
class
SvObjectServerList
;
class
TransferableDataHelper
;
...
...
@@ -91,8 +93,8 @@ public:
class
SfxAbstractPasteDialog
:
virtual
public
VclAbstractDialog
{
public
:
virtual
void
Insert
(
SotFormatStringId
nFormat
,
const
String
&
rFormatName
)
=
0
;
virtual
void
SetObjName
(
const
SvGlobalName
&
rClass
,
const
String
&
rObjName
)
=
0
;
virtual
void
Insert
(
SotFormatStringId
nFormat
,
const
rtl
::
OU
String
&
rFormatName
)
=
0
;
virtual
void
SetObjName
(
const
SvGlobalName
&
rClass
,
const
rtl
::
OU
String
&
rObjName
)
=
0
;
virtual
sal_uIntPtr
GetFormat
(
const
TransferableDataHelper
&
aHelper
,
const
DataFlavorExVector
*
pFormats
=
0
,
const
TransferableObjectDescriptor
*
pDesc
=
0
)
=
0
;
...
...
@@ -105,7 +107,7 @@ class SfxAbstractLinksDialog : virtual public VclAbstractDialog
class
AbstractScriptSelectorDialog
:
virtual
public
VclAbstractDialog
{
public
:
virtual
String
GetScriptURL
()
const
=
0
;
virtual
rtl
::
OUString
GetScriptURL
()
const
=
0
;
virtual
void
SetRunLabel
()
=
0
;
};
...
...
@@ -117,19 +119,19 @@ public:
virtual
~
SfxAbstractDialogFactory
();
// needed for export of vtable
static
SfxAbstractDialogFactory
*
Create
();
virtual
VclAbstractDialog
*
CreateSfxDialog
(
Window
*
pParent
,
const
SfxBindings
&
rBindings
,
sal_uInt32
nResId
)
=
0
;
virtual
VclAbstractDialog
*
CreateFrameDialog
(
Window
*
pParent
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
,
sal_uInt32
nResId
,
const
String
&
rParameter
)
=
0
;
virtual
VclAbstractDialog
*
CreateFrameDialog
(
Window
*
pParent
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
,
sal_uInt32
nResId
,
const
rtl
::
OU
String
&
rParameter
)
=
0
;
virtual
SfxAbstractTabDialog
*
CreateTabDialog
(
sal_uInt32
nResId
,
Window
*
pParent
,
const
SfxItemSet
*
pAttrSet
,
SfxViewFrame
*
pViewFrame
,
bool
bEditFmt
=
false
,
const
String
*
pUserButtonText
=
0
)
=
0
;
const
rtl
::
OU
String
*
pUserButtonText
=
0
)
=
0
;
virtual
SfxAbstractTabDialog
*
CreateTabDialog
(
sal_uInt32
nResId
,
Window
*
pParent
,
const
SfxItemSet
*
pAttrSet
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
xViewFrame
,
bool
bEditFmt
=
false
,
const
String
*
pUserButtonText
=
0
)
=
0
;
const
rtl
::
OU
String
*
pUserButtonText
=
0
)
=
0
;
virtual
CreateTabPage
GetTabPageCreatorFunc
(
sal_uInt16
nId
)
=
0
;
virtual
GetTabPageRanges
GetTabPageRangesFunc
(
sal_uInt16
nId
)
=
0
;
virtual
SfxAbstractInsertObjectDialog
*
CreateInsertObjectDialog
(
Window
*
pParent
,
const
OUString
&
rCommand
,
...
...
@@ -139,7 +141,7 @@ public:
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XEmbeddedObject
>&
xObj
)
=
0
;
virtual
SfxAbstractPasteDialog
*
CreatePasteDialog
(
Window
*
pParent
)
=
0
;
virtual
SfxAbstractLinksDialog
*
CreateLinksDialog
(
Window
*
pParent
,
sfx2
::
LinkManager
*
pMgr
,
sal_Bool
bHTML
=
sal_False
,
sfx2
::
SvBaseLink
*
p
=
0
)
=
0
;
virtual
VclAbstractDialog
*
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
const
String
&
rLanguage
)
=
0
;
virtual
VclAbstractDialog
*
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
const
rtl
::
OU
String
&
rLanguage
)
=
0
;
virtual
AbstractScriptSelectorDialog
*
CreateScriptSelectorDialog
(
...
...
include/svx/svxdlg.hxx
Dosyayı görüntüle @
71a408f5
...
...
@@ -461,7 +461,7 @@ public:
virtual
AbstractSvxPostItDialog
*
CreateSvxPostItDialog
(
Window
*
pParent
,
//add for SvxPostItDialog
const
SfxItemSet
&
rCoreSet
,
sal_Bool
bPrevNext
=
sal_False
)
=
0
;
virtual
VclAbstractDialog
*
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
const
String
&
rLanguage
)
=
0
;
virtual
VclAbstractDialog
*
CreateSvxScriptOrgDialog
(
Window
*
pParent
,
const
OU
String
&
rLanguage
)
=
0
;
virtual
CreateSvxDistributePage
GetSvxDistributePageCreatorFunc
()
=
0
;
// add for SvxDistributePage
virtual
DialogGetRanges
GetDialogGetRangesFunc
()
=
0
;
//add for SvxPostItDialog
...
...
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