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
85500add
Kaydet (Commit)
85500add
authored
May 18, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: drop last 'using' statement from headers
Change-Id: I08a13793c40bec0b9a657e01f4c973cc0e393d4d
üst
32785655
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
122 additions
and
136 deletions
+122
-136
OOXMLDocument.hxx
writerfilter/inc/ooxml/OOXMLDocument.hxx
+28
-31
DomainMapper_Impl.hxx
writerfilter/source/dmapper/DomainMapper_Impl.hxx
+0
-2
FormControlHelper.hxx
writerfilter/source/dmapper/FormControlHelper.hxx
+5
-7
OOXMLBinaryObjectReference.hxx
writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+1
-1
OOXMLDocumentImpl.cxx
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+2
-4
OOXMLDocumentImpl.hxx
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+36
-38
OOXMLFastDocumentHandler.hxx
writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
+20
-21
OOXMLPropertySetImpl.hxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
+5
-5
OOXMLStreamImpl.cxx
writerfilter/source/ooxml/OOXMLStreamImpl.cxx
+1
-1
OOXMLStreamImpl.hxx
writerfilter/source/ooxml/OOXMLStreamImpl.hxx
+19
-21
RefAndPointer.hxx
writerfilter/source/ooxml/RefAndPointer.hxx
+5
-5
No files found.
writerfilter/inc/ooxml/OOXMLDocument.hxx
Dosyayı görüntüle @
85500add
...
@@ -71,8 +71,6 @@ namespace writerfilter {
...
@@ -71,8 +71,6 @@ namespace writerfilter {
namespace
ooxml
namespace
ooxml
{
{
using
namespace
com
::
sun
::
star
;
class
OOXMLStream
class
OOXMLStream
{
{
public
:
public
:
...
@@ -85,21 +83,21 @@ public:
...
@@ -85,21 +83,21 @@ public:
/**
/**
Returns parser for this stream.
Returns parser for this stream.
*/
*/
virtual
uno
::
Reference
<
xml
::
sax
::
XParser
>
getParser
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XParser
>
getParser
()
=
0
;
/**
/**
Returns fast parser for this stream.
Returns fast parser for this stream.
*/
*/
virtual
uno
::
Reference
<
xml
::
sax
::
XFastParser
>
getFastParser
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastParser
>
getFastParser
()
=
0
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getDocumentStream
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getDocumentStream
()
=
0
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getStorageStream
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getStorageStream
()
=
0
;
/**
/**
Returns component context for this stream.
Returns component context for this stream.
*/
*/
virtual
uno
::
Reference
<
uno
::
XComponentContext
>
getContext
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
getContext
()
=
0
;
/**
/**
Returns target URL from relationships for a given id.
Returns target URL from relationships for a given id.
...
@@ -112,8 +110,8 @@ public:
...
@@ -112,8 +110,8 @@ public:
virtual
const
OUString
&
getTarget
()
const
=
0
;
virtual
const
OUString
&
getTarget
()
const
=
0
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastTokenHandler
>
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastTokenHandler
>
getFastTokenHandler
(
uno
::
Reference
<
uno
::
XComponentContext
>
rContext
)
=
0
;
getFastTokenHandler
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
rContext
)
=
0
;
};
};
...
@@ -226,30 +224,29 @@ public:
...
@@ -226,30 +224,29 @@ public:
*/
*/
virtual
OUString
getTargetForId
(
const
OUString
&
rId
)
=
0
;
virtual
OUString
getTargetForId
(
const
OUString
&
rId
)
=
0
;
virtual
void
setModel
(
uno
::
Reference
<
frame
::
XModel
>
xModel
)
=
0
;
virtual
void
setModel
(
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
xModel
)
=
0
;
virtual
uno
::
Reference
<
frame
::
XModel
>
getModel
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
getModel
()
=
0
;
virtual
void
setDrawPage
(
uno
::
Reference
<
drawing
::
XDrawPage
>
xDrawPage
)
=
0
;
virtual
void
setDrawPage
(
css
::
uno
::
Reference
<
css
::
drawing
::
XDrawPage
>
xDrawPage
)
=
0
;
virtual
uno
::
Reference
<
drawing
::
XDrawPage
>
getDrawPage
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
drawing
::
XDrawPage
>
getDrawPage
()
=
0
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getInputStream
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getInputStream
()
=
0
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getStorageStream
()
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getStorageStream
()
=
0
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getInputStreamForId
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getInputStreamForId
(
const
OUString
&
rId
)
=
0
;
(
const
OUString
&
rId
)
=
0
;
virtual
void
setXNoteId
(
const
sal_Int32
nId
)
=
0
;
virtual
void
setXNoteId
(
const
sal_Int32
nId
)
=
0
;
virtual
sal_Int32
getXNoteId
()
const
=
0
;
virtual
sal_Int32
getXNoteId
()
const
=
0
;
virtual
void
setXNoteType
(
const
Id
&
nId
)
=
0
;
virtual
void
setXNoteType
(
const
Id
&
nId
)
=
0
;
virtual
const
Id
&
getXNoteType
()
const
=
0
;
virtual
const
Id
&
getXNoteType
()
const
=
0
;
virtual
const
OUString
&
getTarget
()
const
=
0
;
virtual
const
OUString
&
getTarget
()
const
=
0
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastShapeContextHandler
>
getShapeContext
(
)
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastShapeContextHandler
>
getShapeContext
(
)
=
0
;
virtual
void
setShapeContext
(
uno
::
Reference
<
xml
::
sax
::
XFastShapeContextHandler
>
xContext
)
=
0
;
virtual
void
setShapeContext
(
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastShapeContextHandler
>
xContext
)
=
0
;
virtual
uno
::
Reference
<
xml
::
dom
::
XDocument
>
getThemeDom
(
)
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
getThemeDom
(
)
=
0
;
virtual
void
setThemeDom
(
uno
::
Reference
<
xml
::
dom
::
XDocument
>
xThemeDom
)
=
0
;
virtual
void
setThemeDom
(
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
xThemeDom
)
=
0
;
virtual
uno
::
Reference
<
xml
::
dom
::
XDocument
>
getGlossaryDocDom
(
)
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
getGlossaryDocDom
(
)
=
0
;
virtual
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Any
>
>
getGlossaryDomList
()
=
0
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
>
getGlossaryDomList
()
=
0
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
getCustomXmlDomList
(
)
=
0
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
getCustomXmlDomList
(
)
=
0
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
getCustomXmlDomPropsList
(
)
=
0
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
getCustomXmlDomPropsList
(
)
=
0
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
getActiveXDomList
(
)
=
0
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
getActiveXDomList
(
)
=
0
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
io
::
XInputStream
>
>
getActiveXBinList
()
=
0
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
>
getActiveXBinList
()
=
0
;
virtual
uno
::
Sequence
<
beans
::
PropertyValue
>
getEmbeddingsList
()
=
0
;
virtual
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
getEmbeddingsList
()
=
0
;
};
};
...
@@ -257,8 +254,8 @@ class OOXMLDocumentFactory
...
@@ -257,8 +254,8 @@ class OOXMLDocumentFactory
{
{
public
:
public
:
static
OOXMLStream
::
Pointer_t
static
OOXMLStream
::
Pointer_t
createStream
(
uno
::
Reference
<
uno
::
XComponentContext
>
rContext
,
createStream
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
rContext
,
uno
::
Reference
<
io
::
XInputStream
>
rStream
,
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
rStream
,
bool
bRepairStorage
,
bool
bRepairStorage
,
OOXMLStream
::
StreamType_t
nStreamType
=
OOXMLStream
::
DOCUMENT
);
OOXMLStream
::
StreamType_t
nStreamType
=
OOXMLStream
::
DOCUMENT
);
...
@@ -270,7 +267,7 @@ public:
...
@@ -270,7 +267,7 @@ public:
createStream
(
OOXMLStream
::
Pointer_t
pStream
,
const
OUString
&
rId
);
createStream
(
OOXMLStream
::
Pointer_t
pStream
,
const
OUString
&
rId
);
static
OOXMLDocument
*
static
OOXMLDocument
*
createDocument
(
OOXMLStream
::
Pointer_t
pStream
,
const
uno
::
Reference
<
task
::
XStatusIndicator
>&
xStatusIndicator
);
createDocument
(
OOXMLStream
::
Pointer_t
pStream
,
const
css
::
uno
::
Reference
<
css
::
task
::
XStatusIndicator
>&
xStatusIndicator
);
};
};
...
...
writerfilter/source/dmapper/DomainMapper_Impl.hxx
Dosyayı görüntüle @
85500add
...
@@ -70,8 +70,6 @@ namespace com{ namespace sun{ namespace star{
...
@@ -70,8 +70,6 @@ namespace com{ namespace sun{ namespace star{
namespace
writerfilter
{
namespace
writerfilter
{
namespace
dmapper
{
namespace
dmapper
{
using
namespace
com
::
sun
::
star
;
class
SdtHelper
;
class
SdtHelper
;
struct
_PageMar
struct
_PageMar
...
...
writerfilter/source/dmapper/FormControlHelper.hxx
Dosyayı görüntüle @
85500add
...
@@ -28,19 +28,17 @@
...
@@ -28,19 +28,17 @@
namespace
writerfilter
{
namespace
writerfilter
{
namespace
dmapper
{
namespace
dmapper
{
using
namespace
::
com
::
sun
::
star
;
class
FormControlHelper
class
FormControlHelper
{
{
public
:
public
:
typedef
boost
::
shared_ptr
<
FormControlHelper
>
Pointer_t
;
typedef
boost
::
shared_ptr
<
FormControlHelper
>
Pointer_t
;
FormControlHelper
(
FieldId
eFieldId
,
FormControlHelper
(
FieldId
eFieldId
,
uno
::
Reference
<
text
::
XTextDocument
>
rTextDocument
,
css
::
uno
::
Reference
<
css
::
text
::
XTextDocument
>
rTextDocument
,
FFDataHandler
::
Pointer_t
pFFData
);
FFDataHandler
::
Pointer_t
pFFData
);
~
FormControlHelper
();
~
FormControlHelper
();
bool
insertControl
(
uno
::
Reference
<
text
::
XTextRange
>
xTextRange
);
bool
insertControl
(
css
::
uno
::
Reference
<
css
::
text
::
XTextRange
>
xTextRange
);
bool
processField
(
uno
::
Reference
<
text
::
XFormField
>
xFormField
);
bool
processField
(
css
::
uno
::
Reference
<
css
::
text
::
XFormField
>
xFormField
);
bool
hasFFDataHandler
()
const
{
return
(
m_pFFData
!=
0
);
}
bool
hasFFDataHandler
()
const
{
return
(
m_pFFData
!=
0
);
}
private
:
private
:
FFDataHandler
::
Pointer_t
m_pFFData
;
FFDataHandler
::
Pointer_t
m_pFFData
;
...
@@ -48,9 +46,9 @@ private:
...
@@ -48,9 +46,9 @@ private:
typedef
boost
::
shared_ptr
<
FormControlHelper_Impl
>
ImplPointer_t
;
typedef
boost
::
shared_ptr
<
FormControlHelper_Impl
>
ImplPointer_t
;
ImplPointer_t
m_pImpl
;
ImplPointer_t
m_pImpl
;
bool
createCheckbox
(
uno
::
Reference
<
text
::
XTextRange
>
xTextRange
,
bool
createCheckbox
(
css
::
uno
::
Reference
<
css
::
text
::
XTextRange
>
xTextRange
,
const
OUString
&
rControlName
);
const
OUString
&
rControlName
);
bool
createDropdown
(
uno
::
Reference
<
text
::
XTextRange
>
xTextRange
,
bool
createDropdown
(
css
::
uno
::
Reference
<
css
::
text
::
XTextRange
>
xTextRange
,
const
OUString
&
rControlName
);
const
OUString
&
rControlName
);
};
};
...
...
writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
Dosyayı görüntüle @
85500add
...
@@ -29,7 +29,7 @@ class OOXMLBinaryObjectReference :
...
@@ -29,7 +29,7 @@ class OOXMLBinaryObjectReference :
public
writerfilter
::
Reference
<
BinaryObj
>
public
writerfilter
::
Reference
<
BinaryObj
>
{
{
OOXMLStream
::
Pointer_t
mpStream
;
OOXMLStream
::
Pointer_t
mpStream
;
uno
::
Sequence
<
sal_Int8
>
mSequence
;
css
::
uno
::
Sequence
<
sal_Int8
>
mSequence
;
bool
mbRead
;
bool
mbRead
;
void
read
();
void
read
();
...
...
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
Dosyayı görüntüle @
85500add
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
// this extern variable is declared in OOXMLStreamImpl.hxx
// this extern variable is declared in OOXMLStreamImpl.hxx
OUString
customTarget
;
OUString
customTarget
;
OUString
embeddingsTarget
;
OUString
embeddingsTarget
;
using
::
com
::
sun
::
star
::
xml
::
sax
::
SAXException
;
using
namespace
::
com
::
sun
::
star
;
namespace
writerfilter
{
namespace
writerfilter
{
namespace
ooxml
namespace
ooxml
{
{
...
@@ -52,8 +52,6 @@ namespace ooxml
...
@@ -52,8 +52,6 @@ namespace ooxml
TagLogger
::
Pointer_t
debug_logger
(
TagLogger
::
getInstance
(
"DEBUG"
));
TagLogger
::
Pointer_t
debug_logger
(
TagLogger
::
getInstance
(
"DEBUG"
));
#endif
#endif
using
namespace
::
std
;
OOXMLDocumentImpl
::
OOXMLDocumentImpl
(
OOXMLStream
::
Pointer_t
pStream
,
const
uno
::
Reference
<
task
::
XStatusIndicator
>&
xStatusIndicator
)
OOXMLDocumentImpl
::
OOXMLDocumentImpl
(
OOXMLStream
::
Pointer_t
pStream
,
const
uno
::
Reference
<
task
::
XStatusIndicator
>&
xStatusIndicator
)
:
mpStream
(
pStream
)
:
mpStream
(
pStream
)
,
mxStatusIndicator
(
xStatusIndicator
)
,
mxStatusIndicator
(
xStatusIndicator
)
...
@@ -873,7 +871,7 @@ uno::Reference<io::XInputStream> OOXMLDocumentImpl::getInputStreamForId(const OU
...
@@ -873,7 +871,7 @@ uno::Reference<io::XInputStream> OOXMLDocumentImpl::getInputStreamForId(const OU
return
pStream
->
getDocumentStream
();
return
pStream
->
getDocumentStream
();
}
}
string
OOXMLDocumentImpl
::
getType
()
const
st
d
::
st
ring
OOXMLDocumentImpl
::
getType
()
const
{
{
return
"OOXMLDocumentImpl"
;
return
"OOXMLDocumentImpl"
;
}
}
...
...
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
Dosyayı görüntüle @
85500add
...
@@ -32,30 +32,28 @@ namespace writerfilter {
...
@@ -32,30 +32,28 @@ namespace writerfilter {
namespace
ooxml
namespace
ooxml
{
{
using
namespace
::
com
::
sun
::
star
;
class
OOXMLDocumentImpl
:
public
OOXMLDocument
class
OOXMLDocumentImpl
:
public
OOXMLDocument
{
{
OOXMLStream
::
Pointer_t
mpStream
;
OOXMLStream
::
Pointer_t
mpStream
;
uno
::
Reference
<
task
::
XStatusIndicator
>
mxStatusIndicator
;
css
::
uno
::
Reference
<
css
::
task
::
XStatusIndicator
>
mxStatusIndicator
;
sal_Int32
mnXNoteId
;
sal_Int32
mnXNoteId
;
Id
mXNoteType
;
Id
mXNoteType
;
uno
::
Reference
<
frame
::
XModel
>
mxModel
;
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
mxModel
;
uno
::
Reference
<
drawing
::
XDrawPage
>
mxDrawPage
;
css
::
uno
::
Reference
<
css
::
drawing
::
XDrawPage
>
mxDrawPage
;
uno
::
Reference
<
xml
::
dom
::
XDocument
>
mxGlossaryDocDom
;
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
mxGlossaryDocDom
;
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Any
>
>
mxGlossaryDomList
;
css
::
uno
::
Sequence
<
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
>
mxGlossaryDomList
;
uno
::
Reference
<
xml
::
sax
::
XFastShapeContextHandler
>
mxShapeContext
;
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastShapeContextHandler
>
mxShapeContext
;
uno
::
Reference
<
xml
::
dom
::
XDocument
>
mxThemeDom
;
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
mxThemeDom
;
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
mxCustomXmlDomList
;
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
mxCustomXmlDomList
;
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
mxCustomXmlDomPropsList
;
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
mxCustomXmlDomPropsList
;
uno
::
Reference
<
xml
::
dom
::
XDocument
>
mxCustomXmlProsDom
;
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
mxCustomXmlProsDom
;
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
mxActiveXDomList
;
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
mxActiveXDomList
;
uno
::
Sequence
<
uno
::
Reference
<
io
::
XInputStream
>
>
mxActiveXBinList
;
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
>
mxActiveXBinList
;
uno
::
Reference
<
io
::
XInputStream
>
mxActiveXBin
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
mxActiveXBin
;
uno
::
Reference
<
io
::
XInputStream
>
mxEmbeddings
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
mxEmbeddings
;
uno
::
Sequence
<
beans
::
PropertyValue
>
mxEmbeddingsList
;
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
mxEmbeddingsList
;
std
::
vector
<
beans
::
PropertyValue
>
mxEmbeddingsListTemp
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
mxEmbeddingsListTemp
;
bool
mbIsSubstream
;
bool
mbIsSubstream
;
/// How many paragraphs equal to 1 percent?
/// How many paragraphs equal to 1 percent?
sal_Int32
mnPercentSize
;
sal_Int32
mnPercentSize
;
...
@@ -74,7 +72,7 @@ protected:
...
@@ -74,7 +72,7 @@ protected:
writerfilter
::
Reference
<
Stream
>::
Pointer_t
pStream
,
writerfilter
::
Reference
<
Stream
>::
Pointer_t
pStream
,
sal_uInt32
nId
);
sal_uInt32
nId
);
uno
::
Reference
<
xml
::
dom
::
XDocument
>
importSubStream
(
OOXMLStream
::
StreamType_t
nType
);
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
importSubStream
(
OOXMLStream
::
StreamType_t
nType
);
void
importSubStreamRelations
(
OOXMLStream
::
Pointer_t
pStream
,
OOXMLStream
::
StreamType_t
nType
);
void
importSubStreamRelations
(
OOXMLStream
::
Pointer_t
pStream
,
OOXMLStream
::
StreamType_t
nType
);
...
@@ -92,7 +90,7 @@ protected:
...
@@ -92,7 +90,7 @@ protected:
void
resolveGlossaryStream
(
Stream
&
rStream
);
void
resolveGlossaryStream
(
Stream
&
rStream
);
void
resolveEmbeddingsStream
(
OOXMLStream
::
Pointer_t
pStream
);
void
resolveEmbeddingsStream
(
OOXMLStream
::
Pointer_t
pStream
);
public
:
public
:
OOXMLDocumentImpl
(
OOXMLStream
::
Pointer_t
pStream
,
const
uno
::
Reference
<
task
::
XStatusIndicator
>&
xStatusIndicator
);
OOXMLDocumentImpl
(
OOXMLStream
::
Pointer_t
pStream
,
const
css
::
uno
::
Reference
<
css
::
task
::
XStatusIndicator
>&
xStatusIndicator
);
virtual
~
OOXMLDocumentImpl
();
virtual
~
OOXMLDocumentImpl
();
virtual
void
resolve
(
Stream
&
rStream
)
SAL_OVERRIDE
;
virtual
void
resolve
(
Stream
&
rStream
)
SAL_OVERRIDE
;
...
@@ -120,29 +118,29 @@ public:
...
@@ -120,29 +118,29 @@ public:
virtual
OUString
getTargetForId
(
const
OUString
&
rId
)
SAL_OVERRIDE
;
virtual
OUString
getTargetForId
(
const
OUString
&
rId
)
SAL_OVERRIDE
;
virtual
void
setModel
(
uno
::
Reference
<
frame
::
XModel
>
xModel
)
SAL_OVERRIDE
;
virtual
void
setModel
(
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
xModel
)
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
frame
::
XModel
>
getModel
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>
getModel
()
SAL_OVERRIDE
;
virtual
void
setDrawPage
(
uno
::
Reference
<
drawing
::
XDrawPage
>
xDrawPage
)
SAL_OVERRIDE
;
virtual
void
setDrawPage
(
css
::
uno
::
Reference
<
css
::
drawing
::
XDrawPage
>
xDrawPage
)
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
drawing
::
XDrawPage
>
getDrawPage
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
drawing
::
XDrawPage
>
getDrawPage
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getInputStream
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getInputStream
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getStorageStream
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getStorageStream
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getInputStreamForId
(
const
OUString
&
rId
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getInputStreamForId
(
const
OUString
&
rId
)
SAL_OVERRIDE
;
virtual
void
setXNoteId
(
const
sal_Int32
nId
)
SAL_OVERRIDE
;
virtual
void
setXNoteId
(
const
sal_Int32
nId
)
SAL_OVERRIDE
;
virtual
sal_Int32
getXNoteId
()
const
SAL_OVERRIDE
;
virtual
sal_Int32
getXNoteId
()
const
SAL_OVERRIDE
;
virtual
void
setXNoteType
(
const
Id
&
rId
)
SAL_OVERRIDE
;
virtual
void
setXNoteType
(
const
Id
&
rId
)
SAL_OVERRIDE
;
virtual
const
Id
&
getXNoteType
()
const
SAL_OVERRIDE
;
virtual
const
Id
&
getXNoteType
()
const
SAL_OVERRIDE
;
virtual
const
OUString
&
getTarget
()
const
SAL_OVERRIDE
;
virtual
const
OUString
&
getTarget
()
const
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastShapeContextHandler
>
getShapeContext
(
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastShapeContextHandler
>
getShapeContext
(
)
SAL_OVERRIDE
;
virtual
void
setShapeContext
(
uno
::
Reference
<
xml
::
sax
::
XFastShapeContextHandler
>
xContext
)
SAL_OVERRIDE
;
virtual
void
setShapeContext
(
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastShapeContextHandler
>
xContext
)
SAL_OVERRIDE
;
virtual
void
setThemeDom
(
uno
::
Reference
<
xml
::
dom
::
XDocument
>
xThemeDom
)
SAL_OVERRIDE
;
virtual
void
setThemeDom
(
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
xThemeDom
)
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
dom
::
XDocument
>
getThemeDom
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
getThemeDom
()
SAL_OVERRIDE
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
getCustomXmlDomList
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
getCustomXmlDomList
()
SAL_OVERRIDE
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
getCustomXmlDomPropsList
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
getCustomXmlDomPropsList
()
SAL_OVERRIDE
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
xml
::
dom
::
XDocument
>
>
getActiveXDomList
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
>
getActiveXDomList
()
SAL_OVERRIDE
;
virtual
uno
::
Sequence
<
uno
::
Reference
<
io
::
XInputStream
>
>
getActiveXBinList
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
>
getActiveXBinList
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
dom
::
XDocument
>
getGlossaryDocDom
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
dom
::
XDocument
>
getGlossaryDocDom
()
SAL_OVERRIDE
;
virtual
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Any
>
>
getGlossaryDomList
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
>
getGlossaryDomList
()
SAL_OVERRIDE
;
virtual
uno
::
Sequence
<
beans
::
PropertyValue
>
getEmbeddingsList
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
getEmbeddingsList
()
SAL_OVERRIDE
;
void
incrementProgress
();
void
incrementProgress
();
};
};
...
...
writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
Dosyayı görüntüle @
85500add
...
@@ -31,17 +31,16 @@
...
@@ -31,17 +31,16 @@
namespace
writerfilter
{
namespace
writerfilter
{
namespace
ooxml
namespace
ooxml
{
{
using
namespace
::
com
::
sun
::
star
;
class
OOXMLFastContextHandler
;
class
OOXMLFastContextHandler
;
class
OOXMLFastDocumentHandler
:
class
OOXMLFastDocumentHandler
:
public
::
cppu
::
WeakImplHelper1
<
public
::
cppu
::
WeakImplHelper1
<
xml
::
sax
::
XFastDocumentHandler
>
css
::
xml
::
sax
::
XFastDocumentHandler
>
{
{
public
:
public
:
OOXMLFastDocumentHandler
(
OOXMLFastDocumentHandler
(
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
context
,
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
context
,
Stream
*
pStream
,
Stream
*
pStream
,
OOXMLDocumentImpl
*
pDocument
,
OOXMLDocumentImpl
*
pDocument
,
sal_Int32
nXNoteId
);
sal_Int32
nXNoteId
);
...
@@ -49,42 +48,42 @@ public:
...
@@ -49,42 +48,42 @@ public:
// ::com::sun::star::xml::sax::XFastDocumentHandler:
// ::com::sun::star::xml::sax::XFastDocumentHandler:
virtual
void
SAL_CALL
startDocument
()
virtual
void
SAL_CALL
startDocument
()
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
endDocument
()
virtual
void
SAL_CALL
endDocument
()
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
setDocumentLocator
virtual
void
SAL_CALL
setDocumentLocator
(
const
uno
::
Reference
<
xml
::
sax
::
XLocator
>
&
xLocator
)
(
const
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XLocator
>
&
xLocator
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
// ::com::sun::star::xml::sax::XFastContextHandler:
// ::com::sun::star::xml::sax::XFastContextHandler:
virtual
void
SAL_CALL
startFastElement
virtual
void
SAL_CALL
startFastElement
(
::
sal_Int32
Element
,
(
::
sal_Int32
Element
,
const
uno
::
Reference
<
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
const
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
startUnknownElement
virtual
void
SAL_CALL
startUnknownElement
(
const
OUString
&
Namespace
,
(
const
OUString
&
Namespace
,
const
OUString
&
Name
,
const
OUString
&
Name
,
const
uno
::
Reference
<
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
const
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
endFastElement
(
::
sal_Int32
Element
)
virtual
void
SAL_CALL
endFastElement
(
::
sal_Int32
Element
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
endUnknownElement
virtual
void
SAL_CALL
endUnknownElement
(
const
OUString
&
Namespace
,
(
const
OUString
&
Namespace
,
const
OUString
&
Name
)
const
OUString
&
Name
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastContextHandler
>
SAL_CALL
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastContextHandler
>
SAL_CALL
createFastChildContext
createFastChildContext
(
::
sal_Int32
Element
,
(
::
sal_Int32
Element
,
const
uno
::
Reference
<
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
const
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastContextHandler
>
SAL_CALL
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastContextHandler
>
SAL_CALL
createUnknownChildContext
createUnknownChildContext
(
const
OUString
&
Namespace
,
(
const
OUString
&
Namespace
,
const
OUString
&
Name
,
const
OUString
&
Name
,
const
uno
::
Reference
<
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
const
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastAttributeList
>
&
Attribs
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
characters
(
const
OUString
&
aChars
)
virtual
void
SAL_CALL
characters
(
const
OUString
&
aChars
)
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
SAL_OVERRIDE
;
void
setIsSubstream
(
bool
bSubstream
);
void
setIsSubstream
(
bool
bSubstream
);
...
@@ -92,7 +91,7 @@ private:
...
@@ -92,7 +91,7 @@ private:
OOXMLFastDocumentHandler
(
OOXMLFastDocumentHandler
&
);
// not defined
OOXMLFastDocumentHandler
(
OOXMLFastDocumentHandler
&
);
// not defined
void
operator
=
(
OOXMLFastDocumentHandler
&
);
// not defined
void
operator
=
(
OOXMLFastDocumentHandler
&
);
// not defined
uno
::
Reference
<
uno
::
XComponentContext
>
m_xContext
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
Stream
*
mpStream
;
Stream
*
mpStream
;
#ifdef DEBUG_ELEMENT
#ifdef DEBUG_ELEMENT
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
Dosyayı görüntüle @
85500add
...
@@ -127,10 +127,10 @@ public:
...
@@ -127,10 +127,10 @@ public:
class
OOXMLInputStreamValue
:
public
OOXMLValue
class
OOXMLInputStreamValue
:
public
OOXMLValue
{
{
protected
:
protected
:
css
::
uno
::
Reference
<
io
::
XInputStream
>
mxInputStream
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
mxInputStream
;
public
:
public
:
explicit
OOXMLInputStreamValue
(
uno
::
Reference
<
io
::
XInputStream
>
xInputStream
);
explicit
OOXMLInputStreamValue
(
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
xInputStream
);
virtual
~
OOXMLInputStreamValue
();
virtual
~
OOXMLInputStreamValue
();
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
...
@@ -231,7 +231,7 @@ class OOXMLShapeValue : public OOXMLValue
...
@@ -231,7 +231,7 @@ class OOXMLShapeValue : public OOXMLValue
protected
:
protected
:
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
mrShape
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
mrShape
;
public
:
public
:
explicit
OOXMLShapeValue
(
uno
::
Reference
<
css
::
drawing
::
XShape
>
rShape
);
explicit
OOXMLShapeValue
(
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
rShape
);
virtual
~
OOXMLShapeValue
();
virtual
~
OOXMLShapeValue
();
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
...
@@ -242,9 +242,9 @@ public:
...
@@ -242,9 +242,9 @@ public:
class
OOXMLStarMathValue
:
public
OOXMLValue
class
OOXMLStarMathValue
:
public
OOXMLValue
{
{
protected
:
protected
:
css
::
uno
::
Reference
<
embed
::
XEmbeddedObject
>
component
;
css
::
uno
::
Reference
<
css
::
embed
::
XEmbeddedObject
>
component
;
public
:
public
:
explicit
OOXMLStarMathValue
(
css
::
uno
::
Reference
<
embed
::
XEmbeddedObject
>
component
);
explicit
OOXMLStarMathValue
(
css
::
uno
::
Reference
<
css
::
embed
::
XEmbeddedObject
>
component
);
virtual
~
OOXMLStarMathValue
();
virtual
~
OOXMLStarMathValue
();
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
...
...
writerfilter/source/ooxml/OOXMLStreamImpl.cxx
Dosyayı görüntüle @
85500add
...
@@ -32,7 +32,7 @@ namespace writerfilter {
...
@@ -32,7 +32,7 @@ namespace writerfilter {
namespace
ooxml
namespace
ooxml
{
{
using
namespace
::
std
;
using
namespace
com
::
sun
::
star
;
OOXMLStreamImpl
::
OOXMLStreamImpl
OOXMLStreamImpl
::
OOXMLStreamImpl
(
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
,
(
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
,
...
...
writerfilter/source/ooxml/OOXMLStreamImpl.hxx
Dosyayı görüntüle @
85500add
...
@@ -33,19 +33,17 @@ namespace writerfilter {
...
@@ -33,19 +33,17 @@ namespace writerfilter {
namespace
ooxml
namespace
ooxml
{
{
using
namespace
com
::
sun
::
star
;
class
OOXMLStreamImpl
:
public
OOXMLStream
class
OOXMLStreamImpl
:
public
OOXMLStream
{
{
void
init
();
void
init
();
uno
::
Reference
<
uno
::
XComponentContext
>
mxContext
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
mxContext
;
uno
::
Reference
<
io
::
XInputStream
>
mxStorageStream
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
mxStorageStream
;
uno
::
Reference
<
embed
::
XStorage
>
mxStorage
;
css
::
uno
::
Reference
<
css
::
embed
::
XStorage
>
mxStorage
;
uno
::
Reference
<
embed
::
XRelationshipAccess
>
mxRelationshipAccess
;
css
::
uno
::
Reference
<
css
::
embed
::
XRelationshipAccess
>
mxRelationshipAccess
;
uno
::
Reference
<
io
::
XStream
>
mxDocumentStream
;
css
::
uno
::
Reference
<
css
::
io
::
XStream
>
mxDocumentStream
;
uno
::
Reference
<
xml
::
sax
::
XFastParser
>
mxFastParser
;
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastParser
>
mxFastParser
;
uno
::
Reference
<
xml
::
sax
::
XFastTokenHandler
>
mxFastTokenHandler
;
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastTokenHandler
>
mxFastTokenHandler
;
StreamType_t
mnStreamType
;
StreamType_t
mnStreamType
;
...
@@ -56,7 +54,7 @@ class OOXMLStreamImpl : public OOXMLStream
...
@@ -56,7 +54,7 @@ class OOXMLStreamImpl : public OOXMLStream
/// Cache holding an Id <-> Target map of external relations.
/// Cache holding an Id <-> Target map of external relations.
std
::
map
<
OUString
,
OUString
>
maIdCache
;
std
::
map
<
OUString
,
OUString
>
maIdCache
;
bool
lcl_getTarget
(
uno
::
Reference
<
embed
::
XRelationshipAccess
>
bool
lcl_getTarget
(
css
::
uno
::
Reference
<
css
::
embed
::
XRelationshipAccess
>
xRelationshipAccess
,
xRelationshipAccess
,
StreamType_t
nStreamType
,
StreamType_t
nStreamType
,
const
OUString
&
rId
,
const
OUString
&
rId
,
...
@@ -67,26 +65,26 @@ public:
...
@@ -67,26 +65,26 @@ public:
OOXMLStreamImpl
OOXMLStreamImpl
(
OOXMLStreamImpl
&
rStream
,
StreamType_t
nType
);
(
OOXMLStreamImpl
&
rStream
,
StreamType_t
nType
);
OOXMLStreamImpl
OOXMLStreamImpl
(
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
,
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
xContext
,
uno
::
Reference
<
io
::
XInputStream
>
xStorageStream
,
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
xStorageStream
,
StreamType_t
nType
,
bool
bRepairStorage
);
StreamType_t
nType
,
bool
bRepairStorage
);
OOXMLStreamImpl
(
OOXMLStreamImpl
&
rStream
,
const
OUString
&
rId
);
OOXMLStreamImpl
(
OOXMLStreamImpl
&
rStream
,
const
OUString
&
rId
);
virtual
~
OOXMLStreamImpl
();
virtual
~
OOXMLStreamImpl
();
virtual
uno
::
Reference
<
xml
::
sax
::
XParser
>
getParser
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XParser
>
getParser
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastParser
>
getFastParser
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastParser
>
getFastParser
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getDocumentStream
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getDocumentStream
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
io
::
XInputStream
>
getStorageStream
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
getStorageStream
()
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
uno
::
XComponentContext
>
getContext
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
getContext
()
SAL_OVERRIDE
;
virtual
OUString
getTargetForId
(
const
OUString
&
rId
)
SAL_OVERRIDE
;
virtual
OUString
getTargetForId
(
const
OUString
&
rId
)
SAL_OVERRIDE
;
virtual
const
OUString
&
getTarget
()
const
SAL_OVERRIDE
;
virtual
const
OUString
&
getTarget
()
const
SAL_OVERRIDE
;
virtual
uno
::
Reference
<
xml
::
sax
::
XFastTokenHandler
>
virtual
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastTokenHandler
>
getFastTokenHandler
(
uno
::
Reference
<
uno
::
XComponentContext
>
rContext
)
SAL_OVERRIDE
;
getFastTokenHandler
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
rContext
)
SAL_OVERRIDE
;
void
setInputStream
(
uno
::
Reference
<
io
::
XInputStream
>
rxInputStream
);
void
setInputStream
(
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
rxInputStream
);
uno
::
Reference
<
io
::
XStream
>
accessDocumentStream
();
css
::
uno
::
Reference
<
css
::
io
::
XStream
>
accessDocumentStream
();
};
};
}}
}}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLSTREAMIMPL_HXX
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLSTREAMIMPL_HXX
...
...
writerfilter/source/ooxml/RefAndPointer.hxx
Dosyayı görüntüle @
85500add
...
@@ -31,7 +31,7 @@ template <class Interface, class ChildClass>
...
@@ -31,7 +31,7 @@ template <class Interface, class ChildClass>
class
RefAndPointer
class
RefAndPointer
{
{
mutable
ChildClass
*
mpHandler
;
mutable
ChildClass
*
mpHandler
;
mutable
uno
::
Reference
<
Interface
>
mRef
;
mutable
css
::
uno
::
Reference
<
Interface
>
mRef
;
public
:
public
:
RefAndPointer
()
RefAndPointer
()
...
@@ -48,7 +48,7 @@ public:
...
@@ -48,7 +48,7 @@ public:
#endif
#endif
}
}
RefAndPointer
(
uno
::
Reference
<
Interface
>
xRef
)
RefAndPointer
(
css
::
uno
::
Reference
<
Interface
>
xRef
)
:
mRef
(
xRef
)
:
mRef
(
xRef
)
{
{
mpHandler
=
dynamic_cast
<
ChildClass
*>
(
xRef
.
get
());
mpHandler
=
dynamic_cast
<
ChildClass
*>
(
xRef
.
get
());
...
@@ -74,14 +74,14 @@ public:
...
@@ -74,14 +74,14 @@ public:
mRef
=
pHandler
;
mRef
=
pHandler
;
}
}
void
set
(
uno
::
Reference
<
Interface
>
xHandler
)
void
set
(
css
::
uno
::
Reference
<
Interface
>
xHandler
)
{
{
mpHandler
=
dynamic_cast
<
ChildClass
*>
(
xHandler
.
get
());
mpHandler
=
dynamic_cast
<
ChildClass
*>
(
xHandler
.
get
());
mRef
=
xHandler
;
mRef
=
xHandler
;
}
}
ChildClass
*
getPointer
()
const
{
return
mpHandler
;
}
ChildClass
*
getPointer
()
const
{
return
mpHandler
;
}
const
uno
::
Reference
<
Interface
>
getRef
()
const
{
return
mRef
;
}
const
css
::
uno
::
Reference
<
Interface
>
getRef
()
const
{
return
mRef
;
}
RefAndPointer
&
operator
=
RefAndPointer
&
operator
=
(
const
RefAndPointer
&
rSrc
)
(
const
RefAndPointer
&
rSrc
)
...
@@ -94,7 +94,7 @@ public:
...
@@ -94,7 +94,7 @@ public:
bool
is
()
{
return
getRef
().
is
();
}
bool
is
()
{
return
getRef
().
is
();
}
operator
ChildClass
*
()
{
return
getPointer
();
}
operator
ChildClass
*
()
{
return
getPointer
();
}
operator
uno
::
Reference
<
Interface
>
()
{
return
getRef
();
}
operator
css
::
uno
::
Reference
<
Interface
>
()
{
return
getRef
();
}
};
};
}}
}}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_REFANDPOINTER_HXX
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_REFANDPOINTER_HXX
...
...
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