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
f8c5a61e
Kaydet (Commit)
f8c5a61e
authored
Haz 19, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: Hide more debug-only stuff behind the DEBUG_DOMAINMAPPER.
Change-Id: I0e86cafab97f0adad516660c6fdf40e13d114bf2
üst
1c876f56
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
88 additions
and
11 deletions
+88
-11
TagLogger.hxx
writerfilter/inc/resourcemodel/TagLogger.hxx
+2
-0
WW8ResourceModel.hxx
writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+6
-0
util.hxx
writerfilter/inc/resourcemodel/util.hxx
+1
-1
OOXMLFastContextHandler.cxx
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+3
-3
OOXMLPropertySet.hxx
writerfilter/source/ooxml/OOXMLPropertySet.hxx
+4
-0
OOXMLPropertySetImpl.cxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+28
-2
OOXMLPropertySetImpl.hxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
+28
-0
factoryimpl.xsl
writerfilter/source/ooxml/factoryimpl.xsl
+2
-0
fasttokens.py
writerfilter/source/ooxml/fasttokens.py
+2
-0
util.cxx
writerfilter/source/resourcemodel/util.cxx
+2
-3
rtfsprm.cxx
writerfilter/source/rtftok/rtfsprm.cxx
+4
-2
rtfsprm.hxx
writerfilter/source/rtftok/rtfsprm.hxx
+2
-0
rtfvalue.cxx
writerfilter/source/rtftok/rtfvalue.cxx
+2
-0
rtfvalue.hxx
writerfilter/source/rtftok/rtfvalue.hxx
+2
-0
No files found.
writerfilter/inc/resourcemodel/TagLogger.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
namespace
writerfilter
namespace
writerfilter
{
{
#ifdef DEBUG_DOMAINMAPPER
class
IdToString
class
IdToString
{
{
public
:
public
:
...
@@ -39,6 +40,7 @@ namespace writerfilter
...
@@ -39,6 +40,7 @@ namespace writerfilter
protected
:
protected
:
~
IdToString
()
{}
~
IdToString
()
{}
};
};
#endif
class
TagLogger
class
TagLogger
{
{
...
...
writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -333,7 +333,9 @@ public:
...
@@ -333,7 +333,9 @@ public:
/**
/**
Returns string representation of this value.
Returns string representation of this value.
*/
*/
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
=
0
;
virtual
std
::
string
toString
()
const
=
0
;
#endif
};
};
/**
/**
...
@@ -382,12 +384,16 @@ public:
...
@@ -382,12 +384,16 @@ public:
/**
/**
Returns name of sprm.
Returns name of sprm.
*/
*/
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getName
()
const
=
0
;
virtual
std
::
string
getName
()
const
=
0
;
#endif
/**
/**
Returns string repesentation of sprm.
Returns string repesentation of sprm.
*/
*/
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
=
0
;
virtual
std
::
string
toString
()
const
=
0
;
#endif
protected
:
protected
:
~
Sprm
()
{}
~
Sprm
()
{}
...
...
writerfilter/inc/resourcemodel/util.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
namespace
writerfilter
namespace
writerfilter
{
{
#if
OSL_DEBUG_LEVEL > 1
#if
def DEBUG_DOMAINMAPPER
std
::
string
toString
(
css
::
uno
::
Reference
<
css
::
text
::
XTextRange
>
textRange
);
std
::
string
toString
(
css
::
uno
::
Reference
<
css
::
text
::
XTextRange
>
textRange
);
#endif
#endif
}
}
...
...
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -87,7 +87,7 @@ static string resourceToString
...
@@ -87,7 +87,7 @@ static string resourceToString
set
<
OOXMLFastContextHandler
*>
aSetContexts
;
set
<
OOXMLFastContextHandler
*>
aSetContexts
;
#if
OSL_DEBUG_LEVEL > 1
#if
def DEBUG_DOMAINMAPPER
class
OOXMLIdToString
:
public
IdToString
class
OOXMLIdToString
:
public
IdToString
{
{
public
:
public
:
...
@@ -377,7 +377,7 @@ void OOXMLFastContextHandler::endAction(Token_t Element)
...
@@ -377,7 +377,7 @@ void OOXMLFastContextHandler::endAction(Token_t Element)
OOXMLFactory
::
getInstance
()
->
endAction
(
this
,
Element
);
OOXMLFactory
::
getInstance
()
->
endAction
(
this
,
Element
);
}
}
#if
OSL_DEBUG_LEVEL > 1
#if
def DEBUG_DOMAINMAPPER
void
OOXMLFastContextHandler
::
dumpXml
(
const
TagLogger
::
Pointer_t
pLogger
)
const
void
OOXMLFastContextHandler
::
dumpXml
(
const
TagLogger
::
Pointer_t
pLogger
)
const
{
{
pLogger
->
startElement
(
"context"
);
pLogger
->
startElement
(
"context"
);
...
@@ -1088,7 +1088,7 @@ OOXMLValue::Pointer_t OOXMLFastContextHandlerProperties::getValue() const
...
@@ -1088,7 +1088,7 @@ OOXMLValue::Pointer_t OOXMLFastContextHandlerProperties::getValue() const
return
OOXMLValue
::
Pointer_t
(
new
OOXMLPropertySetValue
(
mpPropertySet
));
return
OOXMLValue
::
Pointer_t
(
new
OOXMLPropertySetValue
(
mpPropertySet
));
}
}
#if
OSL_DEBUG_LEVEL > 1
#if
def DEBUG_DOMAINMAPPER
void
OOXMLFastContextHandlerProperties
::
dumpXml
(
const
TagLogger
::
Pointer_t
pLogger
)
const
void
OOXMLFastContextHandlerProperties
::
dumpXml
(
const
TagLogger
::
Pointer_t
pLogger
)
const
{
{
pLogger
->
startElement
(
"context"
);
pLogger
->
startElement
(
"context"
);
...
...
writerfilter/source/ooxml/OOXMLPropertySet.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -37,8 +37,10 @@ public:
...
@@ -37,8 +37,10 @@ public:
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
=
0
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
=
0
;
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
=
0
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
=
0
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
=
0
;
#endif
virtual
void
resolve
(
Properties
&
rProperties
)
=
0
;
virtual
void
resolve
(
Properties
&
rProperties
)
=
0
;
virtual
Sprm
*
clone
()
=
0
;
virtual
Sprm
*
clone
()
=
0
;
...
@@ -58,7 +60,9 @@ public:
...
@@ -58,7 +60,9 @@ public:
virtual
OOXMLPropertySet
*
clone
()
const
=
0
;
virtual
OOXMLPropertySet
*
clone
()
const
=
0
;
virtual
void
setType
(
const
std
::
string
&
rsType
)
=
0
;
virtual
void
setType
(
const
std
::
string
&
rsType
)
=
0
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
=
0
;
virtual
std
::
string
toString
()
=
0
;
#endif
};
};
class
OOXMLTable
:
public
writerfilter
::
Reference
<
Table
>
class
OOXMLTable
:
public
writerfilter
::
Reference
<
Table
>
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -104,13 +104,12 @@ writerfilter::Reference<Properties>::Pointer_t OOXMLPropertyImpl::getProps()
...
@@ -104,13 +104,12 @@ writerfilter::Reference<Properties>::Pointer_t OOXMLPropertyImpl::getProps()
return
pResult
;
return
pResult
;
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLPropertyImpl
::
getName
()
const
string
OOXMLPropertyImpl
::
getName
()
const
{
{
string
sResult
;
string
sResult
;
#ifdef DEBUG_DOMAINMAPPER
sResult
=
(
*
QNameToString
::
Instance
())(
mId
);
sResult
=
(
*
QNameToString
::
Instance
())(
mId
);
#endif
if
(
sResult
.
length
()
==
0
)
if
(
sResult
.
length
()
==
0
)
sResult
=
fastTokenToId
(
mId
);
sResult
=
fastTokenToId
(
mId
);
...
@@ -125,7 +124,9 @@ string OOXMLPropertyImpl::getName() const
...
@@ -125,7 +124,9 @@ string OOXMLPropertyImpl::getName() const
return
sResult
;
return
sResult
;
}
}
#endif
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLPropertyImpl
::
toString
()
const
string
OOXMLPropertyImpl
::
toString
()
const
{
{
string
sResult
=
"("
;
string
sResult
=
"("
;
...
@@ -140,6 +141,7 @@ string OOXMLPropertyImpl::toString() const
...
@@ -140,6 +141,7 @@ string OOXMLPropertyImpl::toString() const
return
sResult
;
return
sResult
;
}
}
#endif
Sprm
::
Kind
OOXMLPropertyImpl
::
getKind
()
Sprm
::
Kind
OOXMLPropertyImpl
::
getKind
()
{
{
...
@@ -215,10 +217,12 @@ writerfilter::Reference<BinaryObj>::Pointer_t OOXMLValue::getBinary()
...
@@ -215,10 +217,12 @@ writerfilter::Reference<BinaryObj>::Pointer_t OOXMLValue::getBinary()
return
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
();
return
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
();
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLValue
::
toString
()
const
string
OOXMLValue
::
toString
()
const
{
{
return
"OOXMLValue"
;
return
"OOXMLValue"
;
}
}
#endif
OOXMLValue
*
OOXMLValue
::
clone
()
const
OOXMLValue
*
OOXMLValue
::
clone
()
const
{
{
...
@@ -244,10 +248,12 @@ writerfilter::Reference<BinaryObj>::Pointer_t OOXMLBinaryValue::getBinary()
...
@@ -244,10 +248,12 @@ writerfilter::Reference<BinaryObj>::Pointer_t OOXMLBinaryValue::getBinary()
return
mpBinaryObj
;
return
mpBinaryObj
;
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLBinaryValue
::
toString
()
const
string
OOXMLBinaryValue
::
toString
()
const
{
{
return
"BinaryObj"
;
return
"BinaryObj"
;
}
}
#endif
OOXMLValue
*
OOXMLBinaryValue
::
clone
()
const
OOXMLValue
*
OOXMLBinaryValue
::
clone
()
const
{
{
...
@@ -294,10 +300,12 @@ uno::Any OOXMLBooleanValue::getAny() const
...
@@ -294,10 +300,12 @@ uno::Any OOXMLBooleanValue::getAny() const
return
aResult
;
return
aResult
;
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLBooleanValue
::
toString
()
const
string
OOXMLBooleanValue
::
toString
()
const
{
{
return
mbValue
?
"true"
:
"false"
;
return
mbValue
?
"true"
:
"false"
;
}
}
#endif
OOXMLValue
*
OOXMLBooleanValue
::
clone
()
const
OOXMLValue
*
OOXMLBooleanValue
::
clone
()
const
{
{
...
@@ -329,10 +337,12 @@ OUString OOXMLStringValue::getString() const
...
@@ -329,10 +337,12 @@ OUString OOXMLStringValue::getString() const
return
mStr
;
return
mStr
;
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLStringValue
::
toString
()
const
string
OOXMLStringValue
::
toString
()
const
{
{
return
OUStringToOString
(
mStr
,
RTL_TEXTENCODING_ASCII_US
).
getStr
();
return
OUStringToOString
(
mStr
,
RTL_TEXTENCODING_ASCII_US
).
getStr
();
}
}
#endif
OOXMLValue
*
OOXMLStringValue
::
clone
()
const
OOXMLValue
*
OOXMLStringValue
::
clone
()
const
{
{
...
@@ -358,10 +368,12 @@ uno::Any OOXMLInputStreamValue::getAny() const
...
@@ -358,10 +368,12 @@ uno::Any OOXMLInputStreamValue::getAny() const
return
aAny
;
return
aAny
;
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLInputStreamValue
::
toString
()
const
string
OOXMLInputStreamValue
::
toString
()
const
{
{
return
"InputStream"
;
return
"InputStream"
;
}
}
#endif
OOXMLValue
*
OOXMLInputStreamValue
::
clone
()
const
OOXMLValue
*
OOXMLInputStreamValue
::
clone
()
const
{
{
...
@@ -488,6 +500,7 @@ void OOXMLPropertySetImpl::setType(const string & rsType)
...
@@ -488,6 +500,7 @@ void OOXMLPropertySetImpl::setType(const string & rsType)
msType
=
rsType
;
msType
=
rsType
;
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLPropertySetImpl
::
toString
()
string
OOXMLPropertySetImpl
::
toString
()
{
{
string
sResult
=
"["
;
string
sResult
=
"["
;
...
@@ -514,6 +527,7 @@ string OOXMLPropertySetImpl::toString()
...
@@ -514,6 +527,7 @@ string OOXMLPropertySetImpl::toString()
return
sResult
;
return
sResult
;
}
}
#endif
/*
/*
class OOXMLPropertySetValue
class OOXMLPropertySetValue
...
@@ -535,6 +549,7 @@ writerfilter::Reference<Properties>::Pointer_t OOXMLPropertySetValue::getPropert
...
@@ -535,6 +549,7 @@ writerfilter::Reference<Properties>::Pointer_t OOXMLPropertySetValue::getPropert
(
mpPropertySet
->
clone
());
(
mpPropertySet
->
clone
());
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLPropertySetValue
::
toString
()
const
string
OOXMLPropertySetValue
::
toString
()
const
{
{
char
sBuffer
[
256
];
char
sBuffer
[
256
];
...
@@ -543,6 +558,7 @@ string OOXMLPropertySetValue::toString() const
...
@@ -543,6 +558,7 @@ string OOXMLPropertySetValue::toString() const
return
"OOXMLPropertySetValue("
+
string
(
sBuffer
)
+
")"
;
return
"OOXMLPropertySetValue("
+
string
(
sBuffer
)
+
")"
;
}
}
#endif
OOXMLValue
*
OOXMLPropertySetValue
::
clone
()
const
OOXMLValue
*
OOXMLPropertySetValue
::
clone
()
const
{
{
...
@@ -585,6 +601,7 @@ OOXMLValue * OOXMLIntegerValue::clone() const
...
@@ -585,6 +601,7 @@ OOXMLValue * OOXMLIntegerValue::clone() const
return
new
OOXMLIntegerValue
(
*
this
);
return
new
OOXMLIntegerValue
(
*
this
);
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLIntegerValue
::
toString
()
const
string
OOXMLIntegerValue
::
toString
()
const
{
{
char
buffer
[
256
];
char
buffer
[
256
];
...
@@ -592,6 +609,7 @@ string OOXMLIntegerValue::toString() const
...
@@ -592,6 +609,7 @@ string OOXMLIntegerValue::toString() const
return
buffer
;
return
buffer
;
}
}
#endif
/*
/*
class OOXMLHexValue
class OOXMLHexValue
...
@@ -621,6 +639,7 @@ OOXMLValue * OOXMLHexValue::clone() const
...
@@ -621,6 +639,7 @@ OOXMLValue * OOXMLHexValue::clone() const
return
new
OOXMLHexValue
(
*
this
);
return
new
OOXMLHexValue
(
*
this
);
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLHexValue
::
toString
()
const
string
OOXMLHexValue
::
toString
()
const
{
{
char
buffer
[
256
];
char
buffer
[
256
];
...
@@ -628,6 +647,7 @@ string OOXMLHexValue::toString() const
...
@@ -628,6 +647,7 @@ string OOXMLHexValue::toString() const
return
buffer
;
return
buffer
;
}
}
#endif
// OOXMLUniversalMeasureValue
// OOXMLUniversalMeasureValue
...
@@ -653,10 +673,12 @@ OOXMLValue* OOXMLUniversalMeasureValue::clone() const
...
@@ -653,10 +673,12 @@ OOXMLValue* OOXMLUniversalMeasureValue::clone() const
return
new
OOXMLUniversalMeasureValue
(
*
this
);
return
new
OOXMLUniversalMeasureValue
(
*
this
);
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLUniversalMeasureValue
::
toString
()
const
string
OOXMLUniversalMeasureValue
::
toString
()
const
{
{
return
OString
::
number
(
mnValue
).
getStr
();
return
OString
::
number
(
mnValue
).
getStr
();
}
}
#endif
/*
/*
class OOXMLShapeValue
class OOXMLShapeValue
...
@@ -677,10 +699,12 @@ uno::Any OOXMLShapeValue::getAny() const
...
@@ -677,10 +699,12 @@ uno::Any OOXMLShapeValue::getAny() const
return
uno
::
Any
(
mrShape
);
return
uno
::
Any
(
mrShape
);
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLShapeValue
::
toString
()
const
string
OOXMLShapeValue
::
toString
()
const
{
{
return
"Shape"
;
return
"Shape"
;
}
}
#endif
OOXMLValue
*
OOXMLShapeValue
::
clone
()
const
OOXMLValue
*
OOXMLShapeValue
::
clone
()
const
{
{
...
@@ -706,10 +730,12 @@ uno::Any OOXMLStarMathValue::getAny() const
...
@@ -706,10 +730,12 @@ uno::Any OOXMLStarMathValue::getAny() const
return
uno
::
Any
(
component
);
return
uno
::
Any
(
component
);
}
}
#ifdef DEBUG_DOMAINMAPPER
string
OOXMLStarMathValue
::
toString
()
const
string
OOXMLStarMathValue
::
toString
()
const
{
{
return
"StarMath"
;
return
"StarMath"
;
}
}
#endif
OOXMLValue
*
OOXMLStarMathValue
::
clone
()
const
OOXMLValue
*
OOXMLStarMathValue
::
clone
()
const
{
{
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -49,7 +49,9 @@ public:
...
@@ -49,7 +49,9 @@ public:
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
;
virtual
OOXMLValue
*
clone
()
const
;
};
};
...
@@ -74,9 +76,13 @@ public:
...
@@ -74,9 +76,13 @@ public:
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
;
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
;
#endif
virtual
Kind
getKind
()
SAL_OVERRIDE
;
virtual
Kind
getKind
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
Sprm
*
clone
()
SAL_OVERRIDE
;
virtual
Sprm
*
clone
()
SAL_OVERRIDE
;
virtual
void
resolve
(
Properties
&
rProperties
)
SAL_OVERRIDE
;
virtual
void
resolve
(
Properties
&
rProperties
)
SAL_OVERRIDE
;
};
};
...
@@ -90,7 +96,9 @@ public:
...
@@ -90,7 +96,9 @@ public:
virtual
~
OOXMLBinaryValue
();
virtual
~
OOXMLBinaryValue
();
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -106,7 +114,9 @@ public:
...
@@ -106,7 +114,9 @@ public:
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
bool
getBool
()
const
SAL_OVERRIDE
;
virtual
bool
getBool
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -120,7 +130,9 @@ public:
...
@@ -120,7 +130,9 @@ public:
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
OUString
getString
()
const
SAL_OVERRIDE
;
virtual
OUString
getString
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -134,7 +146,9 @@ public:
...
@@ -134,7 +146,9 @@ public:
virtual
~
OOXMLInputStreamValue
();
virtual
~
OOXMLInputStreamValue
();
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -168,7 +182,9 @@ public:
...
@@ -168,7 +182,9 @@ public:
virtual
void
setType
(
const
std
::
string
&
rsType
)
SAL_OVERRIDE
;
virtual
void
setType
(
const
std
::
string
&
rsType
)
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
SAL_OVERRIDE
;
#endif
};
};
class
OOXMLPropertySetValue
:
public
OOXMLValue
class
OOXMLPropertySetValue
:
public
OOXMLValue
...
@@ -179,7 +195,9 @@ public:
...
@@ -179,7 +195,9 @@ public:
virtual
~
OOXMLPropertySetValue
();
virtual
~
OOXMLPropertySetValue
();
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -194,7 +212,9 @@ public:
...
@@ -194,7 +212,9 @@ public:
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -208,7 +228,9 @@ public:
...
@@ -208,7 +228,9 @@ public:
virtual
~
OOXMLHexValue
();
virtual
~
OOXMLHexValue
();
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
int
getInt
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -222,7 +244,9 @@ public:
...
@@ -222,7 +244,9 @@ public:
virtual
~
OOXMLUniversalMeasureValue
();
virtual
~
OOXMLUniversalMeasureValue
();
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
int
getInt
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -235,7 +259,9 @@ public:
...
@@ -235,7 +259,9 @@ public:
virtual
~
OOXMLShapeValue
();
virtual
~
OOXMLShapeValue
();
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
@@ -248,7 +274,9 @@ public:
...
@@ -248,7 +274,9 @@ public:
virtual
~
OOXMLStarMathValue
();
virtual
~
OOXMLStarMathValue
();
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
virtual
OOXMLValue
*
clone
()
const
SAL_OVERRIDE
;
};
};
...
...
writerfilter/source/ooxml/factoryimpl.xsl
Dosyayı görüntüle @
f8c5a61e
...
@@ -177,6 +177,7 @@ public:
...
@@ -177,6 +177,7 @@ public:
};
};
}
}
#ifdef DEBUG_DOMAINMAPPER
string fastTokenToId(sal_uInt32 nToken)
string fastTokenToId(sal_uInt32 nToken)
{
{
</xsl:text>
</xsl:text>
...
@@ -218,6 +219,7 @@ string fastTokenToId(sal_uInt32 nToken)
...
@@ -218,6 +219,7 @@ string fastTokenToId(sal_uInt32 nToken)
return sResult;
return sResult;
}
}
#endif
</xsl:text>
</xsl:text>
</xsl:template>
</xsl:template>
...
...
writerfilter/source/ooxml/fasttokens.py
Dosyayı görüntüle @
f8c5a61e
...
@@ -63,7 +63,9 @@ print("""const Token_t OOXML_FAST_TOKENS_END =5805;
...
@@ -63,7 +63,9 @@ print("""const Token_t OOXML_FAST_TOKENS_END =5805;
namespace writerfilter {
namespace writerfilter {
namespace ooxml {
namespace ooxml {
#ifdef DEBUG_DOMAINMAPPER
string fastTokenToId(sal_uInt32 nToken);
string fastTokenToId(sal_uInt32 nToken);
#endif
}}
}}
...
...
writerfilter/source/resourcemodel/util.cxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -36,8 +36,7 @@ namespace writerfilter
...
@@ -36,8 +36,7 @@ namespace writerfilter
using
namespace
com
::
sun
::
star
;
using
namespace
com
::
sun
::
star
;
using
namespace
std
;
using
namespace
std
;
#if OSL_DEBUG_LEVEL > 1
#ifdef DEBUG_DOMAINMAPPER
string
toString
(
uno
::
Reference
<
text
::
XTextRange
>
textRange
)
string
toString
(
uno
::
Reference
<
text
::
XTextRange
>
textRange
)
{
{
string
result
;
string
result
;
...
@@ -56,8 +55,8 @@ string toString(uno::Reference< text::XTextRange > textRange)
...
@@ -56,8 +55,8 @@ string toString(uno::Reference< text::XTextRange > textRange)
return
result
;
return
result
;
}
}
#endif
#endif
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
writerfilter/source/rtftok/rtfsprm.cxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -56,20 +56,21 @@ Sprm::Kind RTFSprm::getKind()
...
@@ -56,20 +56,21 @@ Sprm::Kind RTFSprm::getKind()
return
Sprm
::
UNKNOWN
;
return
Sprm
::
UNKNOWN
;
}
}
#ifdef DEBUG_DOMAINMAPPER
std
::
string
RTFSprm
::
getName
()
const
std
::
string
RTFSprm
::
getName
()
const
{
{
return
"RTFSprm"
;
return
"RTFSprm"
;
}
}
#endif
#ifdef DEBUG_DOMAINMAPPER
std
::
string
RTFSprm
::
toString
()
const
std
::
string
RTFSprm
::
toString
()
const
{
{
OStringBuffer
aBuf
(
"RTFSprm"
);
OStringBuffer
aBuf
(
"RTFSprm"
);
std
::
string
sResult
;
std
::
string
sResult
;
#ifdef DEBUG_DOMAINMAPPER
sResult
=
(
*
QNameToString
::
Instance
())(
m_nKeyword
);
sResult
=
(
*
QNameToString
::
Instance
())(
m_nKeyword
);
#endif
aBuf
.
append
(
" ('"
);
aBuf
.
append
(
" ('"
);
if
(
sResult
.
length
()
==
0
)
if
(
sResult
.
length
()
==
0
)
...
@@ -82,6 +83,7 @@ std::string RTFSprm::toString() const
...
@@ -82,6 +83,7 @@ std::string RTFSprm::toString() const
return
aBuf
.
makeStringAndClear
().
getStr
();
return
aBuf
.
makeStringAndClear
().
getStr
();
}
}
#endif
RTFValue
::
Pointer_t
RTFSprms
::
find
(
Id
nKeyword
,
bool
bFirst
,
bool
bForWrite
)
RTFValue
::
Pointer_t
RTFSprms
::
find
(
Id
nKeyword
,
bool
bFirst
,
bool
bForWrite
)
{
{
...
...
writerfilter/source/rtftok/rtfsprm.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -111,8 +111,10 @@ public:
...
@@ -111,8 +111,10 @@ public:
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
;
virtual
Kind
getKind
()
SAL_OVERRIDE
;
virtual
Kind
getKind
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
;
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
private
:
private
:
Id
m_nKeyword
;
Id
m_nKeyword
;
RTFValue
::
Pointer_t
&
m_pValue
;
RTFValue
::
Pointer_t
&
m_pValue
;
...
...
writerfilter/source/rtftok/rtfvalue.cxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -210,6 +210,7 @@ writerfilter::Reference<BinaryObj>::Pointer_t RTFValue::getBinary()
...
@@ -210,6 +210,7 @@ writerfilter::Reference<BinaryObj>::Pointer_t RTFValue::getBinary()
return
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
();
return
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
();
}
}
#ifdef DEBUG_DOMAINMAPPER
std
::
string
RTFValue
::
toString
()
const
std
::
string
RTFValue
::
toString
()
const
{
{
if
(
!
m_sValue
.
isEmpty
()
||
m_bForceString
)
if
(
!
m_sValue
.
isEmpty
()
||
m_bForceString
)
...
@@ -217,6 +218,7 @@ std::string RTFValue::toString() const
...
@@ -217,6 +218,7 @@ std::string RTFValue::toString() const
else
else
return
OString
::
number
(
m_nValue
).
getStr
();
return
OString
::
number
(
m_nValue
).
getStr
();
}
}
#endif
RTFValue
*
RTFValue
::
Clone
()
RTFValue
*
RTFValue
::
Clone
()
{
{
...
...
writerfilter/source/rtftok/rtfvalue.hxx
Dosyayı görüntüle @
f8c5a61e
...
@@ -46,7 +46,9 @@ public:
...
@@ -46,7 +46,9 @@ public:
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
RTFValue
*
Clone
();
virtual
RTFValue
*
Clone
();
virtual
RTFValue
*
CloneWithSprms
(
RTFSprms
const
&
rAttributes
,
RTFSprms
const
&
rSprms
);
virtual
RTFValue
*
CloneWithSprms
(
RTFSprms
const
&
rAttributes
,
RTFSprms
const
&
rSprms
);
RTFSprms
&
getAttributes
();
RTFSprms
&
getAttributes
();
...
...
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