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
3c058338
Kaydet (Commit)
3c058338
authored
Şub 18, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DOCX drawingML import: handle paragraph top margin
Change-Id: I4a69647af5b068c35bea0a5f9665a5e68eb76293
üst
db850d67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
textparagraphpropertiescontext.cxx
oox/source/drawingml/textparagraphpropertiescontext.cxx
+15
-0
No files found.
oox/source/drawingml/textparagraphpropertiescontext.cxx
Dosyayı görüntüle @
3c058338
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <svx/unopage.hxx>
#include "oox/drawingml/colorchoicecontext.hxx"
#include "oox/drawingml/colorchoicecontext.hxx"
#include "oox/drawingml/textcharacterpropertiescontext.hxx"
#include "oox/drawingml/textcharacterpropertiescontext.hxx"
#include "oox/drawingml/fillproperties.hxx"
#include "oox/drawingml/fillproperties.hxx"
...
@@ -259,6 +261,19 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl
...
@@ -259,6 +261,19 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl
}
}
}
}
break
;
break
;
case
OOX_TOKEN
(
doc
,
spacing
):
{
OptValue
<
OUString
>
oBefore
=
rAttribs
.
getString
(
OOX_TOKEN
(
doc
,
before
));
if
(
oBefore
.
has
())
{
TextSpacing
&
rSpacing
=
mrTextParagraphProperties
.
getParaTopMargin
();
rSpacing
.
nValue
=
TWIPS_TO_MM
(
oBefore
.
get
().
toInt32
());
rSpacing
.
bHasValue
=
true
;
}
}
break
;
default
:
SAL_WARN
(
"oox"
,
"TextParagraphPropertiesContext::onCreateContext: unhandled element: "
<<
getBaseToken
(
aElementToken
));
}
}
return
this
;
return
this
;
}
}
...
...
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