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
75455da9
Kaydet (Commit)
75455da9
authored
Ock 16, 2001
tarafından
jp
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #80650#: Out_SfxItemSet: if switch off the numrule then write the LR_Space direct
üst
b3bb8398
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
ww8atr.cxx
sw/source/filter/ww8/ww8atr.cxx
+21
-9
No files found.
sw/source/filter/ww8/ww8atr.cxx
Dosyayı görüntüle @
75455da9
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: ww8atr.cxx,v $
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
* last change: $Author: jp $ $Date: 200
0-12-01 11:22:52
$
* last change: $Author: jp $ $Date: 200
1-01-16 17:18:46
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -381,6 +381,15 @@ void SwWW8Writer::Out_SfxItemSet( const SfxItemSet& rSet,
{
pOut
=
aWW8AttrFnTab
[
RES_PARATR_NUMRULE
-
RES_CHRATR_BEGIN
];
(
*
pOut
)(
*
this
,
*
pItem
);
// switch off the numerbering?
if
(
!
((
SwNumRuleItem
*
)
pItem
)
->
GetValue
().
Len
()
&&
SFX_ITEM_SET
!=
rSet
.
GetItemState
(
RES_LR_SPACE
,
FALSE
)
&&
SFX_ITEM_SET
==
rSet
.
GetItemState
(
RES_LR_SPACE
,
TRUE
,
&
pItem
)
)
{
// the set the LR-Space of the parentformat!
pOut
=
aWW8AttrFnTab
[
RES_LR_SPACE
-
RES_CHRATR_BEGIN
];
(
*
pOut
)(
*
this
,
*
pItem
);
}
}
SfxItemIter
aIter
(
rSet
);
...
...
@@ -531,8 +540,8 @@ void SwWW8Writer::Out_SwFmt( const SwFmt& rFmt, BOOL bPapFmt, BOOL bChpFmt,
SwNumFmt
aNumFmt
(
rNFmt
);
const
SvxLRSpaceItem
&
rLR
=
(
SvxLRSpaceItem
&
)
rFmt
.
GetAttr
(
RES_LR_SPACE
);
aNumFmt
.
SetAbsLSpace
(
aNumFmt
.
GetAbsLSpace
()
+
rLR
.
GetLeft
()
);
aNumFmt
.
SetAbsLSpace
(
aNumFmt
.
GetAbsLSpace
()
+
rLR
.
GetLeft
()
);
Out_NumRuleAnld
(
*
pDoc
->
GetOutlineNumRule
(),
aNumFmt
,
nLvl
);
}
...
...
@@ -1687,7 +1696,7 @@ static Writer& OutWW8_SwField( Writer& rWrt, const SfxPoolItem& rHt )
else
{
const
sal_Char
*
pAddStr
;
USHORT
nTyp
;
BYTE
nTyp
;
if
(
DATEFLD
&
nSubType
)
{
pAddStr
=
" AKTUALDAT "
;
...
...
@@ -2389,8 +2398,8 @@ static Writer& OutWW8_SwFmtLRSpace( Writer& rWrt, const SfxPoolItem& rHt )
}
else
nLDist
=
nRDist
=
0
;
nLDist
+=
rLR
.
GetLeft
();
nRDist
+=
rLR
.
GetRight
();
nLDist
+=
(
USHORT
)
rLR
.
GetLeft
();
nRDist
+=
(
USHORT
)
rLR
.
GetRight
();
// sprmSDxaLeft
if
(
rWW8Wrt
.
bWrtWW8
)
...
...
@@ -2412,13 +2421,13 @@ static Writer& OutWW8_SwFmtLRSpace( Writer& rWrt, const SfxPoolItem& rHt )
rWW8Wrt
.
InsUInt16
(
0x840F
);
else
rWW8Wrt
.
pO
->
Insert
(
17
,
rWW8Wrt
.
pO
->
Count
()
);
rWW8Wrt
.
InsUInt16
(
rLR
.
GetTxtLeft
()
);
rWW8Wrt
.
InsUInt16
(
(
USHORT
)
rLR
.
GetTxtLeft
()
);
// sprmPDxaRight
if
(
rWW8Wrt
.
bWrtWW8
)
rWW8Wrt
.
InsUInt16
(
0x840E
);
else
rWW8Wrt
.
pO
->
Insert
(
16
,
rWW8Wrt
.
pO
->
Count
()
);
rWW8Wrt
.
InsUInt16
(
rLR
.
GetRight
()
);
rWW8Wrt
.
InsUInt16
(
(
USHORT
)
rLR
.
GetRight
()
);
// sprmPDxaLeft1
if
(
rWW8Wrt
.
bWrtWW8
)
rWW8Wrt
.
InsUInt16
(
0x8411
);
...
...
@@ -3517,6 +3526,9 @@ SwAttrFnTab aWW8AttrFnTab = {
/*************************************************************************
$Log: not supported by cvs2svn $
Revision 1.5 2000/12/01 11:22:52 jp
Task #81077#: im-/export of CJK documents
Revision 1.4 2000/11/24 19:47:04 er
#80660# GetNumberFmt: new date keys
...
...
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