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
6f8ffc4e
Kaydet (Commit)
6f8ffc4e
authored
Nis 01, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw doc model xml dump: handle SvxFontHeightItem
Change-Id: I27a9681fdf86a8814be48ba9875202705aa2b014
üst
2a163c78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+8
-0
No files found.
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
6f8ffc4e
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include <editeng/charrotateitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/rsiditem.hxx>
#include <editeng/rsiditem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <tools/datetimeutils.hxx>
#include <tools/datetimeutils.hxx>
#include <libxml/encoding.h>
#include <libxml/encoding.h>
...
@@ -319,6 +320,13 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
...
@@ -319,6 +320,13 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case
RES_CHRATR_FONT
:
pWhich
=
"character font"
;
oValue
=
OUStringToOString
(
static_cast
<
const
SvxFontItem
*>
(
pItem
)
->
GetFamilyName
(),
RTL_TEXTENCODING_UTF8
);
break
;
case
RES_CHRATR_FONT
:
pWhich
=
"character font"
;
oValue
=
OUStringToOString
(
static_cast
<
const
SvxFontItem
*>
(
pItem
)
->
GetFamilyName
(),
RTL_TEXTENCODING_UTF8
);
break
;
case
RES_CHRATR_BACKGROUND
:
pWhich
=
"character background"
;
break
;
case
RES_CHRATR_BACKGROUND
:
pWhich
=
"character background"
;
break
;
case
RES_CHRATR_CTL_FONT
:
pWhich
=
"character ctl font"
;
break
;
case
RES_CHRATR_CTL_FONT
:
pWhich
=
"character ctl font"
;
break
;
case
RES_CHRATR_FONTSIZE
:
{
pWhich
=
"character font size"
;
const
SvxFontHeightItem
*
pFontHeightItem
=
static_cast
<
const
SvxFontHeightItem
*>
(
pItem
);
oValue
=
"nHeight: "
+
OString
::
number
(
pFontHeightItem
->
GetHeight
())
+
", nProp: "
+
OString
::
number
(
pFontHeightItem
->
GetProp
());
}
break
;
}
}
if
(
pWhich
)
if
(
pWhich
)
writer
.
writeFormatAttribute
(
"which"
,
"%s"
,
BAD_CAST
(
pWhich
));
writer
.
writeFormatAttribute
(
"which"
,
"%s"
,
BAD_CAST
(
pWhich
));
...
...
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