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
85887d55
Kaydet (Commit)
85887d55
authored
Mar 05, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
this can be just a pointer as well
üst
e0b0fe24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
rtfattributeoutput.cxx
sw/source/filter/ww8/rtfattributeoutput.cxx
+5
-5
rtfattributeoutput.hxx
sw/source/filter/ww8/rtfattributeoutput.hxx
+1
-1
No files found.
sw/source/filter/ww8/rtfattributeoutput.cxx
Dosyayı görüntüle @
85887d55
...
@@ -1538,7 +1538,7 @@ void RtfAttributeOutput::OutputFlyFrame_Impl( const sw::Frame& rFrame, const Poi
...
@@ -1538,7 +1538,7 @@ void RtfAttributeOutput::OutputFlyFrame_Impl( const sw::Frame& rFrame, const Poi
}
}
if
(
pGrfNode
)
if
(
pGrfNode
)
FlyFrameGraphic
(
dynamic_cast
<
const
SwFlyFrmFmt
*>
(
&
rFrame
.
GetFrmFmt
()
),
*
pGrfNode
);
FlyFrameGraphic
(
dynamic_cast
<
const
SwFlyFrmFmt
*>
(
&
rFrame
.
GetFrmFmt
()
),
pGrfNode
);
break
;
break
;
case
sw
:
:
Frame
::
eDrawing
:
case
sw
:
:
Frame
::
eDrawing
:
{
{
...
@@ -3363,7 +3363,7 @@ void RtfAttributeOutput::FlyFrameOLE( const SwFlyFrmFmt* pFlyFrmFmt, SwOLENode&
...
@@ -3363,7 +3363,7 @@ void RtfAttributeOutput::FlyFrameOLE( const SwFlyFrmFmt* pFlyFrmFmt, SwOLENode&
m_aRunText
.
append
(
"}}}}"
);
m_aRunText
.
append
(
"}}}}"
);
}
}
void
RtfAttributeOutput
::
FlyFrameGraphic
(
const
SwFlyFrmFmt
*
pFlyFrmFmt
,
const
SwGrfNode
&
r
GrfNode
)
void
RtfAttributeOutput
::
FlyFrameGraphic
(
const
SwFlyFrmFmt
*
pFlyFrmFmt
,
const
SwGrfNode
*
p
GrfNode
)
{
{
SAL_INFO
(
"sw.rtf"
,
OSL_THIS_FUNC
);
SAL_INFO
(
"sw.rtf"
,
OSL_THIS_FUNC
);
...
@@ -3371,7 +3371,7 @@ void RtfAttributeOutput::FlyFrameGraphic( const SwFlyFrmFmt* pFlyFrmFmt, const S
...
@@ -3371,7 +3371,7 @@ void RtfAttributeOutput::FlyFrameGraphic( const SwFlyFrmFmt* pFlyFrmFmt, const S
const
sal_uInt8
*
pGraphicAry
=
0
;
const
sal_uInt8
*
pGraphicAry
=
0
;
sal_uInt32
nSize
=
0
;
sal_uInt32
nSize
=
0
;
Graphic
aGraphic
(
rGrfNode
.
GetGrf
());
Graphic
aGraphic
(
pGrfNode
->
GetGrf
());
// If there is no graphic there is not much point in parsing it
// If there is no graphic there is not much point in parsing it
if
(
aGraphic
.
GetType
()
==
GRAPHIC_NONE
)
if
(
aGraphic
.
GetType
()
==
GRAPHIC_NONE
)
...
@@ -3417,10 +3417,10 @@ void RtfAttributeOutput::FlyFrameGraphic( const SwFlyFrmFmt* pFlyFrmFmt, const S
...
@@ -3417,10 +3417,10 @@ void RtfAttributeOutput::FlyFrameGraphic( const SwFlyFrmFmt* pFlyFrmFmt, const S
Size
aMapped
(
eGraphicType
==
GRAPHIC_BITMAP
?
aGraphic
.
GetSizePixel
()
:
aGraphic
.
GetPrefSize
());
Size
aMapped
(
eGraphicType
==
GRAPHIC_BITMAP
?
aGraphic
.
GetSizePixel
()
:
aGraphic
.
GetPrefSize
());
const
SwCropGrf
&
rCr
=
(
const
SwCropGrf
&
)
rGrfNode
.
GetAttr
(
RES_GRFATR_CROPGRF
);
const
SwCropGrf
&
rCr
=
(
const
SwCropGrf
&
)
pGrfNode
->
GetAttr
(
RES_GRFATR_CROPGRF
);
//Get original size in twips
//Get original size in twips
Size
aSize
(
sw
::
util
::
GetSwappedInSize
(
r
GrfNode
));
Size
aSize
(
sw
::
util
::
GetSwappedInSize
(
*
p
GrfNode
));
Size
aRendered
(
aSize
);
Size
aRendered
(
aSize
);
if
(
pFlyFrmFmt
)
if
(
pFlyFrmFmt
)
{
{
...
...
sw/source/filter/ww8/rtfattributeoutput.hxx
Dosyayı görüntüle @
85887d55
...
@@ -412,7 +412,7 @@ protected:
...
@@ -412,7 +412,7 @@ protected:
private
:
private
:
/// Output graphic fly frames.
/// Output graphic fly frames.
void
FlyFrameGraphic
(
const
SwFlyFrmFmt
*
pFlyFrmFmt
,
const
SwGrfNode
&
r
GrfNode
);
void
FlyFrameGraphic
(
const
SwFlyFrmFmt
*
pFlyFrmFmt
,
const
SwGrfNode
*
p
GrfNode
);
void
FlyFrameOLE
(
const
SwFlyFrmFmt
*
pFlyFrmFmt
,
SwOLENode
&
rOLENode
,
const
Size
&
rSize
);
void
FlyFrameOLE
(
const
SwFlyFrmFmt
*
pFlyFrmFmt
,
SwOLENode
&
rOLENode
,
const
Size
&
rSize
);
void
FlyFrameOLEData
(
SwOLENode
&
rOLENode
);
void
FlyFrameOLEData
(
SwOLENode
&
rOLENode
);
...
...
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