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
001080ae
Kaydet (Commit)
001080ae
authored
Eyl 18, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert some .cxx files in sd from String to OUString
Change-Id: I3f3ba3521b72d78887e01970192f353cdc866626
üst
15b3fbf9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
73 additions
and
76 deletions
+73
-76
MasterPageContainerFiller.cxx
...ource/ui/toolpanel/controls/MasterPageContainerFiller.cxx
+4
-4
RecentMasterPagesSelector.cxx
...ource/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
+2
-2
RecentlyUsedMasterPages.cxx
sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
+1
-1
sddetect.cxx
sd/source/ui/unoidl/sddetect.cxx
+18
-18
unocpres.cxx
sd/source/ui/unoidl/unocpres.cxx
+1
-1
unomodel.cxx
sd/source/ui/unoidl/unomodel.cxx
+38
-40
unoobj.cxx
sd/source/ui/unoidl/unoobj.cxx
+9
-10
No files found.
sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -45,9 +45,9 @@ MasterPageContainerFiller::MasterPageContainerFiller (ContainerAdapter& rpAdapte
SharedMasterPageDescriptor
pDescriptor
(
new
MasterPageDescriptor
(
MasterPageContainer
::
DEFAULT
,
0
,
String
(),
String
(),
String
(),
OU
String
(),
OU
String
(),
OU
String
(),
false
,
::
boost
::
shared_ptr
<
PageObjectProvider
>
(
new
DefaultPageObjectProvider
()),
::
boost
::
shared_ptr
<
PreviewProvider
>
(
new
PagePreviewProvider
())));
...
...
@@ -162,7 +162,7 @@ MasterPageContainerFiller::State MasterPageContainerFiller::AddTemplate (void)
mnIndex
,
mpLastAddedEntry
->
msPath
,
mpLastAddedEntry
->
msTitle
,
String
(),
OU
String
(),
false
,
::
boost
::
shared_ptr
<
PageObjectProvider
>
(
new
TemplatePageObjectProvider
(
mpLastAddedEntry
->
msPath
)),
...
...
sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -100,8 +100,8 @@ void RecentMasterPagesSelector::Fill (ItemList& rItemList)
MasterPageContainer
::
Token
aToken
(
rInstance
.
GetTokenForIndex
(
nIndex
));
if
(
aToken
!=
MasterPageContainer
::
NIL_TOKEN
)
{
String
sStyleName
(
mpContainer
->
GetStyleNameForToken
(
aToken
));
if
(
sStyleName
.
Len
()
==
0
OU
String
sStyleName
(
mpContainer
->
GetStyleNameForToken
(
aToken
));
if
(
sStyleName
.
isEmpty
()
||
aCurrentNames
.
find
(
sStyleName
)
==
aCurrentNames
.
end
())
{
rItemList
.
push_back
(
aToken
);
...
...
sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -206,7 +206,7 @@ void RecentlyUsedMasterPages::LoadPersistentValues (void)
MasterPageContainer
::
TEMPLATE
,
-
1
,
sURL
,
String
(),
OU
String
(),
sName
,
false
,
::
boost
::
shared_ptr
<
PageObjectProvider
>
(
...
...
sd/source/ui/unoidl/sddetect.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -107,10 +107,10 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes
Reference
<
XInputStream
>
xStream
;
Reference
<
XContent
>
xContent
;
Reference
<
XInteractionHandler
>
xInteraction
;
String
aURL
;
OU
String
aURL
;
OUString
sTemp
;
OUString
aTypeName
;
// a name describing the type (from MediaDescriptor, usually from flat detection)
String
aPreselectedFilterName
;
// a name describing the filter to use (from MediaDescriptor, usually from UI action)
OU
String
aPreselectedFilterName
;
// a name describing the filter to use (from MediaDescriptor, usually from UI action)
OUString
aDocumentTitle
;
// interesting only if set in this method
...
...
@@ -141,7 +141,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aURL
=
sTemp
;
}
else
if
(
!
aURL
.
Len
()
&&
lDescriptor
[
nProperty
].
Name
==
"FileName"
)
else
if
(
aURL
.
isEmpty
()
&&
lDescriptor
[
nProperty
].
Name
==
"FileName"
)
{
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aURL
=
sTemp
;
...
...
@@ -189,22 +189,22 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes
bWasReadOnly
=
pItem
&&
pItem
->
GetValue
();
const
SfxFilter
*
pFilter
=
0
;
String
aPrefix
=
OUString
(
"private:factory/"
);
if
(
aURL
.
Match
(
aPrefix
)
==
aPrefix
.
Len
(
)
)
OU
String
aPrefix
=
OUString
(
"private:factory/"
);
if
(
aURL
.
startsWith
(
aPrefix
)
)
{
if
(
SvtModuleOptions
().
IsImpress
()
)
{
String
aPattern
(
aPrefix
);
aPattern
+=
OUString
(
"simpress"
)
;
if
(
aURL
.
Match
(
aPattern
)
>=
aPattern
.
Len
(
)
)
OU
String
aPattern
(
aPrefix
);
aPattern
+=
"simpress"
;
if
(
aURL
.
startsWith
(
aPattern
)
)
pFilter
=
SfxFilter
::
GetDefaultFilterFromFactory
(
aURL
);
}
if
(
!
pFilter
&&
SvtModuleOptions
().
IsDraw
()
)
{
String
aPattern
(
aPrefix
);
aPattern
+=
OUString
(
"sdraw"
)
;
if
(
aURL
.
Match
(
aPattern
)
>=
aPattern
.
Len
(
)
)
OU
String
aPattern
(
aPrefix
);
aPattern
+=
"sdraw"
;
if
(
aURL
.
startsWith
(
aPattern
)
)
pFilter
=
SfxFilter
::
GetDefaultFilterFromFactory
(
aURL
);
}
}
...
...
@@ -213,7 +213,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes
// ctor of SfxMedium uses owner transition of ItemSet
SfxMedium
aMedium
(
aURL
,
bWasReadOnly
?
STREAM_STD_READ
:
STREAM_STD_READWRITE
,
NULL
,
pSet
);
aMedium
.
UseInteractionHandler
(
sal_True
);
if
(
aPreselectedFilterName
.
Len
()
)
if
(
!
aPreselectedFilterName
.
isEmpty
()
)
pFilter
=
SfxFilter
::
GetFilterByName
(
aPreselectedFilterName
);
else
if
(
!
aTypeName
.
isEmpty
())
{
...
...
@@ -400,17 +400,17 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes
}
else
{
String
aShortName
(
aDesc
.
GetImportFormatShortName
(
aDesc
.
GetFileFormat
()
)
);
OU
String
aShortName
(
aDesc
.
GetImportFormatShortName
(
aDesc
.
GetFileFormat
()
)
);
GraphicFilter
&
rGrfFilter
=
GraphicFilter
::
GetGraphicFilter
();
const
String
aName
(
rGrfFilter
.
GetImportFormatTypeName
(
rGrfFilter
.
GetImportFormatNumberForShortName
(
aShortName
)
)
);
const
OU
String
aName
(
rGrfFilter
.
GetImportFormatTypeName
(
rGrfFilter
.
GetImportFormatNumberForShortName
(
aShortName
)
)
);
if
(
pFilter
&&
aShortName
.
EqualsIgnoreCaseAscii
(
"PCD"
)
)
// there is a multiple pcd selection possible
if
(
pFilter
&&
aShortName
.
equalsIgnoreAsciiCase
(
"PCD"
)
)
// there is a multiple pcd selection possible
{
sal_Int32
nBase
=
2
;
// default Base0
String
aFilterTypeName
(
pFilter
->
GetRealTypeName
()
);
if
(
aFilterTypeName
.
CompareToAscii
(
"pcd_Photo_CD_Base4"
)
==
COMPARE_EQUAL
)
OU
String
aFilterTypeName
(
pFilter
->
GetRealTypeName
()
);
if
(
aFilterTypeName
==
"pcd_Photo_CD_Base4"
)
nBase
=
1
;
else
if
(
aFilterTypeName
.
CompareToAscii
(
"pcd_Photo_CD_Base16"
)
==
COMPARE_EQUAL
)
else
if
(
aFilterTypeName
==
"pcd_Photo_CD_Base16"
)
nBase
=
0
;
FilterConfigItem
aFilterConfigItem
(
"Office.Common/Filter/Graphic/Import/PCD"
);
aFilterConfigItem
.
WriteInt32
(
"Resolution"
,
nBase
);
...
...
sd/source/ui/unoidl/unocpres.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -481,7 +481,7 @@ SdCustomShow * SdXCustomPresentationAccess::getSdCustomShow( const OUString& Nam
SdCustomShowList
*
pList
=
GetCustomShowList
();
const
sal_uInt32
nCount
=
pList
?
pList
->
size
()
:
0
;
const
String
aName
(
Name
);
const
OU
String
aName
(
Name
);
while
(
nIdx
<
nCount
)
{
...
...
sd/source/ui/unoidl/unomodel.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -484,8 +484,8 @@ SdPage* SdXImpressDocument::InsertSdPage( sal_uInt16 nPage, sal_Bool bDuplicate
sal_uInt16
nStandardPageNum
=
pPreviousStandardPage
->
GetPageNum
()
+
2
;
SdPage
*
pPreviousNotesPage
=
(
SdPage
*
)
mpDoc
->
GetPage
(
nStandardPageNum
-
1
);
sal_uInt16
nNotesPageNum
=
nStandardPageNum
+
1
;
String
aStandardPageName
;
String
aNotesPageName
;
OU
String
aStandardPageName
;
OU
String
aNotesPageName
;
/**************************************************************
* standard page
...
...
@@ -966,78 +966,78 @@ uno::Reference< uno::XInterface > SAL_CALL SdXImpressDocument::createInstance( c
uno
::
Reference
<
uno
::
XInterface
>
xRet
;
const
String
aType
(
aServiceSpecifier
);
if
(
aType
.
EqualsAscii
(
"com.sun.star.presentation."
,
0
,
26
)
)
if
(
aServiceSpecifier
.
startsWith
(
"com.sun.star.presentation."
)
)
{
const
OUString
aType
(
aServiceSpecifier
.
copy
(
26
)
);
SvxShape
*
pShape
=
NULL
;
sal_uInt16
nType
=
OBJ_TEXT
;
// create a shape wrapper
if
(
aType
.
EqualsAscii
(
"TitleTextShape"
,
26
,
14
)
)
if
(
aType
.
startsWith
(
"TitleTextShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"OutlinerShape"
,
26
,
13
)
)
else
if
(
aType
.
startsWith
(
"OutlinerShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"SubtitleShape"
,
26
,
13
)
)
else
if
(
aType
.
startsWith
(
"SubtitleShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"GraphicObjectShape"
,
26
,
18
)
)
else
if
(
aType
.
startsWith
(
"GraphicObjectShape"
)
)
{
nType
=
OBJ_GRAF
;
}
else
if
(
aType
.
EqualsAscii
(
"PageShape"
,
26
,
9
)
)
else
if
(
aType
.
startsWith
(
"PageShape"
)
)
{
nType
=
OBJ_PAGE
;
}
else
if
(
aType
.
EqualsAscii
(
"OLE2Shape"
,
26
,
9
)
)
else
if
(
aType
.
startsWith
(
"OLE2Shape"
)
)
{
nType
=
OBJ_OLE2
;
}
else
if
(
aType
.
EqualsAscii
(
"ChartShape"
,
26
,
10
)
)
else
if
(
aType
.
startsWith
(
"ChartShape"
)
)
{
nType
=
OBJ_OLE2
;
}
else
if
(
aType
.
EqualsAscii
(
"CalcShape"
,
26
,
9
)
)
else
if
(
aType
.
startsWith
(
"CalcShape"
)
)
{
nType
=
OBJ_OLE2
;
}
else
if
(
aType
.
EqualsAscii
(
"TableShape"
,
26
,
10
)
)
else
if
(
aType
.
startsWith
(
"TableShape"
)
)
{
nType
=
OBJ_TABLE
;
}
else
if
(
aType
.
EqualsAscii
(
"OrgChartShape"
,
26
,
13
)
)
else
if
(
aType
.
startsWith
(
"OrgChartShape"
)
)
{
nType
=
OBJ_OLE2
;
}
else
if
(
aType
.
EqualsAscii
(
"NotesShape"
,
26
,
13
)
)
else
if
(
aType
.
startsWith
(
"NotesShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"HandoutShape"
,
26
,
13
)
)
else
if
(
aType
.
startsWith
(
"HandoutShape"
)
)
{
nType
=
OBJ_PAGE
;
}
else
if
(
aType
.
EqualsAscii
(
"FooterShape"
,
26
,
12
)
)
else
if
(
aType
.
startsWith
(
"FooterShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"HeaderShape"
,
26
,
12
)
)
else
if
(
aType
.
startsWith
(
"HeaderShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"SlideNumberShape"
,
26
,
17
)
)
else
if
(
aType
.
startsWith
(
"SlideNumberShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"DateTimeShape"
,
26
,
17
)
)
else
if
(
aType
.
startsWith
(
"DateTimeShape"
)
)
{
nType
=
OBJ_TEXT
;
}
else
if
(
aType
.
EqualsAscii
(
"MediaShape"
,
26
,
10
)
)
else
if
(
aType
.
startsWith
(
"MediaShape"
)
)
{
nType
=
OBJ_MEDIA
;
}
...
...
@@ -1538,17 +1538,17 @@ ImplRenderPaintProc::~ImplRenderPaintProc()
{
}
sal_Int32
ImplPDFGetBookmarkPage
(
const
String
&
rBookmark
,
SdDrawDocument
&
rDoc
)
sal_Int32
ImplPDFGetBookmarkPage
(
const
OU
String
&
rBookmark
,
SdDrawDocument
&
rDoc
)
{
sal_Int32
nPage
=
-
1
;
OSL_TRACE
(
"GotoBookmark %s"
,
OUStringToOString
(
rBookmark
,
RTL_TEXTENCODING_UTF8
).
getStr
());
String
aBookmark
(
rBookmark
);
OU
String
aBookmark
(
rBookmark
);
if
(
rBookmark
.
Len
()
&&
rBookmark
.
GetChar
(
0
)
==
sal_Unicode
(
'#'
)
)
aBookmark
=
rBookmark
.
C
opy
(
1
);
if
(
!
rBookmark
.
isEmpty
()
&&
rBookmark
[
0
]
==
'#'
)
aBookmark
=
rBookmark
.
c
opy
(
1
);
// is the bookmark a page ?
sal_Bool
bIsMasterPage
;
...
...
@@ -1585,11 +1585,11 @@ void ImplPDFExportComments( uno::Reference< drawing::XDrawPage > xPage, vcl::PDF
Date
aDate
(
aDateTime
.
Day
,
aDateTime
.
Month
,
aDateTime
.
Year
);
Time
aTime
(
Time
::
EMPTY
);
String
aStr
(
SvxDateTimeField
::
GetFormatted
(
aDate
,
aTime
,
SVXDATEFORMAT_B
,
*
(
SD_MOD
()
->
GetNumberFormatter
()),
eLanguage
)
);
OU
String
aStr
(
SvxDateTimeField
::
GetFormatted
(
aDate
,
aTime
,
SVXDATEFORMAT_B
,
*
(
SD_MOD
()
->
GetNumberFormatter
()),
eLanguage
)
);
vcl
::
PDFNote
aNote
;
String
sTitle
(
xAnnotation
->
getAuthor
()
);
sTitle
.
AppendAscii
(
", "
)
;
OU
String
sTitle
(
xAnnotation
->
getAuthor
()
);
sTitle
+=
", "
;
sTitle
+=
aStr
;
aNote
.
Title
=
sTitle
;
aNote
.
Contents
=
xText
->
getString
();
...
...
@@ -1803,7 +1803,7 @@ sal_Bool ImplRenderPaintProc::IsVisible( const SdrObject* pObj ) const
const
SdrLayer
*
pSdrLayer
=
rLayerAdmin
.
GetLayer
(
nLayerId
);
if
(
pSdrLayer
)
{
String
aLayerName
=
pSdrLayer
->
GetName
();
OU
String
aLayerName
=
pSdrLayer
->
GetName
();
bVisible
=
pSdrPageView
->
IsLayerVisible
(
aLayerName
);
}
}
...
...
@@ -1818,7 +1818,7 @@ sal_Bool ImplRenderPaintProc::IsPrintable( const SdrObject* pObj ) const
const
SdrLayer
*
pSdrLayer
=
rLayerAdmin
.
GetLayer
(
nLayerId
);
if
(
pSdrLayer
)
{
String
aLayerName
=
pSdrLayer
->
GetName
();
OU
String
aLayerName
=
pSdrLayer
->
GetName
();
bPrintable
=
pSdrPageView
->
IsLayerPrintable
(
aLayerName
);
}
}
...
...
@@ -2108,8 +2108,8 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
rBookmarks
.
clear
();
//---> #i56629, #i40318
//get the page name, will be used as outline element in PDF bookmark pane
String
aPageName
=
mpDoc
->
GetSdPage
(
(
sal_uInt16
)
nPageNumber
-
1
,
PK_STANDARD
)
->
GetName
();
if
(
aPageName
.
Len
()
>
0
)
OU
String
aPageName
=
mpDoc
->
GetSdPage
(
(
sal_uInt16
)
nPageNumber
-
1
,
PK_STANDARD
)
->
GetName
();
if
(
!
aPageName
.
isEmpty
()
)
{
// insert the bookmark to this page into the NamedDestinations
if
(
pPDFExtOutDevData
->
GetIsExportNamedDestinations
()
)
...
...
@@ -2676,8 +2676,8 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
nInsertPos
=
nMPageCount
;
// now generate a unique name for the new masterpage
const
String
aStdPrefix
(
SdResId
(
STR_LAYOUT_DEFAULT_NAME
)
);
String
aPrefix
(
aStdPrefix
);
const
OU
String
aStdPrefix
(
SdResId
(
STR_LAYOUT_DEFAULT_NAME
)
);
OU
String
aPrefix
(
aStdPrefix
);
sal_Bool
bUnique
=
sal_True
;
sal_Int32
i
=
0
;
...
...
@@ -2697,15 +2697,13 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
if
(
!
bUnique
)
{
i
++
;
aPrefix
=
aStdPrefix
;
aPrefix
+=
sal_Unicode
(
' '
);
aPrefix
+=
OUString
::
number
(
i
);
aPrefix
=
aStdPrefix
+
" "
+
OUString
::
number
(
i
);
}
}
while
(
!
bUnique
);
String
aLayoutName
(
aPrefix
);
aLayoutName
.
AppendAscii
(
SD_LT_SEPARATOR
)
;
OU
String
aLayoutName
(
aPrefix
);
aLayoutName
+=
SD_LT_SEPARATOR
;
aLayoutName
+=
SD_RESSTR
(
STR_LAYOUT_OUTLINE
);
// create styles
...
...
@@ -2974,7 +2972,7 @@ SdPage* SdDocLinkTargets::FindPage( const OUString& rName ) const throw()
sal_uInt16
nPage
;
SdPage
*
pPage
;
const
String
aName
(
rName
);
const
OU
String
aName
(
rName
);
const
bool
bDraw
=
mpDoc
->
GetDocumentType
()
==
DOCUMENT_TYPE_DRAW
;
...
...
sd/source/ui/unoidl/unoobj.cxx
Dosyayı görüntüle @
001080ae
...
...
@@ -1176,8 +1176,7 @@ SdUnoEventsAccess::SdUnoEventsAccess( SdXShape* pShape ) throw()
static
void
clearEventsInAnimationInfo
(
SdAnimationInfo
*
pInfo
)
{
const
String
aEmpty
;
pInfo
->
SetBookmark
(
aEmpty
);
pInfo
->
SetBookmark
(
""
);
pInfo
->
mbSecondSoundOn
=
sal_False
;
pInfo
->
mbSecondPlayFull
=
sal_False
;
pInfo
->
meClickAction
=
presentation
::
ClickAction_NONE
;
...
...
@@ -1425,11 +1424,11 @@ void SAL_CALL SdUnoEventsAccess::replaceByName( const OUString& aName, const uno
}
else
{
String
aMacro
=
aStrMacro
;
OU
String
aMacro
=
aStrMacro
;
String
aLibName
=
aMacro
.
GetToken
(
0
,
sal_Unicode
(
'.'
)
);
String
aModulName
=
aMacro
.
GetToken
(
1
,
sal_Unicode
(
'.'
)
);
String
aMacroName
=
aMacro
.
GetToken
(
2
,
sal_Unicode
(
'.'
)
);
OUString
aLibName
=
aMacro
.
getToken
(
0
,
'.'
);
OUString
aModulName
=
aMacro
.
getToken
(
1
,
'.'
);
OUString
aMacroName
=
aMacro
.
getToken
(
2
,
'.'
);
OUStringBuffer
sBuffer
;
sBuffer
.
append
(
aMacroName
);
...
...
@@ -1537,14 +1536,14 @@ uno::Any SAL_CALL SdUnoEventsAccess::getByName( const OUString& aName )
pProperties
->
State
=
beans
::
PropertyState_DIRECT_VALUE
;
pProperties
++
;
String
aMacro
=
pInfo
->
GetBookmark
();
OU
String
aMacro
=
pInfo
->
GetBookmark
();
// aMacro has got following format:
// "Macroname.Modulname.Libname.Documentname" or
// "Macroname.Modulname.Libname.Applicationname"
String
aMacroName
=
aMacro
.
GetToken
(
0
,
sal_Unicode
(
'.'
)
);
String
aModulName
=
aMacro
.
GetToken
(
1
,
sal_Unicode
(
'.'
)
);
String
aLibName
=
aMacro
.
GetToken
(
2
,
sal_Unicode
(
'.'
)
);
OUString
aMacroName
=
aMacro
.
getToken
(
0
,
'.'
);
OUString
aModulName
=
aMacro
.
getToken
(
1
,
'.'
);
OUString
aLibName
=
aMacro
.
getToken
(
2
,
'.'
);
OUStringBuffer
sBuffer
;
sBuffer
.
append
(
aLibName
);
...
...
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