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
393ece99
Kaydet (Commit)
393ece99
authored
Kas 23, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DocxAttributeOutput: m_i -> m_n
Change-Id: I5d67b53ddf74be2b1ef315cdbef8cc3fabaac9aa
üst
e3b7e62b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
docxattributeoutput.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
+10
-10
docxattributeoutput.hxx
sw/source/filter/ww8/docxattributeoutput.hxx
+1
-1
No files found.
sw/source/filter/ww8/docxattributeoutput.cxx
Dosyayı görüntüle @
393ece99
...
@@ -5653,7 +5653,7 @@ void DocxAttributeOutput::FormatULSpace( const SvxULSpaceItem& rULSpace )
...
@@ -5653,7 +5653,7 @@ void DocxAttributeOutput::FormatULSpace( const SvxULSpaceItem& rULSpace )
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::FormatULSpace: setting spacing"
<<
rULSpace
.
GetUpper
()
);
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::FormatULSpace: setting spacing"
<<
rULSpace
.
GetUpper
()
);
// check if before auto spacing was set during import and spacing we get from actual object is same
// check if before auto spacing was set during import and spacing we get from actual object is same
// that we set in import. If yes just write beforeAutoSpacing tag.
// that we set in import. If yes just write beforeAutoSpacing tag.
if
(
m_bParaBeforeAutoSpacing
&&
m_
i
ParaBeforeSpacing
==
rULSpace
.
GetUpper
())
if
(
m_bParaBeforeAutoSpacing
&&
m_
n
ParaBeforeSpacing
==
rULSpace
.
GetUpper
())
{
{
m_pParagraphSpacingAttrList
->
add
(
FSNS
(
XML_w
,
XML_beforeAutospacing
),
m_pParagraphSpacingAttrList
->
add
(
FSNS
(
XML_w
,
XML_beforeAutospacing
),
"1"
);
"1"
);
...
@@ -5666,7 +5666,7 @@ void DocxAttributeOutput::FormatULSpace( const SvxULSpaceItem& rULSpace )
...
@@ -5666,7 +5666,7 @@ void DocxAttributeOutput::FormatULSpace( const SvxULSpaceItem& rULSpace )
m_bParaBeforeAutoSpacing
=
false
;
m_bParaBeforeAutoSpacing
=
false
;
// check if after auto spacing was set during import and spacing we get from actual object is same
// check if after auto spacing was set during import and spacing we get from actual object is same
// that we set in import. If yes just write afterAutoSpacing tag.
// that we set in import. If yes just write afterAutoSpacing tag.
if
(
m_bParaAfterAutoSpacing
&&
m_
i
ParaAfterSpacing
==
rULSpace
.
GetLower
())
if
(
m_bParaAfterAutoSpacing
&&
m_
n
ParaAfterSpacing
==
rULSpace
.
GetLower
())
{
{
m_pParagraphSpacingAttrList
->
add
(
FSNS
(
XML_w
,
XML_afterAutospacing
),
m_pParagraphSpacingAttrList
->
add
(
FSNS
(
XML_w
,
XML_afterAutospacing
),
"1"
);
"1"
);
...
@@ -6204,17 +6204,17 @@ void DocxAttributeOutput::ParaGrabBag(const SfxGrabBagItem& rItem)
...
@@ -6204,17 +6204,17 @@ void DocxAttributeOutput::ParaGrabBag(const SfxGrabBagItem& rItem)
{
{
m_bParaBeforeAutoSpacing
=
true
;
m_bParaBeforeAutoSpacing
=
true
;
// get fixed value which was set during import
// get fixed value which was set during import
i
->
second
>>=
m_
i
ParaBeforeSpacing
;
i
->
second
>>=
m_
n
ParaBeforeSpacing
;
m_
iParaBeforeSpacing
=
MM100_TO_TWIP
(
m_i
ParaBeforeSpacing
);
m_
nParaBeforeSpacing
=
MM100_TO_TWIP
(
m_n
ParaBeforeSpacing
);
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::ParaGrabBag: property ="
<<
i
->
first
<<
" : m_
iParaBeforeSpacing= "
<<
m_i
ParaBeforeSpacing
);
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::ParaGrabBag: property ="
<<
i
->
first
<<
" : m_
nParaBeforeSpacing= "
<<
m_n
ParaBeforeSpacing
);
}
}
else
if
(
i
->
first
==
"ParaBottomMarginAfterAutoSpacing"
)
else
if
(
i
->
first
==
"ParaBottomMarginAfterAutoSpacing"
)
{
{
m_bParaAfterAutoSpacing
=
true
;
m_bParaAfterAutoSpacing
=
true
;
// get fixed value which was set during import
// get fixed value which was set during import
i
->
second
>>=
m_
i
ParaAfterSpacing
;
i
->
second
>>=
m_
n
ParaAfterSpacing
;
m_
iParaAfterSpacing
=
MM100_TO_TWIP
(
m_i
ParaAfterSpacing
);
m_
nParaAfterSpacing
=
MM100_TO_TWIP
(
m_n
ParaAfterSpacing
);
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::ParaGrabBag: property ="
<<
i
->
first
<<
" : m_
iParaBeforeSpacing= "
<<
m_i
ParaAfterSpacing
);
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::ParaGrabBag: property ="
<<
i
->
first
<<
" : m_
nParaBeforeSpacing= "
<<
m_n
ParaAfterSpacing
);
}
}
else
else
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::ParaGrabBag: unhandled grab bag property "
<<
i
->
first
);
SAL_INFO
(
"sw.ww8"
,
"DocxAttributeOutput::ParaGrabBag: unhandled grab bag property "
<<
i
->
first
);
...
@@ -6272,8 +6272,8 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport &rExport, FSHelperPtr pSeri
...
@@ -6272,8 +6272,8 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport &rExport, FSHelperPtr pSeri
m_pTableStyleExport
(
new
DocxTableStyleExport
(
rExport
.
pDoc
,
pSerializer
)),
m_pTableStyleExport
(
new
DocxTableStyleExport
(
rExport
.
pDoc
,
pSerializer
)),
m_bParaBeforeAutoSpacing
(
false
),
m_bParaBeforeAutoSpacing
(
false
),
m_bParaAfterAutoSpacing
(
false
),
m_bParaAfterAutoSpacing
(
false
),
m_
i
ParaBeforeSpacing
(
0
),
m_
n
ParaBeforeSpacing
(
0
),
m_
i
ParaAfterSpacing
(
0
),
m_
n
ParaAfterSpacing
(
0
),
m_setFootnote
(
false
)
m_setFootnote
(
false
)
{
{
}
}
...
...
sw/source/filter/ww8/docxattributeoutput.hxx
Dosyayı görüntüle @
393ece99
...
@@ -782,7 +782,7 @@ private:
...
@@ -782,7 +782,7 @@ private:
// flag to check if auto spacing was set in original file
// flag to check if auto spacing was set in original file
bool
m_bParaBeforeAutoSpacing
,
m_bParaAfterAutoSpacing
;
bool
m_bParaBeforeAutoSpacing
,
m_bParaAfterAutoSpacing
;
// store hardcoded value which was set during import.
// store hardcoded value which was set during import.
sal_Int32
m_
iParaBeforeSpacing
,
m_i
ParaAfterSpacing
;
sal_Int32
m_
nParaBeforeSpacing
,
m_n
ParaAfterSpacing
;
bool
m_setFootnote
;
bool
m_setFootnote
;
...
...
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