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
25120e73
Kaydet (Commit)
25120e73
authored
Kas 27, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:mergeclasses, OOXMLTableImpl into OOXMLTable
Change-Id: I28f6d317ca02cf23341358f9520de273af603bd7
üst
fbad13e4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
34 deletions
+23
-34
mergeclasses.results
compilerplugins/clang/mergeclasses.results
+0
-1
OOXMLFastContextHandler.cxx
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+2
-2
OOXMLFastContextHandler.hxx
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+2
-2
OOXMLPropertySet.hxx
writerfilter/source/ooxml/OOXMLPropertySet.hxx
+12
-2
OOXMLPropertySetImpl.cxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+7
-10
OOXMLPropertySetImpl.hxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
+0
-17
No files found.
compilerplugins/clang/mergeclasses.results
Dosyayı görüntüle @
25120e73
...
...
@@ -397,7 +397,6 @@ merge writerfilter::ooxml::OOXMLFastContextHandlerLinear with writerfilter::ooxm
merge writerfilter::ooxml::OOXMLProperty with writerfilter::ooxml::OOXMLPropertyImpl
merge writerfilter::ooxml::OOXMLPropertySet with writerfilter::ooxml::OOXMLPropertySetImpl
merge writerfilter::ooxml::OOXMLStream with writerfilter::ooxml::OOXMLStreamImpl
merge writerfilter::ooxml::OOXMLTable with writerfilter::ooxml::OOXMLTableImpl
merge writerfilter::rtftok::RTFDocument with writerfilter::rtftok::RTFDocumentImpl
merge ww8::WW8Struct with ww8::WW8Sttb
merge xforms::OXSDDataType with xforms::OValueLimitedType_Base
...
...
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
Dosyayı görüntüle @
25120e73
...
...
@@ -1089,7 +1089,7 @@ void OOXMLFastContextHandlerPropertyTable::lcl_endFastElement
throw
(
uno
::
RuntimeException
,
xml
::
sax
::
SAXException
,
std
::
exception
)
{
OOXMLPropertySet
::
Pointer_t
pPropSet
(
mpPropertySet
->
clone
());
OOXMLTable
Impl
::
ValuePointer_t
pTmpVal
OOXMLTable
::
ValuePointer_t
pTmpVal
(
new
OOXMLPropertySetValue
(
pPropSet
));
mTable
.
add
(
pTmpVal
);
...
...
@@ -1218,7 +1218,7 @@ void OOXMLFastContextHandlerTable::addCurrentChild()
if
(
pValue
.
get
()
!=
nullptr
)
{
OOXMLTable
Impl
::
ValuePointer_t
pTmpVal
(
pValue
->
clone
());
OOXMLTable
::
ValuePointer_t
pTmpVal
(
pValue
->
clone
());
mTable
.
add
(
pTmpVal
);
}
}
...
...
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
Dosyayı görüntüle @
25120e73
...
...
@@ -305,7 +305,7 @@ public:
virtual
~
OOXMLFastContextHandlerPropertyTable
();
protected
:
OOXMLTable
Impl
mTable
;
OOXMLTable
mTable
;
virtual
void
lcl_endFastElement
(
Token_t
Element
)
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
override
;
...
...
@@ -346,7 +346,7 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
css
::
xml
::
sax
::
SAXException
,
std
::
exception
)
override
;
protected
:
OOXMLTable
Impl
mTable
;
OOXMLTable
mTable
;
css
::
uno
::
Reference
<
css
::
xml
::
sax
::
XFastContextHandler
>
mCurrentChild
;
...
...
writerfilter/source/ooxml/OOXMLPropertySet.hxx
Dosyayı görüntüle @
25120e73
...
...
@@ -20,6 +20,7 @@
#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
#include <dmapper/resourcemodel.hxx>
#include <vector>
namespace
writerfilter
{
namespace
ooxml
...
...
@@ -59,14 +60,23 @@ public:
#endif
};
class
OOXMLValue
;
class
OOXMLTable
:
public
writerfilter
::
Reference
<
Table
>
{
public
:
typedef
std
::
shared_ptr
<
OOXMLValue
>
ValuePointer_t
;
OOXMLTable
();
virtual
~
OOXMLTable
();
virtual
void
resolve
(
Table
&
rTable
)
override
=
0
;
virtual
OOXMLTable
*
clone
()
const
=
0
;
void
resolve
(
Table
&
rTable
);
void
add
(
ValuePointer_t
pPropertySet
);
OOXMLTable
*
clone
()
const
;
private
:
typedef
std
::
vector
<
ValuePointer_t
>
PropertySets_t
;
PropertySets_t
mPropertySets
;
};
}}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
Dosyayı görüntüle @
25120e73
...
...
@@ -38,10 +38,6 @@ OOXMLPropertySet::~OOXMLPropertySet()
{
}
OOXMLTable
::~
OOXMLTable
()
{
}
OOXMLPropertyImpl
::
OOXMLPropertyImpl
(
Id
id
,
OOXMLValue
::
Pointer_t
pValue
,
OOXMLPropertyImpl
::
Type_t
eType
)
:
mId
(
id
),
mpValue
(
pValue
),
meType
(
eType
)
...
...
@@ -722,15 +718,16 @@ OOXMLValue * OOXMLStarMathValue::clone() const
class OOXMLTableImpl
*/
OOXMLTable
Impl
::
OOXMLTableImpl
()
OOXMLTable
::
OOXMLTable
()
{
}
OOXMLTable
Impl
::~
OOXMLTableImpl
()
OOXMLTable
::~
OOXMLTable
()
{
}
void
OOXMLTableImpl
::
resolve
(
Table
&
rTable
)
void
OOXMLTable
::
resolve
(
Table
&
rTable
)
{
Table
*
pTable
=
&
rTable
;
...
...
@@ -752,15 +749,15 @@ void OOXMLTableImpl::resolve(Table & rTable)
}
}
void
OOXMLTable
Impl
::
add
(
ValuePointer_t
pPropertySet
)
void
OOXMLTable
::
add
(
ValuePointer_t
pPropertySet
)
{
if
(
pPropertySet
.
get
()
!=
nullptr
)
mPropertySets
.
push_back
(
pPropertySet
);
}
OOXMLTable
*
OOXMLTable
Impl
::
clone
()
const
OOXMLTable
*
OOXMLTable
::
clone
()
const
{
return
new
OOXMLTable
Impl
(
*
this
);
return
new
OOXMLTable
(
*
this
);
}
/*
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
Dosyayı görüntüle @
25120e73
...
...
@@ -271,23 +271,6 @@ public:
virtual
OOXMLValue
*
clone
()
const
override
;
};
class
OOXMLTableImpl
:
public
OOXMLTable
{
public
:
typedef
std
::
shared_ptr
<
OOXMLValue
>
ValuePointer_t
;
private
:
typedef
std
::
vector
<
ValuePointer_t
>
PropertySets_t
;
PropertySets_t
mPropertySets
;
public
:
OOXMLTableImpl
();
virtual
~
OOXMLTableImpl
();
virtual
void
resolve
(
Table
&
rTable
)
override
;
void
add
(
ValuePointer_t
pPropertySet
);
virtual
OOXMLTable
*
clone
()
const
override
;
};
class
OOXMLPropertySetEntryToString
:
public
Properties
{
Id
mnId
;
...
...
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