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
a40f210c
Kaydet (Commit)
a40f210c
authored
Ock 12, 2001
tarafından
Christian Lippka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#82042# added support for xml filter components
üst
d6a75032
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
20 deletions
+29
-20
swxml.cxx
sw/source/filter/xml/swxml.cxx
+6
-3
wrtxml.cxx
sw/source/filter/xml/wrtxml.cxx
+10
-5
xmlexp.cxx
sw/source/filter/xml/xmlexp.cxx
+4
-3
xmlexp.hxx
sw/source/filter/xml/xmlexp.hxx
+3
-3
xmlimp.cxx
sw/source/filter/xml/xmlimp.cxx
+3
-3
xmlimp.hxx
sw/source/filter/xml/xmlimp.hxx
+3
-3
No files found.
sw/source/filter/xml/swxml.cxx
Dosyayı görüntüle @
a40f210c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: swxml.cxx,v $
* $RCSfile: swxml.cxx,v $
*
*
* $Revision: 1.
8
$
* $Revision: 1.
9
$
*
*
* last change: $Author:
mib $ $Date: 2001-01-05 09:58:11
$
* last change: $Author:
cl $ $Date: 2001-01-12 16:34:00
$
*
*
* 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
...
@@ -159,7 +159,7 @@ sal_uInt32 XMLReader::Read( SwDoc &rDoc, SwPaM &rPaM, const String & rName )
...
@@ -159,7 +159,7 @@ sal_uInt32 XMLReader::Read( SwDoc &rDoc, SwPaM &rPaM, const String & rName )
xml
::
sax
::
InputSource
aParserInput
;
xml
::
sax
::
InputSource
aParserInput
;
aParserInput
.
sSystemId
=
rName
;
aParserInput
.
sSystemId
=
rName
;
Reference
<
XIndexContain
er
>
xEmbeddedGraphicExport
;
Reference
<
document
::
XGraphicObjectResolv
er
>
xEmbeddedGraphicExport
;
SvXMLGraphicHelper
*
pGraphicHelper
=
0
;
SvXMLGraphicHelper
*
pGraphicHelper
=
0
;
SvStorageStreamRef
xDocStream
;
SvStorageStreamRef
xDocStream
;
SvStorage
*
pStorage
=
pMedium
->
GetStorage
();
SvStorage
*
pStorage
=
pMedium
->
GetStorage
();
...
@@ -282,6 +282,9 @@ sal_uInt32 XMLReader::Read( SwDoc &rDoc, SwPaM &rPaM, const String & rName )
...
@@ -282,6 +282,9 @@ sal_uInt32 XMLReader::Read( SwDoc &rDoc, SwPaM &rPaM, const String & rName )
/*************************************************************************
/*************************************************************************
$Log: not supported by cvs2svn $
$Log: not supported by cvs2svn $
Revision 1.8 2001/01/05 09:58:11 mib
default styles
Revision 1.7 2001/01/03 11:40:56 mib
Revision 1.7 2001/01/03 11:40:56 mib
support for OLE objects in XML files
support for OLE objects in XML files
...
...
sw/source/filter/xml/wrtxml.cxx
Dosyayı görüntüle @
a40f210c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: wrtxml.cxx,v $
* $RCSfile: wrtxml.cxx,v $
*
*
* $Revision: 1.1
0
$
* $Revision: 1.1
1
$
*
*
* last change: $Author:
mib $ $Date: 2001-01-08 09:44:55
$
* last change: $Author:
cl $ $Date: 2001-01-12 16:34:01
$
*
*
* 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
...
@@ -182,7 +182,7 @@ sal_uInt32 SwXMLWriter::Write( SwPaM& rPaM, SfxMedium& rMed,
...
@@ -182,7 +182,7 @@ sal_uInt32 SwXMLWriter::Write( SwPaM& rPaM, SfxMedium& rMed,
Reference
<
io
::
XActiveDataSource
>
xSrc
(
xWriter
,
UNO_QUERY
);
Reference
<
io
::
XActiveDataSource
>
xSrc
(
xWriter
,
UNO_QUERY
);
xSrc
->
setOutputStream
(
xOut
);
xSrc
->
setOutputStream
(
xOut
);
Reference
<
XIndexContain
er
>
xEmbeddedGraphicExport
;
Reference
<
document
::
XGraphicObjectResolv
er
>
xEmbeddedGraphicExport
;
SvXMLGraphicHelper
*
pGraphicHelper
=
0
;
SvXMLGraphicHelper
*
pGraphicHelper
=
0
;
if
(
pStorage
)
if
(
pStorage
)
{
{
...
@@ -199,6 +199,8 @@ sal_uInt32 SwXMLWriter::Write( SwPaM& rPaM, SfxMedium& rMed,
...
@@ -199,6 +199,8 @@ sal_uInt32 SwXMLWriter::Write( SwPaM& rPaM, SfxMedium& rMed,
bWriteAll
,
bWriteOnlyFirstTable
,
bWriteAll
,
bWriteOnlyFirstTable
,
bShowProgress
);
bShowProgress
);
Reference
<
document
::
XExporter
>
xExporter
(
pExp
);
sal_uInt32
nRet
=
pExp
->
exportDoc
(
sXML_text
);
sal_uInt32
nRet
=
pExp
->
exportDoc
(
sXML_text
);
if
(
xDocStream
.
Is
()
)
if
(
xDocStream
.
Is
()
)
xDocStream
->
Commit
();
xDocStream
->
Commit
();
...
@@ -210,7 +212,7 @@ sal_uInt32 SwXMLWriter::Write( SwPaM& rPaM, SfxMedium& rMed,
...
@@ -210,7 +212,7 @@ sal_uInt32 SwXMLWriter::Write( SwPaM& rPaM, SfxMedium& rMed,
if
(
pGraphicHelper
)
if
(
pGraphicHelper
)
SvXMLGraphicHelper
::
Destroy
(
pGraphicHelper
);
SvXMLGraphicHelper
::
Destroy
(
pGraphicHelper
);
xEmbeddedGraphicExport
=
0
;
xEmbeddedGraphicExport
=
0
;
delete
pExp
;
//
delete pExp;
ResetWriter
();
ResetWriter
();
...
@@ -230,11 +232,14 @@ void GetXMLWriter( const String& rName, WriterRef& xRet )
...
@@ -230,11 +232,14 @@ void GetXMLWriter( const String& rName, WriterRef& xRet )
Source Code Control System - Header
Source Code Control System - Header
$Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/xml/wrtxml.cxx,v 1.1
0 2001-01-08 09:44:55 mib
Exp $
$Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/xml/wrtxml.cxx,v 1.1
1 2001-01-12 16:34:01 cl
Exp $
Source Code Control System - Update
Source Code Control System - Update
$Log: not supported by cvs2svn $
$Log: not supported by cvs2svn $
Revision 1.10 2001/01/08 09:44:55 mib
Removed SwDoc and SvStorage members from SwXMLExport
Revision 1.9 2001/01/03 11:40:56 mib
Revision 1.9 2001/01/03 11:40:56 mib
support for OLE objects in XML files
support for OLE objects in XML files
...
...
sw/source/filter/xml/xmlexp.cxx
Dosyayı görüntüle @
a40f210c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmlexp.cxx,v $
* $RCSfile: xmlexp.cxx,v $
*
*
* $Revision: 1.1
4
$
* $Revision: 1.1
5
$
*
*
* last change: $Author:
dvo $ $Date: 2001-01-10 21:01:48
$
* last change: $Author:
cl $ $Date: 2001-01-12 16:34:01
$
*
*
* 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
...
@@ -124,6 +124,7 @@ using namespace ::com::sun::star::xml::sax;
...
@@ -124,6 +124,7 @@ using namespace ::com::sun::star::xml::sax;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
text
;
using
namespace
::
com
::
sun
::
star
::
text
;
using
namespace
::
com
::
sun
::
star
::
container
;
using
namespace
::
com
::
sun
::
star
::
container
;
using
namespace
::
com
::
sun
::
star
::
document
;
#ifdef XML_CORE_API
#ifdef XML_CORE_API
void
SwXMLExport
::
SetCurPaM
(
SwPaM
&
rPaM
,
sal_Bool
bWhole
,
sal_Bool
bTabOnly
)
void
SwXMLExport
::
SetCurPaM
(
SwPaM
&
rPaM
,
sal_Bool
bWhole
,
sal_Bool
bTabOnly
)
...
@@ -165,7 +166,7 @@ void SwXMLExport::SetCurPaM( SwPaM& rPaM, sal_Bool bWhole, sal_Bool bTabOnly )
...
@@ -165,7 +166,7 @@ void SwXMLExport::SetCurPaM( SwPaM& rPaM, sal_Bool bWhole, sal_Bool bTabOnly )
SwXMLExport
::
SwXMLExport
(
const
Reference
<
XModel
>&
rModel
,
SwPaM
&
rPaM
,
SwXMLExport
::
SwXMLExport
(
const
Reference
<
XModel
>&
rModel
,
SwPaM
&
rPaM
,
const
OUString
&
rFileName
,
const
OUString
&
rFileName
,
const
Reference
<
XDocumentHandler
>
&
rHandler
,
const
Reference
<
XDocumentHandler
>
&
rHandler
,
const
Reference
<
X
IndexContain
er
>
&
rEmbeddedGrfObjs
,
const
Reference
<
X
GraphicObjectResolv
er
>
&
rEmbeddedGrfObjs
,
sal_Bool
bExpWholeDoc
,
sal_Bool
bExpFirstTableOnly
,
sal_Bool
bExpWholeDoc
,
sal_Bool
bExpFirstTableOnly
,
sal_Bool
bShowProg
)
:
sal_Bool
bShowProg
)
:
SvXMLExport
(
rFileName
,
rHandler
,
rModel
,
rEmbeddedGrfObjs
,
SvXMLExport
(
rFileName
,
rHandler
,
rModel
,
rEmbeddedGrfObjs
,
...
...
sw/source/filter/xml/xmlexp.hxx
Dosyayı görüntüle @
a40f210c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmlexp.hxx,v $
* $RCSfile: xmlexp.hxx,v $
*
*
* $Revision: 1.1
1
$
* $Revision: 1.1
2
$
*
*
* last change: $Author:
mib $ $Date: 2001-01-08 09:44:55
$
* last change: $Author:
cl $ $Date: 2001-01-12 16:34:01
$
*
*
* 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
...
@@ -167,7 +167,7 @@ public:
...
@@ -167,7 +167,7 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
&
rHandler
,
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
&
rHandler
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContain
er
>
&
,
::
com
::
sun
::
star
::
document
::
XGraphicObjectResolv
er
>
&
,
sal_Bool
bExpWholeDoc
,
sal_Bool
bExpFirstTableOnly
,
sal_Bool
bExpWholeDoc
,
sal_Bool
bExpFirstTableOnly
,
sal_Bool
bShowProgr
);
sal_Bool
bShowProgr
);
virtual
~
SwXMLExport
();
virtual
~
SwXMLExport
();
...
...
sw/source/filter/xml/xmlimp.cxx
Dosyayı görüntüle @
a40f210c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmlimp.cxx,v $
* $RCSfile: xmlimp.cxx,v $
*
*
* $Revision: 1.1
4
$
* $Revision: 1.1
5
$
*
*
* last change: $Author:
os $ $Date: 2001-01-12 16:15:1
1 $
* last change: $Author:
cl $ $Date: 2001-01-12 16:34:0
1 $
*
*
* 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
...
@@ -265,7 +265,7 @@ SwXMLImport::SwXMLImport(
...
@@ -265,7 +265,7 @@ SwXMLImport::SwXMLImport(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
&
rModel
,
::
com
::
sun
::
star
::
frame
::
XModel
>
&
rModel
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContain
er
>
&
rEGO
,
::
com
::
sun
::
star
::
document
::
XGraphicObjectResolv
er
>
&
rEGO
,
SvStorage
*
pPkg
)
:
SvStorage
*
pPkg
)
:
SvXMLImport
(
rModel
,
rEGO
),
SvXMLImport
(
rModel
,
rEGO
),
bLoadDoc
(
bLDoc
),
bLoadDoc
(
bLDoc
),
...
...
sw/source/filter/xml/xmlimp.hxx
Dosyayı görüntüle @
a40f210c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmlimp.hxx,v $
* $RCSfile: xmlimp.hxx,v $
*
*
* $Revision: 1.1
0
$
* $Revision: 1.1
1
$
*
*
* last change: $Author:
mib $ $Date: 2001-01-03 11:40:56
$
* last change: $Author:
cl $ $Date: 2001-01-12 16:34:01
$
*
*
* 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
...
@@ -140,7 +140,7 @@ public:
...
@@ -140,7 +140,7 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
&
rModel
,
::
com
::
sun
::
star
::
frame
::
XModel
>
&
rModel
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContain
er
>
&
,
::
com
::
sun
::
star
::
document
::
XGraphicObjectResolv
er
>
&
,
SvStorage
*
pPkg
);
SvStorage
*
pPkg
);
~
SwXMLImport
();
~
SwXMLImport
();
...
...
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