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
95a29424
Kaydet (Commit)
95a29424
authored
Nis 28, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DocxSdrExport::Impl::m_pTextboxAttrList: use std::unique_ptr<>
Change-Id: If6c836c7e155c958a56fb69a06730c4e5a9ee1b5
üst
fe7fa0ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
docxsdrexport.cxx
sw/source/filter/ww8/docxsdrexport.cxx
+4
-7
docxsdrexport.hxx
sw/source/filter/ww8/docxsdrexport.hxx
+1
-1
No files found.
sw/source/filter/ww8/docxsdrexport.cxx
Dosyayı görüntüle @
95a29424
...
...
@@ -133,7 +133,7 @@ struct DocxSdrExport::Impl
bool
m_bTextFrameSyntax
;
bool
m_bDMLTextFrameSyntax
;
std
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
m_pFlyAttrList
;
s
ax_fastparser
::
FastAttributeList
*
m_pTextboxAttrList
;
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
m_pTextboxAttrList
;
OStringBuffer
m_aTextFrameStyle
;
bool
m_bFrameBtLr
;
bool
m_bDrawingOpen
;
...
...
@@ -160,7 +160,6 @@ struct DocxSdrExport::Impl
m_pFlyFrameSize
(
0
),
m_bTextFrameSyntax
(
false
),
m_bDMLTextFrameSyntax
(
false
),
m_pTextboxAttrList
(
0
),
m_bFrameBtLr
(
false
),
m_bDrawingOpen
(
false
),
m_bParagraphSdtOpen
(
false
),
...
...
@@ -178,7 +177,6 @@ struct DocxSdrExport::Impl
~
Impl
()
{
delete
m_pTextboxAttrList
,
m_pTextboxAttrList
=
NULL
;
}
/// Writes wp wrapper code around an SdrObject, which itself is written using drawingML syntax.
...
...
@@ -223,7 +221,7 @@ std::unique_ptr<sax_fastparser::FastAttributeList>& DocxSdrExport::getFlyAttrLis
return
m_pImpl
->
m_pFlyAttrList
;
}
s
ax_fastparser
::
FastAttributeList
*
DocxSdrExport
::
getTextboxAttrList
()
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>&
DocxSdrExport
::
getTextboxAttrList
()
{
return
m_pImpl
->
m_pTextboxAttrList
;
}
...
...
@@ -1609,7 +1607,7 @@ void DocxSdrExport::writeVMLTextFrame(sw::Frame* pParentFrame, bool bTextBoxOnly
m_pImpl
->
m_bTextFrameSyntax
=
true
;
m_pImpl
->
m_pFlyAttrList
.
reset
(
sax_fastparser
::
FastSerializerHelper
::
createAttrList
());
m_pImpl
->
m_pTextboxAttrList
=
sax_fastparser
::
FastSerializerHelper
::
createAttrList
(
);
m_pImpl
->
m_pTextboxAttrList
.
reset
(
sax_fastparser
::
FastSerializerHelper
::
createAttrList
()
);
m_pImpl
->
m_aTextFrameStyle
=
"position:absolute"
;
if
(
!
bTextBoxOnly
)
{
...
...
@@ -1628,8 +1626,7 @@ void DocxSdrExport::writeVMLTextFrame(sw::Frame* pParentFrame, bool bTextBoxOnly
}
sax_fastparser
::
XFastAttributeListRef
xFlyAttrList
(
m_pImpl
->
m_pFlyAttrList
.
release
());
m_pImpl
->
m_bFrameBtLr
=
m_pImpl
->
checkFrameBtlr
(
m_pImpl
->
m_rExport
.
pDoc
->
GetNodes
()[
nStt
],
/*bDML=*/
false
);
sax_fastparser
::
XFastAttributeListRef
xTextboxAttrList
(
m_pImpl
->
m_pTextboxAttrList
);
m_pImpl
->
m_pTextboxAttrList
=
NULL
;
sax_fastparser
::
XFastAttributeListRef
xTextboxAttrList
(
m_pImpl
->
m_pTextboxAttrList
.
release
());
m_pImpl
->
m_bTextFrameSyntax
=
false
;
m_pImpl
->
m_pFlyFrameSize
=
0
;
m_pImpl
->
m_rExport
.
mpParentFrame
=
NULL
;
...
...
sw/source/filter/ww8/docxsdrexport.hxx
Dosyayı görüntüle @
95a29424
...
...
@@ -64,7 +64,7 @@ public:
bool
getDMLTextFrameSyntax
();
std
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>&
getFlyAttrList
();
/// Attributes of the next v:textbox element.
s
ax_fastparser
::
FastAttributeList
*
getTextboxAttrList
();
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>&
getTextboxAttrList
();
OStringBuffer
&
getTextFrameStyle
();
/// Same, as DocxAttributeOutput::m_bBtLr, but for textframe rotation.
bool
getFrameBtLr
();
...
...
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