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
9a8306a1
Kaydet (Commit)
9a8306a1
authored
Nis 10, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RTF import of new-style frames: fix name
Change-Id: Ifa8e79fb9c4b9ad5a0bf64466cefad91b6bbeb0c
üst
91a15108
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
rtfsdrimport.cxx
writerfilter/source/rtftok/rtfsdrimport.cxx
+10
-1
No files found.
writerfilter/source/rtftok/rtfsdrimport.cxx
Dosyayı görüntüle @
9a8306a1
...
...
@@ -26,6 +26,7 @@
* instead of those above.
*/
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
...
...
@@ -171,7 +172,15 @@ void RTFSdrImport::resolve(RTFShape& rShape)
xPropertySet
->
setPropertyValue
(
"FillColor"
,
aAny
);
}
else
if
(
i
->
first
==
"wzName"
)
xPropertySet
->
setPropertyValue
(
"Name"
,
uno
::
makeAny
(
i
->
second
));
{
if
(
bTextFrame
)
{
uno
::
Reference
<
container
::
XNamed
>
xNamed
(
xShape
,
uno
::
UNO_QUERY
);
xNamed
->
setName
(
i
->
second
);
}
else
xPropertySet
->
setPropertyValue
(
"Name"
,
uno
::
makeAny
(
i
->
second
));
}
else
if
(
i
->
first
==
"wzDescription"
)
xPropertySet
->
setPropertyValue
(
"Description"
,
uno
::
makeAny
(
i
->
second
));
else
if
(
i
->
first
==
"pib"
)
...
...
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