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
1f6017f7
Kaydet (Commit)
1f6017f7
authored
May 18, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: drop global 'using css' from WW8ResourceModel.hxx
Change-Id: I2196a1df09a6f35e4de3ab3cc84bc1e149cd8f61
üst
f6f41960
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
213 additions
and
206 deletions
+213
-206
DomainMapper.hxx
writerfilter/inc/dmapper/DomainMapper.hxx
+3
-3
OOXMLDocument.hxx
writerfilter/inc/ooxml/OOXMLDocument.hxx
+1
-1
LoggedResources.hxx
writerfilter/inc/resourcemodel/LoggedResources.hxx
+12
-12
QNameToString.hxx
writerfilter/inc/resourcemodel/QNameToString.hxx
+3
-3
TagLogger.hxx
writerfilter/inc/resourcemodel/TagLogger.hxx
+2
-2
WW8ResourceModel.hxx
writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+8
-10
BorderHandler.hxx
writerfilter/source/dmapper/BorderHandler.hxx
+2
-2
CellColorHandler.cxx
writerfilter/source/dmapper/CellColorHandler.cxx
+64
-64
CellColorHandler.hxx
writerfilter/source/dmapper/CellColorHandler.hxx
+3
-3
CellMarginHandler.hxx
writerfilter/source/dmapper/CellMarginHandler.hxx
+2
-2
FontTable.cxx
writerfilter/source/dmapper/FontTable.cxx
+3
-1
FontTable.hxx
writerfilter/source/dmapper/FontTable.hxx
+1
-1
GraphicHelpers.hxx
writerfilter/source/dmapper/GraphicHelpers.hxx
+2
-2
GraphicImport.hxx
writerfilter/source/dmapper/GraphicImport.hxx
+1
-1
LatentStyleHandler.hxx
writerfilter/source/dmapper/LatentStyleHandler.hxx
+1
-1
MeasureHandler.hxx
writerfilter/source/dmapper/MeasureHandler.hxx
+2
-2
NumberingManager.hxx
writerfilter/source/dmapper/NumberingManager.hxx
+1
-1
PageBordersHandler.hxx
writerfilter/source/dmapper/PageBordersHandler.hxx
+1
-1
PropertyMap.hxx
writerfilter/source/dmapper/PropertyMap.hxx
+3
-3
PropertyMapHelper.hxx
writerfilter/source/dmapper/PropertyMapHelper.hxx
+4
-4
SettingsTable.cxx
writerfilter/source/dmapper/SettingsTable.cxx
+2
-0
SettingsTable.hxx
writerfilter/source/dmapper/SettingsTable.hxx
+3
-3
TDefTableHandler.hxx
writerfilter/source/dmapper/TDefTableHandler.hxx
+2
-2
TextEffectsHandler.cxx
writerfilter/source/dmapper/TextEffectsHandler.cxx
+17
-18
ThemeTable.cxx
writerfilter/source/dmapper/ThemeTable.cxx
+2
-0
ThemeTable.hxx
writerfilter/source/dmapper/ThemeTable.hxx
+1
-1
OOXMLBinaryObjectReference.cxx
writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
+1
-1
OOXMLBinaryObjectReference.hxx
writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+1
-1
OOXMLDocumentImpl.hxx
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+1
-1
OOXMLPropertySet.hxx
writerfilter/source/ooxml/OOXMLPropertySet.hxx
+5
-5
LoggedResources.cxx
writerfilter/source/resourcemodel/LoggedResources.cxx
+13
-13
qnametostrcore.cxx
writerfilter/source/resourcemodel/qnametostrcore.cxx
+2
-2
rtfdocumentfactory.cxx
writerfilter/source/rtftok/rtfdocumentfactory.cxx
+5
-5
rtfdocumentimpl.hxx
writerfilter/source/rtftok/rtfdocumentimpl.hxx
+17
-17
rtfsdrimport.cxx
writerfilter/source/rtftok/rtfsdrimport.cxx
+2
-0
rtfsdrimport.hxx
writerfilter/source/rtftok/rtfsdrimport.hxx
+9
-9
rtfvalue.cxx
writerfilter/source/rtftok/rtfvalue.cxx
+2
-0
rtfvalue.hxx
writerfilter/source/rtftok/rtfvalue.hxx
+9
-9
No files found.
writerfilter/inc/dmapper/DomainMapper.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -124,9 +124,9 @@ public:
/// Enable storing of seen tokens in a named grab bag.
void
enableInteropGrabBag
(
const
OUString
&
aName
);
/// Get the stored tokens and clear the internal storage.
beans
::
PropertyValue
getInteropGrabBag
();
css
::
beans
::
PropertyValue
getInteropGrabBag
();
uno
::
Sequence
<
beans
::
PropertyValue
>
GetThemeFontLangProperties
()
const
;
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
GetThemeFontLangProperties
()
const
;
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
GetCompatSettings
()
const
;
void
HandleRedline
(
Sprm
&
rSprm
);
...
...
@@ -150,7 +150,7 @@ private:
writerfilter
::
Reference
<
Table
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
virtual
void
lcl_substream
(
Id
name
,
::
writerfilter
::
Reference
<
Stream
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
virtual
void
lcl_info
(
const
string
&
info
)
SAL_OVERRIDE
;
virtual
void
lcl_info
(
const
st
d
::
st
ring
&
info
)
SAL_OVERRIDE
;
// Properties
virtual
void
lcl_attribute
(
Id
Name
,
Value
&
val
)
SAL_OVERRIDE
;
...
...
writerfilter/inc/ooxml/OOXMLDocument.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -139,7 +139,7 @@ public:
DEBUGGING PURPOSE ONLY.
*/
virtual
string
getType
()
const
SAL_OVERRIDE
=
0
;
virtual
st
d
::
st
ring
getType
()
const
SAL_OVERRIDE
=
0
;
/**
Resolves a footnote to a stream handler.
...
...
writerfilter/inc/resourcemodel/LoggedResources.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -31,26 +31,26 @@ namespace writerfilter
class
LoggedResourcesHelper
{
public
:
explicit
LoggedResourcesHelper
(
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
);
explicit
LoggedResourcesHelper
(
TagLogger
::
Pointer_t
pLogger
,
const
st
d
::
st
ring
&
sPrefix
);
virtual
~
LoggedResourcesHelper
();
void
startElement
(
const
string
&
sElement
);
void
endElement
(
const
string
&
sElement
);
void
startElement
(
const
st
d
::
st
ring
&
sElement
);
void
endElement
(
const
st
d
::
st
ring
&
sElement
);
void
chars
(
const
OUString
&
rChars
);
void
chars
(
const
string
&
rChars
);
void
attribute
(
const
st
ring
&
rName
,
const
string
&
rValue
);
void
attribute
(
const
string
&
rName
,
sal_uInt32
nValue
);
void
chars
(
const
st
d
::
st
ring
&
rChars
);
void
attribute
(
const
st
d
::
string
&
rName
,
const
std
::
string
&
rValue
);
void
attribute
(
const
st
d
::
st
ring
&
rName
,
sal_uInt32
nValue
);
private
:
TagLogger
::
Pointer_t
mpLogger
;
string
msPrefix
;
st
d
::
st
ring
msPrefix
;
};
#endif
class
LoggedStream
:
public
Stream
{
public
:
explicit
LoggedStream
(
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
);
explicit
LoggedStream
(
TagLogger
::
Pointer_t
pLogger
,
const
st
d
::
st
ring
&
sPrefix
);
virtual
~
LoggedStream
();
void
startSectionGroup
()
SAL_OVERRIDE
;
...
...
@@ -67,7 +67,7 @@ public:
void
props
(
writerfilter
::
Reference
<
Properties
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
void
table
(
Id
name
,
writerfilter
::
Reference
<
Table
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
void
substream
(
Id
name
,
writerfilter
::
Reference
<
Stream
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
void
info
(
const
string
&
info
)
SAL_OVERRIDE
;
void
info
(
const
st
d
::
st
ring
&
info
)
SAL_OVERRIDE
;
protected
:
virtual
void
lcl_startSectionGroup
()
=
0
;
...
...
@@ -84,7 +84,7 @@ protected:
virtual
void
lcl_props
(
writerfilter
::
Reference
<
Properties
>::
Pointer_t
ref
)
=
0
;
virtual
void
lcl_table
(
Id
name
,
writerfilter
::
Reference
<
Table
>::
Pointer_t
ref
)
=
0
;
virtual
void
lcl_substream
(
Id
name
,
writerfilter
::
Reference
<
Stream
>::
Pointer_t
ref
)
=
0
;
virtual
void
lcl_info
(
const
string
&
info
)
=
0
;
virtual
void
lcl_info
(
const
st
d
::
st
ring
&
info
)
=
0
;
#ifdef DEBUG_LOGGING
LoggedResourcesHelper
mHelper
;
...
...
@@ -94,7 +94,7 @@ protected:
class
LoggedProperties
:
public
Properties
{
public
:
explicit
LoggedProperties
(
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
);
explicit
LoggedProperties
(
TagLogger
::
Pointer_t
pLogger
,
const
st
d
::
st
ring
&
sPrefix
);
virtual
~
LoggedProperties
();
void
attribute
(
Id
name
,
Value
&
val
)
SAL_OVERRIDE
;
...
...
@@ -112,7 +112,7 @@ protected:
class
LoggedTable
:
public
Table
{
public
:
explicit
LoggedTable
(
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
);
explicit
LoggedTable
(
TagLogger
::
Pointer_t
pLogger
,
const
st
d
::
st
ring
&
sPrefix
);
virtual
~
LoggedTable
();
void
entry
(
int
pos
,
writerfilter
::
Reference
<
Properties
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
...
...
writerfilter/inc/resourcemodel/QNameToString.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -32,7 +32,7 @@ namespace writerfilter
class
QNameToString
{
typedef
boost
::
shared_ptr
<
QNameToString
>
Pointer_t
;
typedef
std
::
map
<
Id
,
string
>
Map
;
typedef
std
::
map
<
Id
,
st
d
::
st
ring
>
Map
;
static
Pointer_t
pInstance
;
...
...
@@ -49,7 +49,7 @@ protected:
public
:
static
Pointer_t
Instance
();
string
operator
()(
Id
qName
);
st
d
::
st
ring
operator
()(
Id
qName
);
};
class
SprmIdToString
...
...
@@ -58,7 +58,7 @@ class SprmIdToString
static
Pointer_t
pInstance
;
std
::
map
<
sal_uInt32
,
string
>
mMap
;
std
::
map
<
sal_uInt32
,
st
d
::
st
ring
>
mMap
;
protected
:
/**
...
...
writerfilter/inc/resourcemodel/TagLogger.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -64,7 +64,7 @@ namespace writerfilter
#ifdef DEBUG_DOMAINMAPPER
void
element
(
const
std
::
string
&
name
);
void
unoPropertySet
(
uno
::
Reference
<
beans
::
XPropertySet
>
rPropSet
);
void
unoPropertySet
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
rPropSet
);
#endif
#if OSL_DEBUG_LEVEL > 1
void
startElement
(
const
std
::
string
&
name
);
...
...
@@ -73,7 +73,7 @@ namespace writerfilter
#if OSL_DEBUG_LEVEL > 1
void
attribute
(
const
std
::
string
&
name
,
const
OUString
&
value
);
void
attribute
(
const
std
::
string
&
name
,
sal_uInt32
value
);
void
attribute
(
const
std
::
string
&
name
,
const
uno
::
Any
aAny
);
void
attribute
(
const
std
::
string
&
name
,
const
css
::
uno
::
Any
aAny
);
void
chars
(
const
std
::
string
&
chars
);
void
chars
(
const
OUString
&
chars
);
void
endElement
();
...
...
writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -55,8 +55,6 @@
typedef
sal_uInt32
Id
;
namespace
writerfilter
{
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
std
;
/**
Reference to an resource that generates events and sends them to a
...
...
@@ -103,7 +101,7 @@ public:
/**
Returns the type of the reference aka the name of the access class.
*/
virtual
string
getType
()
const
=
0
;
virtual
st
d
::
st
ring
getType
()
const
=
0
;
protected
:
~
Reference
()
{}
...
...
@@ -277,7 +275,7 @@ public:
@param info the information
*/
virtual
void
info
(
const
string
&
info
)
=
0
;
virtual
void
info
(
const
st
d
::
st
ring
&
info
)
=
0
;
protected
:
~
Stream
()
{}
...
...
@@ -297,7 +295,7 @@ public:
Pointer to a value.
*/
SAL_WNODEPRECATED_DECLARATIONS_PUSH
typedef
auto_ptr
<
Value
>
Pointer_t
;
typedef
std
::
auto_ptr
<
Value
>
Pointer_t
;
SAL_WNODEPRECATED_DECLARATIONS_POP
virtual
~
Value
()
{}
...
...
@@ -315,7 +313,7 @@ public:
/**
Returns representation of the value as uno::Any.
*/
virtual
uno
::
Any
getAny
()
const
=
0
;
virtual
css
::
uno
::
Any
getAny
()
const
=
0
;
/**
Returns properties of this value.
...
...
@@ -335,7 +333,7 @@ public:
/**
Returns string representation of this value.
*/
virtual
string
toString
()
const
=
0
;
virtual
st
d
::
st
ring
toString
()
const
=
0
;
};
/**
...
...
@@ -346,7 +344,7 @@ class Sprm
{
public
:
SAL_WNODEPRECATED_DECLARATIONS_PUSH
typedef
auto_ptr
<
Sprm
>
Pointer_t
;
typedef
std
::
auto_ptr
<
Sprm
>
Pointer_t
;
SAL_WNODEPRECATED_DECLARATIONS_POP
enum
Kind
{
UNKNOWN
,
CHARACTER
,
PARAGRAPH
,
TABLE
};
...
...
@@ -384,12 +382,12 @@ public:
/**
Returns name of sprm.
*/
virtual
string
getName
()
const
=
0
;
virtual
st
d
::
st
ring
getName
()
const
=
0
;
/**
Returns string repesentation of sprm.
*/
virtual
string
toString
()
const
=
0
;
virtual
st
d
::
st
ring
toString
()
const
=
0
;
protected
:
~
Sprm
()
{}
...
...
writerfilter/source/dmapper/BorderHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -57,7 +57,7 @@ private:
bool
m_aFilledLines
[
BORDER_COUNT
];
::
com
::
sun
::
star
::
table
::
BorderLine2
m_aBorderLines
[
BORDER_COUNT
];
OUString
m_aInteropGrabBagName
;
std
::
vector
<
beans
::
PropertyValue
>
m_aInteropGrabBag
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
void
appendGrabBag
(
const
OUString
&
aKey
,
const
OUString
&
aValue
);
// Properties
...
...
@@ -73,7 +73,7 @@ public:
sal_Int32
getLineDistance
()
const
{
return
m_nLineDistance
;}
bool
getShadow
();
void
enableInteropGrabBag
(
const
OUString
&
aName
);
beans
::
PropertyValue
getInteropGrabBag
(
const
OUString
&
aName
=
OUString
());
css
::
beans
::
PropertyValue
getInteropGrabBag
(
const
OUString
&
aName
=
OUString
());
};
typedef
boost
::
shared_ptr
<
BorderHandler
>
BorderHandlerPtr
;
}}
...
...
writerfilter/source/dmapper/CellColorHandler.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -29,11 +29,11 @@
namespace
writerfilter
{
namespace
dmapper
{
using
namespace
::
com
::
sun
::
star
::
drawing
;
using
namespace
::
com
::
sun
::
star
;
CellColorHandler
::
CellColorHandler
()
:
LoggedProperties
(
dmapper_logger
,
"CellColorHandler"
),
m_nShadingPattern
(
ShadingPattern
::
CLEAR
),
m_nShadingPattern
(
drawing
::
ShadingPattern
::
CLEAR
),
m_nColor
(
0xffffffff
),
m_nFillColor
(
0xffffffff
),
m_OutputFormat
(
Form
)
...
...
@@ -255,68 +255,68 @@ TablePropertyMapPtr CellColorHandler::getProperties()
{
static
sal_Int32
aWWShadingPatterns
[
]
=
{
ShadingPattern
::
CLEAR
,
ShadingPattern
::
SOLID
,
ShadingPattern
::
PCT5
,
ShadingPattern
::
PCT10
,
ShadingPattern
::
PCT20
,
ShadingPattern
::
PCT25
,
ShadingPattern
::
PCT30
,
ShadingPattern
::
PCT40
,
ShadingPattern
::
PCT50
,
ShadingPattern
::
PCT60
,
ShadingPattern
::
PCT70
,
ShadingPattern
::
PCT75
,
ShadingPattern
::
PCT80
,
ShadingPattern
::
PCT90
,
ShadingPattern
::
HORZ_STRIPE
,
ShadingPattern
::
VERT_STRIPE
,
ShadingPattern
::
REVERSE_DIAG_STRIPE
,
ShadingPattern
::
DIAG_STRIPE
,
ShadingPattern
::
HORZ_CROSS
,
ShadingPattern
::
DIAG_CROSS
,
ShadingPattern
::
THIN_HORZ_STRIPE
,
ShadingPattern
::
THIN_VERT_STRIPE
,
ShadingPattern
::
THIN_REVERSE_DIAG_STRIPE
,
ShadingPattern
::
THIN_DIAG_STRIPE
,
ShadingPattern
::
THIN_HORZ_CROSS
,
ShadingPattern
::
THIN_DIAG_CROSS
,
ShadingPattern
::
UNUSED_1
,
ShadingPattern
::
UNUSED_2
,
ShadingPattern
::
UNUSED_3
,
ShadingPattern
::
UNUSED_4
,
ShadingPattern
::
UNUSED_5
,
ShadingPattern
::
UNUSED_6
,
ShadingPattern
::
UNUSED_7
,
ShadingPattern
::
UNUSED_8
,
ShadingPattern
::
UNUSED_9
,
ShadingPattern
::
PCT2
,
ShadingPattern
::
PCT7
,
ShadingPattern
::
PCT12
,
ShadingPattern
::
PCT15
,
ShadingPattern
::
PCT17
,
ShadingPattern
::
PCT22
,
ShadingPattern
::
PCT27
,
ShadingPattern
::
PCT32
,
ShadingPattern
::
PCT35
,
ShadingPattern
::
PCT37
,
ShadingPattern
::
PCT42
,
ShadingPattern
::
PCT45
,
ShadingPattern
::
PCT47
,
ShadingPattern
::
PCT52
,
ShadingPattern
::
PCT55
,
ShadingPattern
::
PCT57
,
ShadingPattern
::
PCT62
,
ShadingPattern
::
PCT65
,
ShadingPattern
::
PCT67
,
ShadingPattern
::
PCT72
,
ShadingPattern
::
PCT77
,
ShadingPattern
::
PCT82
,
ShadingPattern
::
PCT85
,
ShadingPattern
::
PCT87
,
ShadingPattern
::
PCT92
,
ShadingPattern
::
PCT95
,
ShadingPattern
::
PCT97
drawing
::
ShadingPattern
::
CLEAR
,
drawing
::
ShadingPattern
::
SOLID
,
drawing
::
ShadingPattern
::
PCT5
,
drawing
::
ShadingPattern
::
PCT10
,
drawing
::
ShadingPattern
::
PCT20
,
drawing
::
ShadingPattern
::
PCT25
,
drawing
::
ShadingPattern
::
PCT30
,
drawing
::
ShadingPattern
::
PCT40
,
drawing
::
ShadingPattern
::
PCT50
,
drawing
::
ShadingPattern
::
PCT60
,
drawing
::
ShadingPattern
::
PCT70
,
drawing
::
ShadingPattern
::
PCT75
,
drawing
::
ShadingPattern
::
PCT80
,
drawing
::
ShadingPattern
::
PCT90
,
drawing
::
ShadingPattern
::
HORZ_STRIPE
,
drawing
::
ShadingPattern
::
VERT_STRIPE
,
drawing
::
ShadingPattern
::
REVERSE_DIAG_STRIPE
,
drawing
::
ShadingPattern
::
DIAG_STRIPE
,
drawing
::
ShadingPattern
::
HORZ_CROSS
,
drawing
::
ShadingPattern
::
DIAG_CROSS
,
drawing
::
ShadingPattern
::
THIN_HORZ_STRIPE
,
drawing
::
ShadingPattern
::
THIN_VERT_STRIPE
,
drawing
::
ShadingPattern
::
THIN_REVERSE_DIAG_STRIPE
,
drawing
::
ShadingPattern
::
THIN_DIAG_STRIPE
,
drawing
::
ShadingPattern
::
THIN_HORZ_CROSS
,
drawing
::
ShadingPattern
::
THIN_DIAG_CROSS
,
drawing
::
ShadingPattern
::
UNUSED_1
,
drawing
::
ShadingPattern
::
UNUSED_2
,
drawing
::
ShadingPattern
::
UNUSED_3
,
drawing
::
ShadingPattern
::
UNUSED_4
,
drawing
::
ShadingPattern
::
UNUSED_5
,
drawing
::
ShadingPattern
::
UNUSED_6
,
drawing
::
ShadingPattern
::
UNUSED_7
,
drawing
::
ShadingPattern
::
UNUSED_8
,
drawing
::
ShadingPattern
::
UNUSED_9
,
drawing
::
ShadingPattern
::
PCT2
,
drawing
::
ShadingPattern
::
PCT7
,
drawing
::
ShadingPattern
::
PCT12
,
drawing
::
ShadingPattern
::
PCT15
,
drawing
::
ShadingPattern
::
PCT17
,
drawing
::
ShadingPattern
::
PCT22
,
drawing
::
ShadingPattern
::
PCT27
,
drawing
::
ShadingPattern
::
PCT32
,
drawing
::
ShadingPattern
::
PCT35
,
drawing
::
ShadingPattern
::
PCT37
,
drawing
::
ShadingPattern
::
PCT42
,
drawing
::
ShadingPattern
::
PCT45
,
drawing
::
ShadingPattern
::
PCT47
,
drawing
::
ShadingPattern
::
PCT52
,
drawing
::
ShadingPattern
::
PCT55
,
drawing
::
ShadingPattern
::
PCT57
,
drawing
::
ShadingPattern
::
PCT62
,
drawing
::
ShadingPattern
::
PCT65
,
drawing
::
ShadingPattern
::
PCT67
,
drawing
::
ShadingPattern
::
PCT72
,
drawing
::
ShadingPattern
::
PCT77
,
drawing
::
ShadingPattern
::
PCT82
,
drawing
::
ShadingPattern
::
PCT85
,
drawing
::
ShadingPattern
::
PCT87
,
drawing
::
ShadingPattern
::
PCT92
,
drawing
::
ShadingPattern
::
PCT95
,
drawing
::
ShadingPattern
::
PCT97
};
// Write the shading pattern property
...
...
writerfilter/source/dmapper/CellColorHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -40,13 +40,13 @@ private:
OutputFormat
m_OutputFormat
;
OUString
m_aInteropGrabBagName
;
std
::
vector
<
beans
::
PropertyValue
>
m_aInteropGrabBag
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
// Properties
virtual
void
lcl_attribute
(
Id
Name
,
Value
&
val
)
SAL_OVERRIDE
;
virtual
void
lcl_sprm
(
Sprm
&
sprm
)
SAL_OVERRIDE
;
void
createGrabBag
(
const
OUString
&
aName
,
uno
::
Any
aValue
);
void
createGrabBag
(
const
OUString
&
aName
,
css
::
uno
::
Any
aValue
);
public
:
CellColorHandler
(
);
...
...
@@ -57,7 +57,7 @@ public:
void
setOutputFormat
(
OutputFormat
format
)
{
m_OutputFormat
=
format
;
}
void
enableInteropGrabBag
(
const
OUString
&
aName
);
beans
::
PropertyValue
getInteropGrabBag
();
css
::
beans
::
PropertyValue
getInteropGrabBag
();
void
disableInteropGrabBag
();
bool
isInteropGrabBagEnabled
();
};
...
...
writerfilter/source/dmapper/CellMarginHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -36,7 +36,7 @@ private:
sal_Int32
m_nType
;
///< Unit of the value (dxa, etc).
OUString
m_aInteropGrabBagName
;
std
::
vector
<
beans
::
PropertyValue
>
m_aInteropGrabBag
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
// Properties
virtual
void
lcl_attribute
(
Id
Name
,
Value
&
val
)
SAL_OVERRIDE
;
...
...
@@ -61,7 +61,7 @@ public:
::
boost
::
shared_ptr
<
TablePropertyMap
>
getProperties
();
void
enableInteropGrabBag
(
const
OUString
&
aName
);
beans
::
PropertyValue
getInteropGrabBag
();
css
::
beans
::
PropertyValue
getInteropGrabBag
();
};
typedef
boost
::
shared_ptr
<
CellMarginHandler
>
CellMarginHandlerPtr
;
...
...
writerfilter/source/dmapper/FontTable.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -29,6 +29,8 @@
#include "dmapperLoggers.hxx"
using
namespace
com
::
sun
::
star
;
namespace
writerfilter
{
namespace
dmapper
{
...
...
@@ -213,7 +215,7 @@ void FontTable::lcl_substream(Id, ::writerfilter::Reference<Stream>::Pointer_t)
{
}
void
FontTable
::
lcl_info
(
const
string
&
)
void
FontTable
::
lcl_info
(
const
st
d
::
st
ring
&
)
{
}
...
...
writerfilter/source/dmapper/FontTable.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -88,7 +88,7 @@ class FontTable : public LoggedProperties, public LoggedTable
writerfilter
::
Reference
<
Table
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
virtual
void
lcl_substream
(
Id
name
,
::
writerfilter
::
Reference
<
Stream
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
virtual
void
lcl_info
(
const
string
&
info
)
SAL_OVERRIDE
;
virtual
void
lcl_info
(
const
st
d
::
st
ring
&
info
)
SAL_OVERRIDE
;
virtual
void
lcl_startShape
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
xShape
)
SAL_OVERRIDE
;
virtual
void
lcl_endShape
(
)
SAL_OVERRIDE
;
...
...
writerfilter/source/dmapper/GraphicHelpers.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -73,10 +73,10 @@ typedef boost::shared_ptr<WrapHandler> WrapHandlerPtr;
class
GraphicZOrderHelper
{
public
:
void
addItem
(
uno
::
Reference
<
beans
::
XPropertySet
>
props
,
sal_Int32
relativeHeight
);
void
addItem
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
props
,
sal_Int32
relativeHeight
);
sal_Int32
findZOrder
(
sal_Int32
relativeHeight
,
bool
bOldStyle
=
false
);
private
:
typedef
std
::
map
<
sal_Int32
,
uno
::
Reference
<
beans
::
XPropertySet
>
>
Items
;
typedef
std
::
map
<
sal_Int32
,
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
>
Items
;
Items
items
;
};
...
...
writerfilter/source/dmapper/GraphicImport.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -116,7 +116,7 @@ public:
virtual
void
lcl_table
(
Id
name
,
writerfilter
::
Reference
<
Table
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
virtual
void
lcl_substream
(
Id
name
,
writerfilter
::
Reference
<
Stream
>::
Pointer_t
ref
)
SAL_OVERRIDE
;
virtual
void
lcl_info
(
const
string
&
info
)
SAL_OVERRIDE
;
virtual
void
lcl_info
(
const
st
d
::
st
ring
&
info
)
SAL_OVERRIDE
;
virtual
void
lcl_startShape
(
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
)
SAL_OVERRIDE
;
virtual
void
lcl_endShape
()
SAL_OVERRIDE
;
...
...
writerfilter/source/dmapper/LatentStyleHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -23,7 +23,7 @@ namespace dmapper
class
LatentStyleHandler
:
public
LoggedProperties
{
std
::
vector
<
beans
::
PropertyValue
>
m_aAttributes
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
m_aAttributes
;
// Properties
virtual
void
lcl_attribute
(
Id
Name
,
Value
&
val
)
SAL_OVERRIDE
;
...
...
writerfilter/source/dmapper/MeasureHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -38,7 +38,7 @@ class MeasureHandler : public LoggedProperties
sal_Int16
m_nRowHeightSizeType
;
//table row height type
OUString
m_aInteropGrabBagName
;
std
::
vector
<
beans
::
PropertyValue
>
m_aInteropGrabBag
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
// Properties
virtual
void
lcl_attribute
(
Id
Name
,
Value
&
val
)
SAL_OVERRIDE
;
...
...
@@ -55,7 +55,7 @@ public:
sal_Int16
GetRowHeightSizeType
()
const
{
return
m_nRowHeightSizeType
;}
void
enableInteropGrabBag
(
const
OUString
&
aName
);
beans
::
PropertyValue
getInteropGrabBag
();
css
::
beans
::
PropertyValue
getInteropGrabBag
();
};
typedef
boost
::
shared_ptr
<
MeasureHandler
>
MeasureHandlerPtr
;
...
...
writerfilter/source/dmapper/NumberingManager.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -181,7 +181,7 @@ private:
AbstractListDef
::
Pointer
m_pAbstractDef
;
// Cache for the UNO numbering rules
uno
::
Reference
<
container
::
XIndexReplace
>
m_xNumRules
;
css
::
uno
::
Reference
<
css
::
container
::
XIndexReplace
>
m_xNumRules
;
public
:
typedef
boost
::
shared_ptr
<
ListDef
>
Pointer
;
...
...
writerfilter/source/dmapper/PageBordersHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -52,7 +52,7 @@ private:
// See implementation of SectionPropertyMap::ApplyBorderToPageStyles
sal_Int32
m_nDisplay
;
sal_Int32
m_nOffset
;
vector
<
_PgBorder
>
m_aBorders
;
std
::
vector
<
_PgBorder
>
m_aBorders
;
// Properties
virtual
void
lcl_attribute
(
Id
eName
,
Value
&
rVal
)
SAL_OVERRIDE
;
...
...
writerfilter/source/dmapper/PropertyMap.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -73,18 +73,18 @@ enum GrabBagType
class
PropValue
{
uno
::
Any
m_aValue
;
css
::
uno
::
Any
m_aValue
;
GrabBagType
m_rGrabBagType
;
public
:
PropValue
(
const
uno
::
Any
&
rValue
,
GrabBagType
rGrabBagType
=
NO_GRAB_BAG
)
:
PropValue
(
const
css
::
uno
::
Any
&
rValue
,
GrabBagType
rGrabBagType
=
NO_GRAB_BAG
)
:
m_aValue
(
rValue
),
m_rGrabBagType
(
rGrabBagType
)
{}
PropValue
()
:
m_aValue
(),
m_rGrabBagType
(
NO_GRAB_BAG
)
{}
PropValue
&
operator
=
(
const
PropValue
&
rProp
)
{
m_aValue
=
rProp
.
m_aValue
;
m_rGrabBagType
=
rProp
.
m_rGrabBagType
;
return
*
this
;
}
const
uno
::
Any
&
getValue
()
const
{
return
m_aValue
;
}
const
css
::
uno
::
Any
&
getValue
()
const
{
return
m_aValue
;
}
bool
hasGrabBag
()
const
{
return
m_rGrabBagType
!=
NO_GRAB_BAG
;
}
GrabBagType
getGrabBagType
()
const
{
return
m_rGrabBagType
;
}
};
...
...
writerfilter/source/dmapper/PropertyMapHelper.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -27,15 +27,15 @@ namespace dmapper
{
void
lcl_DumpTableColumnSeparators
(
const
TagLogger
::
Pointer_t
pLogger
,
const
uno
::
Any
&
rTableColumnSeparators
);
const
css
::
uno
::
Any
&
rTableColumnSeparators
);
void
lcl_DumpPropertyValues
(
const
TagLogger
::
Pointer_t
pLogger
,
beans
::
PropertyValues
&
rValues
);
css
::
beans
::
PropertyValues
&
rValues
);
typedef
uno
::
Sequence
<
beans
::
PropertyValues
>
PropertyValueSeq_t
;
typedef
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValues
>
PropertyValueSeq_t
;
void
lcl_DumpPropertyValueSeq
(
const
TagLogger
::
Pointer_t
pLogger
,
PropertyValueSeq_t
&
rPropValSeq
);
typedef
uno
::
Sequence
<
PropertyValueSeq_t
>
PropertyValueSeqSeq_t
;
typedef
css
::
uno
::
Sequence
<
PropertyValueSeq_t
>
PropertyValueSeqSeq_t
;
void
lcl_DumpPropertyValueSeqSeq
(
const
TagLogger
::
Pointer_t
pLogger
,
PropertyValueSeqSeq_t
&
rPropValSeqSeq
);
}
...
...
writerfilter/source/dmapper/SettingsTable.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -27,6 +27,8 @@
#include "dmapperLoggers.hxx"
using
namespace
com
::
sun
::
star
;
namespace
writerfilter
{
using
resourcemodel
::
resolveSprmProps
;
...
...
writerfilter/source/dmapper/SettingsTable.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -74,11 +74,11 @@ class SettingsTable : public LoggedProperties, public LoggedTable
bool
GetSplitPgBreakAndParaMark
()
const
;
bool
GetMirrorMarginSettings
()
const
;
uno
::
Sequence
<
beans
::
PropertyValue
>
GetThemeFontLangProperties
()
const
;
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
GetThemeFontLangProperties
()
const
;
uno
::
Sequence
<
beans
::
PropertyValue
>
GetCompatSettings
()
const
;
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
GetCompatSettings
()
const
;
void
ApplyProperties
(
uno
::
Reference
<
text
::
XTextDocument
>
xDoc
);
void
ApplyProperties
(
css
::
uno
::
Reference
<
css
::
text
::
XTextDocument
>
xDoc
);
private
:
// Properties
...
...
writerfilter/source/dmapper/TDefTableHandler.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -62,7 +62,7 @@ private:
bool
m_bOOXML
;
OUString
m_aInteropGrabBagName
;
std
::
vector
<
beans
::
PropertyValue
>
m_aInteropGrabBag
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
void
appendGrabBag
(
const
OUString
&
aKey
,
const
OUString
&
aValue
);
void
localResolve
(
Id
Name
,
writerfilter
::
Reference
<
Properties
>::
Pointer_t
pProperties
);
...
...
@@ -80,7 +80,7 @@ public:
::
boost
::
shared_ptr
<
PropertyMap
>
getRowProperties
()
const
;
sal_Int32
getTableWidth
()
const
;
void
enableInteropGrabBag
(
const
OUString
&
aName
);
beans
::
PropertyValue
getInteropGrabBag
(
const
OUString
&
aName
=
OUString
());
css
::
beans
::
PropertyValue
getInteropGrabBag
(
const
OUString
&
aName
=
OUString
());
static
OUString
getBorderTypeString
(
sal_Int32
nType
);
static
OUString
getThemeColorTypeString
(
sal_Int32
nType
);
};
...
...
writerfilter/source/dmapper/TextEffectsHandler.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -25,8 +25,7 @@ namespace dmapper
using
namespace
std
;
using
namespace
oox
;
using
namespace
css
::
uno
;
using
namespace
css
::
beans
;
using
namespace
com
::
sun
::
star
;
namespace
{
...
...
@@ -576,7 +575,7 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
case
NS_ooxml
:
:
LN_CT_Shadow_algn
:
case
NS_ooxml
:
:
LN_CT_Reflection_algn
:
{
uno
::
Any
aAny
=
makeAny
(
getRectAlignmentString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getRectAlignmentString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"algn"
,
aAny
);
}
break
;
...
...
@@ -585,19 +584,19 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
break
;
case
NS_ooxml
:
:
LN_CT_TextOutlineEffect_cap
:
{
uno
::
Any
aAny
=
makeAny
(
getLineCapString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getLineCapString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"cap"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_TextOutlineEffect_cmpd
:
{
uno
::
Any
aAny
=
makeAny
(
getCompoundLineString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getCompoundLineString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"cmpd"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_TextOutlineEffect_algn
:
{
uno
::
Any
aAny
=
makeAny
(
getPenAlignmentString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getPenAlignmentString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"algn"
,
aAny
);
}
break
;
...
...
@@ -609,13 +608,13 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
break
;
case
NS_ooxml
:
:
LN_CT_LinearShadeProperties_scaled
:
{
uno
::
Any
aAny
=
makeAny
(
getOnOffString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getOnOffString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"scaled"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_PathShadeProperties_path
:
{
uno
::
Any
aAny
=
makeAny
(
getPathShadeTypeString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getPathShadeTypeString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"path"
,
aAny
);
}
break
;
...
...
@@ -633,7 +632,7 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
break
;
case
NS_ooxml
:
:
LN_CT_PresetLineDashProperties_val
:
{
uno
::
Any
aAny
=
makeAny
(
getPresetLineDashValString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getPresetLineDashValString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"val"
,
aAny
);
}
break
;
...
...
@@ -642,19 +641,19 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
break
;
case
NS_ooxml
:
:
LN_CT_Camera_prst
:
{
uno
::
Any
aAny
=
makeAny
(
getPresetCameraTypeString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getPresetCameraTypeString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"prst"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_LightRig_rig
:
{
uno
::
Any
aAny
=
makeAny
(
getLightRigTypeString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getLightRigTypeString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"rig"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_LightRig_dir
:
{
uno
::
Any
aAny
=
makeAny
(
getLightRigDirectionString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getLightRigDirectionString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"dir"
,
aAny
);
}
break
;
...
...
@@ -675,7 +674,7 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
break
;
case
NS_ooxml
:
:
LN_CT_Props3D_prstMaterial
:
{
uno
::
Any
aAny
=
makeAny
(
getPresetMaterialTypeString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getPresetMaterialTypeString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"prstMaterial"
,
aAny
);
}
break
;
...
...
@@ -687,25 +686,25 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
break
;
case
NS_ooxml
:
:
LN_CT_Bevel_prst
:
{
uno
::
Any
aAny
=
makeAny
(
getBevelPresetTypeString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getBevelPresetTypeString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"prst"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_Ligatures_val
:
{
uno
::
Any
aAny
=
makeAny
(
getLigaturesString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getLigaturesString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"val"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_NumForm_val
:
{
uno
::
Any
aAny
=
makeAny
(
getNumFormString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getNumFormString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"val"
,
aAny
);
}
break
;
case
NS_ooxml
:
:
LN_CT_NumSpacing_val
:
{
uno
::
Any
aAny
=
makeAny
(
getNumSpacingString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getNumSpacingString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"val"
,
aAny
);
}
break
;
...
...
@@ -715,7 +714,7 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
case
NS_ooxml
:
:
LN_CT_StyleSet_val
:
case
NS_ooxml
:
:
LN_CT_OnOff_val
:
{
uno
::
Any
aAny
=
makeAny
(
getOnOffString
(
sal_Int32
(
aValue
.
getInt
())));
uno
::
Any
aAny
=
uno
::
makeAny
(
getOnOffString
(
sal_Int32
(
aValue
.
getInt
())));
mpGrabBagStack
->
appendElement
(
"val"
,
aAny
);
}
break
;
...
...
writerfilter/source/dmapper/ThemeTable.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -25,6 +25,8 @@
#include <resourcemodel/QNameToString.hxx>
#endif
using
namespace
com
::
sun
::
star
;
namespace
writerfilter
{
namespace
dmapper
{
...
...
writerfilter/source/dmapper/ThemeTable.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -42,7 +42,7 @@ public:
const
OUString
getFontNameForTheme
(
const
Id
id
)
const
;
static
OUString
getStringForTheme
(
const
Id
id
);
void
setThemeFontLangProperties
(
const
uno
::
Sequence
<
beans
::
PropertyValue
>&
aPropSeq
);
void
setThemeFontLangProperties
(
const
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>&
aPropSeq
);
private
:
// Properties
...
...
writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -70,7 +70,7 @@ void OOXMLBinaryObjectReference::resolve(BinaryObj & rHandler)
mSequence
.
getLength
(),
pRef
);
}
string
OOXMLBinaryObjectReference
::
getType
()
const
st
d
::
st
ring
OOXMLBinaryObjectReference
::
getType
()
const
{
return
"OOXMLBinaryObjectReference"
;
}
...
...
writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -40,7 +40,7 @@ public:
virtual
void
resolve
(
BinaryObj
&
rHandler
)
SAL_OVERRIDE
;
virtual
string
getType
()
const
SAL_OVERRIDE
;
virtual
st
d
::
st
ring
getType
()
const
SAL_OVERRIDE
;
};
}}
...
...
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -97,7 +97,7 @@ public:
virtual
void
resolve
(
Stream
&
rStream
)
SAL_OVERRIDE
;
virtual
string
getType
()
const
SAL_OVERRIDE
;
virtual
st
d
::
st
ring
getType
()
const
SAL_OVERRIDE
;
virtual
void
resolveFootnote
(
Stream
&
rStream
,
const
Id
&
rType
,
...
...
writerfilter/source/ooxml/OOXMLPropertySet.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -37,8 +37,8 @@ public:
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
=
0
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
=
0
;
virtual
string
getName
()
const
SAL_OVERRIDE
=
0
;
virtual
string
toString
()
const
SAL_OVERRIDE
=
0
;
virtual
st
d
::
st
ring
getName
()
const
SAL_OVERRIDE
=
0
;
virtual
st
d
::
st
ring
toString
()
const
SAL_OVERRIDE
=
0
;
virtual
void
resolve
(
Properties
&
rProperties
)
=
0
;
virtual
Sprm
*
clone
()
=
0
;
...
...
@@ -52,13 +52,13 @@ public:
virtual
~
OOXMLPropertySet
();
virtual
void
resolve
(
Properties
&
rHandler
)
SAL_OVERRIDE
=
0
;
virtual
string
getType
()
const
SAL_OVERRIDE
=
0
;
virtual
st
d
::
st
ring
getType
()
const
SAL_OVERRIDE
=
0
;
virtual
void
add
(
OOXMLProperty
::
Pointer_t
pProperty
)
=
0
;
virtual
void
add
(
OOXMLPropertySet
::
Pointer_t
pPropertySet
)
=
0
;
virtual
OOXMLPropertySet
*
clone
()
const
=
0
;
virtual
void
setType
(
const
string
&
rsType
)
=
0
;
virtual
void
setType
(
const
st
d
::
st
ring
&
rsType
)
=
0
;
virtual
string
toString
()
=
0
;
virtual
st
d
::
st
ring
toString
()
=
0
;
};
class
OOXMLTable
:
public
writerfilter
::
Reference
<
Table
>
...
...
writerfilter/source/resourcemodel/LoggedResources.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -27,7 +27,7 @@ namespace writerfilter
#ifdef DEBUG_LOGGING
// class: LoggedResourcesHelper
LoggedResourcesHelper
::
LoggedResourcesHelper
(
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
)
LoggedResourcesHelper
::
LoggedResourcesHelper
(
TagLogger
::
Pointer_t
pLogger
,
const
st
d
::
st
ring
&
sPrefix
)
:
mpLogger
(
pLogger
),
msPrefix
(
sPrefix
)
{
}
...
...
@@ -36,12 +36,12 @@ LoggedResourcesHelper::~LoggedResourcesHelper()
{
}
void
LoggedResourcesHelper
::
startElement
(
const
string
&
sElement
)
void
LoggedResourcesHelper
::
startElement
(
const
st
d
::
st
ring
&
sElement
)
{
mpLogger
->
startElement
(
msPrefix
+
"."
+
sElement
);
}
void
LoggedResourcesHelper
::
endElement
(
const
string
&
/*sElement*/
)
void
LoggedResourcesHelper
::
endElement
(
const
st
d
::
st
ring
&
/*sElement*/
)
{
mpLogger
->
endElement
();
}
...
...
@@ -51,17 +51,17 @@ void LoggedResourcesHelper::chars(const OUString & rChars)
mpLogger
->
chars
(
rChars
);
}
void
LoggedResourcesHelper
::
chars
(
const
string
&
rChars
)
void
LoggedResourcesHelper
::
chars
(
const
st
d
::
st
ring
&
rChars
)
{
mpLogger
->
chars
(
rChars
);
}
void
LoggedResourcesHelper
::
attribute
(
const
st
ring
&
rName
,
const
string
&
rValue
)
void
LoggedResourcesHelper
::
attribute
(
const
st
d
::
string
&
rName
,
const
std
::
string
&
rValue
)
{
mpLogger
->
attribute
(
rName
,
rValue
);
}
void
LoggedResourcesHelper
::
attribute
(
const
string
&
rName
,
sal_uInt32
nValue
)
void
LoggedResourcesHelper
::
attribute
(
const
st
d
::
st
ring
&
rName
,
sal_uInt32
nValue
)
{
mpLogger
->
attribute
(
rName
,
nValue
);
}
...
...
@@ -73,11 +73,11 @@ void LoggedResourcesHelper::attribute(const string & rName, sal_uInt32 nValue)
LoggedStream
::
LoggedStream
(
#ifdef DEBUG_LOGGING
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
const
st
d
::
st
ring
&
sPrefix
)
:
mHelper
(
pLogger
,
sPrefix
)
#else
TagLogger
::
Pointer_t
,
const
string
&
const
st
d
::
st
ring
&
)
#endif
{
...
...
@@ -257,7 +257,7 @@ void LoggedStream::substream(Id name, writerfilter::Reference<Stream>::Pointer_t
#endif
}
void
LoggedStream
::
info
(
const
string
&
_info
)
void
LoggedStream
::
info
(
const
st
d
::
st
ring
&
_info
)
{
#ifdef DEBUG_LOGGING
mHelper
.
startElement
(
"info"
);
...
...
@@ -275,11 +275,11 @@ void LoggedStream::info(const string & _info)
LoggedProperties
::
LoggedProperties
(
#ifdef DEBUG_LOGGING
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
const
st
d
::
st
ring
&
sPrefix
)
:
mHelper
(
pLogger
,
sPrefix
)
#else
TagLogger
::
Pointer_t
,
const
string
&
const
st
d
::
st
ring
&
)
#endif
{
...
...
@@ -319,11 +319,11 @@ void LoggedProperties::sprm(Sprm & rSprm)
LoggedTable
::
LoggedTable
(
#ifdef DEBUG_LOGGING
TagLogger
::
Pointer_t
pLogger
,
const
string
&
sPrefix
const
st
d
::
st
ring
&
sPrefix
)
:
mHelper
(
pLogger
,
sPrefix
)
#else
TagLogger
::
Pointer_t
,
const
string
&
const
st
d
::
st
ring
&
)
#endif
{
...
...
writerfilter/source/resourcemodel/qnametostrcore.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -33,14 +33,14 @@ QNameToString::Pointer_t QNameToString::Instance()
}
#ifdef DEBUG_LOGGING
string
QNameToString
::
operator
()(
Id
qName
)
st
d
::
st
ring
QNameToString
::
operator
()(
Id
qName
)
{
Map
::
const_iterator
aIt
=
mMap
.
find
(
qName
);
if
(
aIt
!=
mMap
.
end
())
return
aIt
->
second
;
return
string
();
return
st
d
::
st
ring
();
}
#endif
...
...
writerfilter/source/rtftok/rtfdocumentfactory.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -14,11 +14,11 @@ namespace writerfilter
namespace
rtftok
{
RTFDocument
::
Pointer_t
RTFDocumentFactory
::
createDocument
(
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
xContext
,
uno
::
Reference
<
io
::
XInputStream
>
const
&
xInputStream
,
uno
::
Reference
<
lang
::
XComponent
>
const
&
xDstDoc
,
uno
::
Reference
<
frame
::
XFrame
>
const
&
xFrame
,
uno
::
Reference
<
task
::
XStatusIndicator
>
const
&
xStatusIndicator
)
RTFDocument
::
Pointer_t
RTFDocumentFactory
::
createDocument
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
xContext
,
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
const
&
xInputStream
,
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
const
&
xDstDoc
,
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
const
&
xFrame
,
css
::
uno
::
Reference
<
css
::
task
::
XStatusIndicator
>
const
&
xStatusIndicator
)
{
return
RTFDocument
::
Pointer_t
(
new
RTFDocumentImpl
(
xContext
,
xInputStream
,
xDstDoc
,
xFrame
,
xStatusIndicator
));
}
...
...
writerfilter/source/rtftok/rtfdocumentimpl.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -143,9 +143,9 @@ class RTFDrawingObject : public RTFShape
{
public
:
RTFDrawingObject
();
uno
::
Reference
<
drawing
::
XShape
>
xShape
;
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
;
std
::
vector
<
beans
::
PropertyValue
>
aPendingProperties
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
;
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropertySet
;
std
::
vector
<
css
::
beans
::
PropertyValue
>
aPendingProperties
;
sal_uInt8
nLineColorR
,
nLineColorG
,
nLineColorB
;
bool
bHasLineColor
;
sal_uInt8
nFillColorR
,
nFillColorG
,
nFillColorB
;
...
...
@@ -153,7 +153,7 @@ public:
sal_Int32
nDhgt
;
sal_Int32
nFLine
;
sal_Int32
nPolyLineCount
;
uno
::
Sequence
<
awt
::
Point
>
aPolyLinePoints
;
css
::
uno
::
Sequence
<
css
::
awt
::
Point
>
aPolyLinePoints
;
bool
bHadShapeText
;
};
...
...
@@ -313,11 +313,11 @@ class RTFDocumentImpl
{
public
:
typedef
::
boost
::
shared_ptr
<
RTFDocumentImpl
>
Pointer_t
;
RTFDocumentImpl
(
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
xContext
,
uno
::
Reference
<
io
::
XInputStream
>
const
&
xInputStream
,
uno
::
Reference
<
lang
::
XComponent
>
const
&
xDstDoc
,
uno
::
Reference
<
frame
::
XFrame
>
const
&
xFrame
,
uno
::
Reference
<
task
::
XStatusIndicator
>
const
&
xStatusIndicator
);
RTFDocumentImpl
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
xContext
,
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
const
&
xInputStream
,
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
const
&
xDstDoc
,
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
const
&
xFrame
,
css
::
uno
::
Reference
<
css
::
task
::
XStatusIndicator
>
const
&
xStatusIndicator
);
virtual
~
RTFDocumentImpl
();
// RTFDocument
...
...
@@ -350,7 +350,7 @@ public:
void
setAuthorInitials
(
OUString
&
rAuthorInitials
);
void
setIgnoreFirst
(
OUString
&
rIgnoreFirst
);
void
seek
(
sal_Size
nPos
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
getModelFactory
();
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
getModelFactory
();
bool
isInBackground
();
void
setDestinationText
(
OUString
&
rString
);
/// Resolve a picture: If not inline, then anchored.
...
...
@@ -421,13 +421,13 @@ private:
void
backupTableRowProperties
();
void
restoreTableRowProperties
();
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
m_xContext
;
uno
::
Reference
<
io
::
XInputStream
>
const
&
m_xInputStream
;
uno
::
Reference
<
lang
::
XComponent
>
const
&
m_xDstDoc
;
uno
::
Reference
<
frame
::
XFrame
>
const
&
m_xFrame
;
uno
::
Reference
<
task
::
XStatusIndicator
>
const
&
m_xStatusIndicator
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
m_xModelFactory
;
uno
::
Reference
<
document
::
XDocumentProperties
>
m_xDocumentProperties
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
m_xContext
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
const
&
m_xInputStream
;
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
const
&
m_xDstDoc
;
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
const
&
m_xFrame
;
css
::
uno
::
Reference
<
css
::
task
::
XStatusIndicator
>
const
&
m_xStatusIndicator
;
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
m_xModelFactory
;
css
::
uno
::
Reference
<
css
::
document
::
XDocumentProperties
>
m_xDocumentProperties
;
boost
::
shared_ptr
<
SvStream
>
m_pInStream
;
Stream
*
m_pMapperStream
;
boost
::
shared_ptr
<
RTFSdrImport
>
m_pSdrImport
;
...
...
writerfilter/source/rtftok/rtfsdrimport.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -40,6 +40,8 @@
#include <oox/drawingml/shapepropertymap.hxx>
#include <oox/helper/propertyset.hxx>
using
namespace
com
::
sun
::
star
;
namespace
writerfilter
{
namespace
rtftok
...
...
writerfilter/source/rtftok/rtfsdrimport.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -22,7 +22,7 @@ namespace rtftok
class
RTFSdrImport
{
public
:
RTFSdrImport
(
RTFDocumentImpl
&
rImport
,
uno
::
Reference
<
lang
::
XComponent
>
const
&
xDstDoc
);
RTFSdrImport
(
RTFDocumentImpl
&
rImport
,
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
const
&
xDstDoc
);
virtual
~
RTFSdrImport
();
void
resolve
(
RTFShape
&
rShape
,
bool
bClose
);
...
...
@@ -30,25 +30,25 @@ public:
void
append
(
const
OUString
&
aKey
,
const
OUString
&
aValue
);
/// Append property on the current parent.
void
appendGroupProperty
(
const
OUString
&
aKey
,
const
OUString
&
aValue
);
void
resolveDhgt
(
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
,
sal_Int32
nZOrder
,
bool
bOldStyle
);
void
resolveFLine
(
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
,
sal_Int32
nFLine
);
void
resolveDhgt
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropertySet
,
sal_Int32
nZOrder
,
bool
bOldStyle
);
void
resolveFLine
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropertySet
,
sal_Int32
nFLine
);
/**
* These are the default in Word, but not in Writer.
*
* @param bNew if the frame is new-style or old-style.
*/
std
::
vector
<
beans
::
PropertyValue
>
getTextFrameDefaults
(
bool
bNew
);
std
::
vector
<
css
::
beans
::
PropertyValue
>
getTextFrameDefaults
(
bool
bNew
);
/// Push a new group shape to the parent stack.
void
pushParent
(
uno
::
Reference
<
drawing
::
XShapes
>
xParent
);
void
pushParent
(
css
::
uno
::
Reference
<
css
::
drawing
::
XShapes
>
xParent
);
/// Pop the current group shape from the parent stack.
void
popParent
();
private
:
void
createShape
(
const
OUString
&
aService
,
uno
::
Reference
<
drawing
::
XShape
>&
xShape
,
uno
::
Reference
<
beans
::
XPropertySet
>&
xPropertySet
);
void
applyProperty
(
uno
::
Reference
<
drawing
::
XShape
>
xShape
,
const
OUString
&
aKey
,
const
OUString
&
aValue
);
void
createShape
(
const
OUString
&
aService
,
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>&
xShape
,
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>&
xPropertySet
);
void
applyProperty
(
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
xShape
,
const
OUString
&
aKey
,
const
OUString
&
aValue
);
RTFDocumentImpl
&
m_rImport
;
std
::
stack
<
uno
::
Reference
<
drawing
::
XShapes
>
>
m_aParents
;
uno
::
Reference
<
drawing
::
XShape
>
m_xShape
;
std
::
stack
<
css
::
uno
::
Reference
<
css
::
drawing
::
XShapes
>
>
m_aParents
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
m_xShape
;
/// If m_xShape is imported as a Writer text frame (instead of a drawinglayer rectangle).
bool
m_bTextFrame
;
};
...
...
writerfilter/source/rtftok/rtfvalue.cxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -10,6 +10,8 @@
#include <rtfreferenceproperties.hxx>
#include <rtfdocumentimpl.hxx>
using
namespace
com
::
sun
::
star
;
namespace
writerfilter
{
namespace
rtftok
...
...
writerfilter/source/rtftok/rtfvalue.hxx
Dosyayı görüntüle @
1f6017f7
...
...
@@ -26,23 +26,23 @@ class RTFValue
{
public
:
typedef
boost
::
shared_ptr
<
RTFValue
>
Pointer_t
;
RTFValue
(
int
nValue
,
const
OUString
&
sValue
,
RTFSprms
rAttributes
,
RTFSprms
rSprms
,
uno
::
Reference
<
drawing
::
XShape
>
rShape
,
uno
::
Reference
<
io
::
XInputStream
>
rStream
,
uno
::
Reference
<
embed
::
XEmbeddedObject
>
rObject
,
bool
bForceString
,
RTFValue
(
int
nValue
,
const
OUString
&
sValue
,
RTFSprms
rAttributes
,
RTFSprms
rSprms
,
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
rShape
,
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
rStream
,
css
::
uno
::
Reference
<
css
::
embed
::
XEmbeddedObject
>
rObject
,
bool
bForceString
,
RTFShape
aShape
);
RTFValue
();
RTFValue
(
int
nValue
);
RTFValue
(
const
OUString
&
sValue
,
bool
bForce
=
false
);
RTFValue
(
RTFSprms
rAttributes
);
RTFValue
(
RTFSprms
rAttributes
,
RTFSprms
rSprms
);
RTFValue
(
uno
::
Reference
<
drawing
::
XShape
>
rShape
);
RTFValue
(
uno
::
Reference
<
io
::
XInputStream
>
rStream
);
RTFValue
(
uno
::
Reference
<
embed
::
XEmbeddedObject
>
rObject
);
RTFValue
(
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
rShape
);
RTFValue
(
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
rStream
);
RTFValue
(
css
::
uno
::
Reference
<
css
::
embed
::
XEmbeddedObject
>
rObject
);
RTFValue
(
RTFShape
aShape
);
virtual
~
RTFValue
();
void
setString
(
const
OUString
&
sValue
);
virtual
int
getInt
()
const
SAL_OVERRIDE
;
virtual
OUString
getString
()
const
SAL_OVERRIDE
;
virtual
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
css
::
uno
::
Any
getAny
()
const
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProperties
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
...
...
@@ -58,9 +58,9 @@ private:
OUString
m_sValue
;
boost
::
shared_ptr
<
RTFSprms
>
m_pAttributes
;
boost
::
shared_ptr
<
RTFSprms
>
m_pSprms
;
uno
::
Reference
<
drawing
::
XShape
>
m_xShape
;
uno
::
Reference
<
io
::
XInputStream
>
m_xStream
;
uno
::
Reference
<
embed
::
XEmbeddedObject
>
m_xObject
;
css
::
uno
::
Reference
<
css
::
drawing
::
XShape
>
m_xShape
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
m_xStream
;
css
::
uno
::
Reference
<
css
::
embed
::
XEmbeddedObject
>
m_xObject
;
bool
m_bForceString
;
boost
::
shared_ptr
<
RTFShape
>
m_pShape
;
};
...
...
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