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
6c992a54
Kaydet (Commit)
6c992a54
authored
Kas 28, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#69636 DOCX export: fix VML export of vert=vert270 drawingML textframes
Change-Id: I2fc01c1f22dcd55c2fc4d4791c5571ff2861d0cc
üst
95034baf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
8 deletions
+21
-8
docxattributeoutput.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
+21
-8
No files found.
sw/source/filter/ww8/docxattributeoutput.cxx
Dosyayı görüntüle @
6c992a54
...
@@ -330,17 +330,30 @@ bool lcl_checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* p
...
@@ -330,17 +330,30 @@ bool lcl_checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* p
return false;
return false;
SwTxtNode* pTxtNode = static_cast<SwTxtNode*>(pStartNode);
SwTxtNode* pTxtNode = static_cast<SwTxtNode*>(pStartNode);
if (!pTxtNode->HasHints())
return false;
SwTxtAttr* pTxtAttr = pTxtNode->GetTxtAttrAt(0, RES_TXTATR_AUTOFMT);
const SfxPoolItem* pItem;
bool bItemSet = false;
if (pTxtNode->HasSwAttrSet())
{
const SwAttrSet& rAttrSet = pTxtNode->GetSwAttrSet();
bItemSet = rAttrSet.GetItemState(RES_CHRATR_ROTATE, true, &pItem) == SFX_ITEM_SET;
}
if (!pTxtAttr || pTxtAttr->Which() != RES_TXTATR_AUTOFMT)
if (!bItemSet)
return false;
{
if (!pTxtNode->HasHints())
return false;
boost::shared_ptr<SfxItemSet> pItemSet = pTxtAttr->GetAutoFmt().GetStyleHandle();
SwTxtAttr* pTxtAttr = pTxtNode->GetTxtAttrAt(0, RES_TXTATR_AUTOFMT);
const SfxPoolItem* pItem;
if (pItemSet->GetItemState(RES_CHRATR_ROTATE, true, &pItem) == SFX_ITEM_SET)
if (!pTxtAttr || pTxtAttr->Which() != RES_TXTATR_AUTOFMT)
return false;
boost::shared_ptr<SfxItemSet> pItemSet = pTxtAttr->GetAutoFmt().GetStyleHandle();
bItemSet = pItemSet->GetItemState(RES_CHRATR_ROTATE, true, &pItem) == SFX_ITEM_SET;
}
if (bItemSet)
{
{
const SvxCharRotateItem& rCharRotate = static_cast<const SvxCharRotateItem&>(*pItem);
const SvxCharRotateItem& rCharRotate = static_cast<const SvxCharRotateItem&>(*pItem);
if (rCharRotate.GetValue() == 900)
if (rCharRotate.GetValue() == 900)
...
...
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