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
d42689cc
Kaydet (Commit)
d42689cc
authored
Ara 01, 2003
tarafından
Rüdiger Timm
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS geordi2q10 (1.4.194); FILE MERGED
2003/11/26 15:07:54 rt 1.4.194.1: #111934#: join CWS draw21
üst
f68492ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
XMLEmbeddedObjectImportContext.cxx
xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+25
-3
No files found.
xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
Dosyayı görüntüle @
d42689cc
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: XMLEmbeddedObjectImportContext.cxx,v $
* $RCSfile: XMLEmbeddedObjectImportContext.cxx,v $
*
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
*
* last change: $Author:
mib $ $Date: 2002-11-05 08:16:47
$
* last change: $Author:
rt $ $Date: 2003-12-01 10:13:40
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -72,6 +72,12 @@
...
@@ -72,6 +72,12 @@
#ifndef _COMPHELPER_PROCESSFACTORY_HXX_
#ifndef _COMPHELPER_PROCESSFACTORY_HXX_
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
#endif
#endif
#ifndef _GLOBNAME_HXX
#include <tools/globname.hxx>
#endif
#ifndef _SOT_CLSIDS_HXX
#include <sot/clsids.hxx>
#endif
#ifndef _XMLOFF_NMSPMAP_HXX
#ifndef _XMLOFF_NMSPMAP_HXX
#include "nmspmap.hxx"
#include "nmspmap.hxx"
...
@@ -115,7 +121,7 @@ struct XMLServiceMapEntry_Impl
...
@@ -115,7 +121,7 @@ struct XMLServiceMapEntry_Impl
#define SERVICE_MAP_ENTRY( cls, app ) \
#define SERVICE_MAP_ENTRY( cls, app ) \
{ XML_##cls, \
{ XML_##cls, \
XML_IMPORT_FILTER_##app, sizeof(XML_IMPORT_FILTER_##app)-1
}
XML_IMPORT_FILTER_##app, sizeof(XML_IMPORT_FILTER_##app)-1}
const
XMLServiceMapEntry_Impl
aServiceMap
[]
=
const
XMLServiceMapEntry_Impl
aServiceMap
[]
=
{
{
...
@@ -231,10 +237,13 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(
...
@@ -231,10 +237,13 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(
const
Reference
<
XAttributeList
>&
xAttrList
)
:
const
Reference
<
XAttributeList
>&
xAttrList
)
:
SvXMLImportContext
(
rImport
,
nPrfx
,
rLName
)
SvXMLImportContext
(
rImport
,
nPrfx
,
rLName
)
{
{
SvGlobalName
aName
;
if
(
nPrfx
==
XML_NAMESPACE_MATH
&&
if
(
nPrfx
==
XML_NAMESPACE_MATH
&&
IsXMLToken
(
rLName
,
XML_MATH
)
)
IsXMLToken
(
rLName
,
XML_MATH
)
)
{
{
sFilterService
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
XML_IMPORT_FILTER_MATH
)
);
sFilterService
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
XML_IMPORT_FILTER_MATH
)
);
aName
=
SvGlobalName
(
SO3_SM_CLASSID
);
}
}
else
if
(
nPrfx
==
XML_NAMESPACE_OFFICE
&&
else
if
(
nPrfx
==
XML_NAMESPACE_OFFICE
&&
IsXMLToken
(
rLName
,
XML_DOCUMENT
)
)
IsXMLToken
(
rLName
,
XML_DOCUMENT
)
)
...
@@ -265,12 +274,25 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(
...
@@ -265,12 +274,25 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(
sFilterService
=
OUString
(
pEntry
->
sFilterService
,
sFilterService
=
OUString
(
pEntry
->
sFilterService
,
pEntry
->
nFilterServiceLen
,
pEntry
->
nFilterServiceLen
,
RTL_TEXTENCODING_ASCII_US
);
RTL_TEXTENCODING_ASCII_US
);
switch
(
pEntry
->
eClass
)
{
case
XML_TEXT
:
aName
=
SvGlobalName
(
SO3_SW_CLASSID
);
break
;
case
XML_ONLINE_TEXT
:
aName
=
SvGlobalName
(
SO3_SWWEB_CLASSID
);
break
;
case
XML_SPREADSHEET
:
aName
=
SvGlobalName
(
SO3_SC_CLASSID
);
break
;
case
XML_DRAWING
:
aName
=
SvGlobalName
(
SO3_SDRAW_CLASSID
);
break
;
case
XML_PRESENTATION
:
aName
=
SvGlobalName
(
SO3_SIMPRESS_CLASSID
);
break
;
case
XML_CHART
:
aName
=
SvGlobalName
(
SO3_SCH_CLASSID
);
break
;
}
break
;
break
;
}
}
pEntry
++
;
pEntry
++
;
}
}
}
}
}
}
sCLSID
=
aName
.
GetHexName
();
}
}
XMLEmbeddedObjectImportContext
::~
XMLEmbeddedObjectImportContext
()
XMLEmbeddedObjectImportContext
::~
XMLEmbeddedObjectImportContext
()
...
...
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