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
2b6338f3
Kaydet (Commit)
2b6338f3
authored
Eki 09, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sd: add SdPage::dumpAsXml()
Change-Id: Ifef668530d660b0b6330f1e60ed558501a74611e
üst
2e1503db
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
svdpage.hxx
include/svx/svdpage.hxx
+1
-1
sdpage.hxx
sd/inc/sdpage.hxx
+1
-0
sdpage2.cxx
sd/source/core/sdpage2.cxx
+26
-0
No files found.
include/svx/svdpage.hxx
Dosyayı görüntüle @
2b6338f3
...
...
@@ -241,7 +241,7 @@ public:
void
SetNavigationOrder
(
const
css
::
uno
::
Reference
<
css
::
container
::
XIndexAccess
>&
rxOrder
);
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
v
irtual
v
oid
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
private
:
class
WeakSdrObjectContainerType
;
...
...
sd/inc/sdpage.hxx
Dosyayı görüntüle @
2b6338f3
...
...
@@ -374,6 +374,7 @@ public:
const
sd
::
AnnotationVector
&
getAnnotations
()
const
{
return
maAnnotations
;
}
sal_Int32
getHash
()
const
;
OString
stringify
()
const
;
virtual
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
SAL_OVERRIDE
;
private
:
bool
mbIsPrecious
;
...
...
sd/source/core/sdpage2.cxx
Dosyayı görüntüle @
2b6338f3
...
...
@@ -19,6 +19,7 @@
#include <vector>
#include <boost/ptr_container/ptr_vector.hpp>
#include <libxml/xmlwriter.h>
#include <sfx2/docfile.hxx>
#include <vcl/svapp.hxx>
...
...
@@ -634,4 +635,29 @@ void SdPage::removeAnnotation( const Reference< XAnnotation >& xAnnotation )
}
}
void
SdPage
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"sdPage"
));
const
char
*
pPageKind
=
0
;
switch
(
mePageKind
)
{
case
PK_STANDARD
:
pPageKind
=
"PK_STANDARD"
;
break
;
case
PK_NOTES
:
pPageKind
=
"PK_NOTES"
;
break
;
case
PK_HANDOUT
:
pPageKind
=
"PK_HANDOUT"
;
break
;
}
if
(
pPageKind
)
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"mePageKind"
),
BAD_CAST
(
pPageKind
));
FmFormPage
::
dumpAsXml
(
pWriter
);
xmlTextWriterEndElement
(
pWriter
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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