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
1a4d24b3
Kaydet (Commit)
1a4d24b3
authored
May 11, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: fix indentation in rtfsdrexport
Change-Id: I5499007c88659b2d235c765ba352e2bc4a8a3eb8
üst
b05778b9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
rtfsdrexport.cxx
sw/source/filter/ww8/rtfsdrexport.cxx
+0
-0
rtfsdrexport.hxx
sw/source/filter/ww8/rtfsdrexport.hxx
+13
-13
No files found.
sw/source/filter/ww8/rtfsdrexport.cxx
Dosyayı görüntüle @
1a4d24b3
This diff is collapsed.
Click to expand it.
sw/source/filter/ww8/rtfsdrexport.hxx
Dosyayı görüntüle @
1a4d24b3
...
...
@@ -32,9 +32,9 @@ class RtfAttributeOutput;
/// Handles export of drawings using RTF markup
class
RtfSdrExport
:
public
EscherEx
{
RtfExport
&
m_rExport
;
RtfExport
&
m_rExport
;
RtfAttributeOutput
&
m_rAttrOutput
;
RtfAttributeOutput
&
m_rAttrOutput
;
const
SdrObject
*
m_pSdrObject
;
...
...
@@ -45,21 +45,21 @@ class RtfSdrExport : public EscherEx
sal_uInt32
m_nShapeFlags
;
/// Remember style, the most important shape attribute ;-)
OStringBuffer
*
m_pShapeStyle
;
OStringBuffer
*
m_pShapeStyle
;
std
::
map
<
OString
,
OString
>
m_aShapeProps
;
/// Remember which shape types we had already written.
bool
*
m_pShapeTypeWritten
;
bool
*
m_pShapeTypeWritten
;
public
:
RtfSdrExport
(
RtfExport
&
rExport
);
RtfSdrExport
(
RtfExport
&
rExport
);
virtual
~
RtfSdrExport
();
/// Export the sdr object as Sdr.
///
/// Call this when you need to export the object as Sdr in RTF.
sal_uInt32
AddSdrObject
(
const
SdrObject
&
rObj
);
sal_uInt32
AddSdrObject
(
const
SdrObject
&
rObj
);
protected
:
/// Start the shape for which we just collected the information.
...
...
@@ -72,26 +72,26 @@ protected:
///
/// The parameter is just what we got from StartShape().
using
EscherEx
::
EndShape
;
void
EndShape
(
sal_Int32
nShapeElement
);
void
EndShape
(
sal_Int32
nShapeElement
);
virtual
void
Commit
(
EscherPropertyContainer
&
rProps
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
virtual
void
Commit
(
EscherPropertyContainer
&
rProps
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
private
:
virtual
void
OpenContainer
(
sal_uInt16
nEscherContainer
,
int
nRecInstance
=
0
)
SAL_OVERRIDE
;
virtual
void
OpenContainer
(
sal_uInt16
nEscherContainer
,
int
nRecInstance
=
0
)
SAL_OVERRIDE
;
virtual
void
CloseContainer
()
SAL_OVERRIDE
;
virtual
sal_uInt32
EnterGroup
(
const
OUString
&
rShapeName
,
const
Rectangle
*
pBoundRect
=
0
)
SAL_OVERRIDE
;
virtual
sal_uInt32
EnterGroup
(
const
OUString
&
rShapeName
,
const
Rectangle
*
pBoundRect
=
0
)
SAL_OVERRIDE
;
virtual
void
LeaveGroup
()
SAL_OVERRIDE
;
virtual
void
AddShape
(
sal_uInt32
nShapeType
,
sal_uInt32
nShapeFlags
,
sal_uInt32
nShapeId
=
0
)
SAL_OVERRIDE
;
virtual
void
AddShape
(
sal_uInt32
nShapeType
,
sal_uInt32
nShapeFlags
,
sal_uInt32
nShapeId
=
0
)
SAL_OVERRIDE
;
private
:
/// Add starting and ending point of a line to the m_pShapeAttrList.
void
AddLineDimensions
(
const
Rectangle
&
rRectangle
);
void
AddLineDimensions
(
const
Rectangle
&
rRectangle
);
/// Add position and size to the OStringBuffer.
void
AddRectangleDimensions
(
OStringBuffer
&
rBuffer
,
const
Rectangle
&
rRectangle
);
void
AddRectangleDimensions
(
OStringBuffer
&
rBuffer
,
const
Rectangle
&
rRectangle
);
void
WriteOutliner
(
const
OutlinerParaObject
&
rParaObj
);
...
...
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