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
1eaab77c
Kaydet (Commit)
1eaab77c
authored
Mar 06, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#60722 import RTF_SHPZ
Change-Id: I6c572d44d93f812d50376ec05ae94bdabadb3f1e
üst
cf2a1277
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
GraphicHelpers.cxx
writerfilter/source/dmapper/GraphicHelpers.cxx
+2
-1
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+3
-0
rtfdocumentimpl.hxx
writerfilter/source/rtftok/rtfdocumentimpl.hxx
+2
-0
rtfsdrimport.cxx
writerfilter/source/rtftok/rtfsdrimport.cxx
+2
-0
No files found.
writerfilter/source/dmapper/GraphicHelpers.cxx
Dosyayı görüntüle @
1eaab77c
...
@@ -251,7 +251,8 @@ sal_Int32 GraphicZOrderHelper::findZOrder( sal_Int32 relativeHeight )
...
@@ -251,7 +251,8 @@ sal_Int32 GraphicZOrderHelper::findZOrder( sal_Int32 relativeHeight )
while
(
it
!=
items
.
end
())
while
(
it
!=
items
.
end
())
{
{
// std::map is iterated sorted by key
// std::map is iterated sorted by key
if
(
it
->
first
>
relativeHeight
)
// if there is an item that has the same z-order, we belong under it
if
(
it
->
first
>=
relativeHeight
)
break
;
// this is the first one higher, we belong right before it
break
;
// this is the first one higher, we belong right before it
else
else
++
it
;
++
it
;
...
...
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
1eaab77c
...
@@ -3187,6 +3187,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
...
@@ -3187,6 +3187,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
case
RTF_SHPBOTTOM
:
case
RTF_SHPBOTTOM
:
m_aStates
.
top
().
aShape
.
nBottom
=
TWIP_TO_MM100
(
nParam
);
m_aStates
.
top
().
aShape
.
nBottom
=
TWIP_TO_MM100
(
nParam
);
break
;
break
;
case
RTF_SHPZ
:
m_aStates
.
top
().
aShape
.
oZ
.
reset
(
nParam
);
break
;
case
RTF_FFTYPE
:
case
RTF_FFTYPE
:
switch
(
nParam
)
switch
(
nParam
)
{
{
...
...
writerfilter/source/rtftok/rtfdocumentimpl.hxx
Dosyayı görüntüle @
1eaab77c
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <stack>
#include <stack>
#include <queue>
#include <queue>
#include <boost/optional.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
...
@@ -259,6 +260,7 @@ namespace writerfilter {
...
@@ -259,6 +260,7 @@ namespace writerfilter {
sal_Int32
nTop
;
sal_Int32
nTop
;
sal_Int32
nRight
;
sal_Int32
nRight
;
sal_Int32
nBottom
;
sal_Int32
nBottom
;
boost
::
optional
<
sal_Int32
>
oZ
;
///< Z-Order of the shape.
sal_Int16
nHoriOrientRelation
;
sal_Int16
nHoriOrientRelation
;
sal_Int16
nVertOrientRelation
;
sal_Int16
nVertOrientRelation
;
int
nWrap
;
int
nWrap
;
...
...
writerfilter/source/rtftok/rtfsdrimport.cxx
Dosyayı görüntüle @
1eaab77c
...
@@ -298,6 +298,8 @@ void RTFSdrImport::resolve(RTFShape& rShape)
...
@@ -298,6 +298,8 @@ void RTFSdrImport::resolve(RTFShape& rShape)
{
{
xPropertySet
->
setPropertyValue
(
"LineColor"
,
aLineColor
);
xPropertySet
->
setPropertyValue
(
"LineColor"
,
aLineColor
);
xPropertySet
->
setPropertyValue
(
"LineWidth"
,
aLineWidth
);
xPropertySet
->
setPropertyValue
(
"LineWidth"
,
aLineWidth
);
if
(
rShape
.
oZ
)
resolveDhgt
(
xPropertySet
,
*
rShape
.
oZ
);
}
}
if
(
nType
==
ESCHER_ShpInst_PictureFrame
)
// picture frame
if
(
nType
==
ESCHER_ShpInst_PictureFrame
)
// picture frame
...
...
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