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
884a5ca1
Kaydet (Commit)
884a5ca1
authored
Nis 28, 2012
tarafından
Chr. Rossmanith
Kaydeden (comit)
Fridrich Štrba
Nis 29, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
enable rendering of text without any attributes
üst
0bd553e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
svgreader.cxx
filter/source/svg/svgreader.cxx
+18
-2
No files found.
filter/source/svg/svgreader.cxx
Dosyayı görüntüle @
884a5ca1
...
@@ -157,8 +157,24 @@ struct AnnotatingVisitor
...
@@ -157,8 +157,24 @@ struct AnnotatingVisitor
maParentStates
.
push_back
(
rInitialState
);
maParentStates
.
push_back
(
rInitialState
);
}
}
void
operator
()(
const
uno
::
Reference
<
xml
::
dom
::
XElement
>&
)
void
operator
()(
const
uno
::
Reference
<
xml
::
dom
::
XElement
>&
xElem
)
{}
{
const
sal_Int32
nTagId
(
getTokenId
(
xElem
->
getTagName
()));
if
(
nTagId
!=
XML_TEXT
)
return
;
maCurrState
=
maParentStates
.
back
();
maCurrState
.
maTransform
.
identity
();
maCurrState
.
maViewBox
.
reset
();
// set default font size here to ensure writing styles for text
if
(
!
mbSeenText
&&
XML_TEXT
==
nTagId
)
{
maCurrState
.
mnFontSize
=
12.0
;
mbSeenText
=
true
;
}
// if necessary, serialize to automatic-style section
writeStyle
(
xElem
,
nTagId
);
}
void
operator
()(
const
uno
::
Reference
<
xml
::
dom
::
XElement
>&
xElem
,
void
operator
()(
const
uno
::
Reference
<
xml
::
dom
::
XElement
>&
xElem
,
const
uno
::
Reference
<
xml
::
dom
::
XNamedNodeMap
>&
xAttributes
)
const
uno
::
Reference
<
xml
::
dom
::
XNamedNodeMap
>&
xAttributes
)
...
...
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