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
ed8b5f2d
Kaydet (Commit)
ed8b5f2d
authored
Eyl 19, 2002
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#99657# handle no fill correctly for export
üst
c0279920
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
10 deletions
+76
-10
wrtw8esh.cxx
sw/source/filter/ww8/wrtw8esh.cxx
+6
-2
wrtw8nds.cxx
sw/source/filter/ww8/wrtw8nds.cxx
+65
-6
wrtww8.hxx
sw/source/filter/ww8/wrtww8.hxx
+5
-2
No files found.
sw/source/filter/ww8/wrtw8esh.cxx
Dosyayı görüntüle @
ed8b5f2d
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: wrtw8esh.cxx,v $
*
* $Revision: 1.4
6
$
* $Revision: 1.4
7
$
*
* last change: $Author: cmc $ $Date: 2002-09-19 1
2:33:53
$
* last change: $Author: cmc $ $Date: 2002-09-19 1
3:54:59
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -1412,7 +1412,11 @@ INT32 SwBasicEscherEx::WriteFlyFrameAttr(const SwFrmFmt& rFmt, MSO_SPT eShapeTyp
rPropOpt
.
AddOpt
(
ESCHER_Prop_dxTextRight
,
0
);
}
#if 0
if (SFX_ITEM_SET == rFmt.GetItemState(RES_BACKGROUND, true, &pItem))
#else
if
(
pItem
=
rWrt
.
TrueFrameBgBrush
(
rFmt
))
#endif
{
if
(
((
SvxBrushItem
*
)
pItem
)
->
GetGraphic
()
)
{
...
...
sw/source/filter/ww8/wrtw8nds.cxx
Dosyayı görüntüle @
ed8b5f2d
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: wrtw8nds.cxx,v $
*
* $Revision: 1.3
7
$
* $Revision: 1.3
8
$
*
* last change: $Author: cmc $ $Date: 2002-09-19 1
2:33:53
$
* last change: $Author: cmc $ $Date: 2002-09-19 1
3:54:59
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -1195,11 +1195,11 @@ short SwWW8Writer::TrueFrameDirection(const SwFrmFmt &rFlyFmt) const
{
pItem
=
0
;
const
SwFmtAnchor
*
pAnchor
=
&
pFlyFmt
->
GetAnchor
();
if
(
FLY_PAGE
!=
pAnchor
->
GetAnchorId
()
&&
pAnchor
->
GetCntntAnchor
()
)
if
(
FLY_PAGE
!=
pAnchor
->
GetAnchorId
()
&&
pAnchor
->
GetCntntAnchor
())
{
pFlyFmt
=
pAnchor
->
GetCntntAnchor
()
->
nNode
.
GetNode
().
GetFlyFmt
();
pFlyFmt
=
pAnchor
->
GetCntntAnchor
()
->
nNode
.
GetNode
().
GetFlyFmt
();
}
else
pFlyFmt
=
0
;
...
...
@@ -1218,6 +1218,65 @@ short SwWW8Writer::TrueFrameDirection(const SwFrmFmt &rFlyFmt) const
return
nRet
;
}
const
SvxBrushItem
*
SwWW8Writer
::
GetCurrentPageBgBrush
()
const
{
const
SwFrmFmt
&
rFmt
=
pAktPageDesc
?
pAktPageDesc
->
GetMaster
()
:
pDoc
->
GetPageDesc
(
0
).
GetMaster
();
const
SfxPoolItem
*
pItem
=
0
;
//If not set, or "no fill", get real bg
SfxItemState
eState
=
rFmt
.
GetItemState
(
RES_BACKGROUND
,
true
,
&
pItem
);
const
SvxBrushItem
*
pRet
=
(
const
SvxBrushItem
*
)
pItem
;
if
(
SFX_ITEM_SET
!=
eState
||
(
!
pRet
->
GetGraphic
()
&&
pRet
->
GetColor
()
==
COL_TRANSPARENT
))
{
pRet
=
(
const
SvxBrushItem
*
)
&
pDoc
->
GetAttrPool
().
GetDefaultItem
(
RES_BACKGROUND
);
}
return
pRet
;
}
const
SvxBrushItem
*
SwWW8Writer
::
TrueFrameBgBrush
(
const
SwFrmFmt
&
rFlyFmt
)
const
{
const
SwFrmFmt
*
pFlyFmt
=
&
rFlyFmt
;
const
SvxBrushItem
*
pRet
=
0
;
while
(
pFlyFmt
)
{
//If not set, or "no fill", get real bg
const
SfxPoolItem
*
pItem
=
0
;
SfxItemState
eState
=
pFlyFmt
->
GetItemState
(
RES_BACKGROUND
,
true
,
&
pItem
);
pRet
=
(
const
SvxBrushItem
*
)
pItem
;
if
(
SFX_ITEM_SET
!=
eState
||
(
!
pRet
->
GetGraphic
()
&&
pRet
->
GetColor
()
==
COL_TRANSPARENT
))
{
pRet
=
0
;
const
SwFmtAnchor
*
pAnchor
=
&
pFlyFmt
->
GetAnchor
();
if
(
FLY_PAGE
!=
pAnchor
->
GetAnchorId
()
&&
pAnchor
->
GetCntntAnchor
())
{
pFlyFmt
=
pAnchor
->
GetCntntAnchor
()
->
nNode
.
GetNode
().
GetFlyFmt
();
}
else
pFlyFmt
=
0
;
}
else
pFlyFmt
=
0
;
}
if
(
!
pRet
)
pRet
=
GetCurrentPageBgBrush
();
ASSERT
(
pRet
&&
(
pRet
->
GetGraphic
()
||
pRet
->
GetColor
()
!=
COL_TRANSPARENT
),
"leaving with no real brush"
);
return
pRet
;
}
Writer
&
OutWW8_SwTxtNode
(
Writer
&
rWrt
,
SwCntntNode
&
rNode
)
{
SwWW8Writer
&
rWW8Wrt
=
(
SwWW8Writer
&
)
rWrt
;
...
...
sw/source/filter/ww8/wrtww8.hxx
Dosyayı görüntüle @
ed8b5f2d
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: wrtww8.hxx,v $
*
* $Revision: 1.3
5
$
* $Revision: 1.3
6
$
*
* last change: $Author: cmc $ $Date: 2002-09-19 1
2:33:54
$
* last change: $Author: cmc $ $Date: 2002-09-19 1
3:54:59
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -169,6 +169,7 @@ class SwMSConvertControls;
class
WW8OleMaps
;
class
SvStorageRef
;
struct
WW8_PdAttrDesc
;
class
SvxBrushItem
;
#define WWFL_ULSPACE_LIKE_SWG 0x00000001
#define WWFL_NO_GRAF 0x00000080
...
...
@@ -524,6 +525,8 @@ public:
void
WritePostItBegin
(
WW8Bytes
*
pO
=
0
);
short
TrueFrameDirection
(
const
SwFrmFmt
&
rFlyFmt
)
const
;
short
GetCurrentPageDirection
()
const
;
const
SvxBrushItem
*
GetCurrentPageBgBrush
()
const
;
const
SvxBrushItem
*
TrueFrameBgBrush
(
const
SwFrmFmt
&
rFlyFmt
)
const
;
void
OutWW8FlyFrmsInCntnt
(
const
SwTxtNode
&
rNd
);
void
OutWW8FlyFrm
(
const
SwFrmFmt
&
rFlyFrmFmt
,
const
Point
&
rNdTopLeft
);
void
OutFlyFrms
(
const
SwCntntNode
&
rNode
);
...
...
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