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
abc07e01
Kaydet (Commit)
abc07e01
authored
Ock 20, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: tweak translations
üst
d83104bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
25 deletions
+24
-25
docredln.cxx
sw/source/core/doc/docredln.cxx
+14
-14
doctxm.cxx
sw/source/core/doc/doctxm.cxx
+3
-3
ftnidx.cxx
sw/source/core/doc/ftnidx.cxx
+3
-4
tblcpy.cxx
sw/source/core/doc/tblcpy.cxx
+4
-4
No files found.
sw/source/core/doc/docredln.cxx
Dosyayı görüntüle @
abc07e01
...
...
@@ -172,7 +172,7 @@ void SwDoc::SetRedlineMode( RedlineMode_t eMode )
{
bool
bSaveInXMLImportFlag
=
IsInXMLImport
();
SetInXMLImport
(
false
);
// and then hide
everything, display it
// and then hide
/display everything
void
(
SwRedline
::*
pFnc
)(
sal_uInt16
)
=
0
;
switch
(
nsRedlineMode_t
::
REDLINE_SHOW_MASK
&
eMode
)
...
...
@@ -280,7 +280,7 @@ bool CheckPosition( const SwPosition* pStt, const SwPosition* pEnd )
/*
Text means Text not "poluted" by Redlines.
Text means Text not "pol
l
uted" by Redlines.
Behaviour of Insert-Redline:
...
...
@@ -1138,7 +1138,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
case
POS_INSIDE
:
if
(
pRedl
->
IsOwnRedline
(
*
pNewRedl
)
&&
pRedl
->
CanCombine
(
*
pNewRedl
))
//
an own
can be ignored completely
//
own one
can be ignored completely
delete
pNewRedl
,
pNewRedl
=
0
;
else
if
(
*
pREnd
==
*
pEnd
)
...
...
@@ -1796,7 +1796,7 @@ sal_Bool lcl_RejectRedline( SwRedlineTbl& rArr, sal_uInt16& rPos,
case
POS_OUTSIDE
:
case
POS_EQUAL
:
{
// delete the
area
again
// delete the
range
again
rArr
.
Remove
(
rPos
--
);
bDelRedl
=
sal_True
;
if
(
bCallDelete
)
...
...
@@ -2025,7 +2025,7 @@ int lcl_AcceptRejectRedl( Fn_AcceptReject fn_AcceptReject,
void
lcl_AdjustRedlineRange
(
SwPaM
&
rPam
)
{
// The Selection is only in the Content
Area
. If there are Redlines
// The Selection is only in the Content
Section
. If there are Redlines
// to Non-ContentNodes before or after that, then the Selections
// expand to them.
SwPosition
*
pStt
=
rPam
.
Start
(),
...
...
@@ -2133,7 +2133,7 @@ bool SwDoc::AcceptRedline( const SwPaM& rPam, bool bCallDelete )
(
nsRedlineMode_t
::
REDLINE_SHOW_MASK
&
eRedlineMode
)
)
SetRedlineMode
(
(
RedlineMode_t
)(
nsRedlineMode_t
::
REDLINE_SHOW_INSERT
|
nsRedlineMode_t
::
REDLINE_SHOW_DELETE
|
eRedlineMode
));
// The Selection is only in the Content
Area
. If there are Redlines
// The Selection is only in the Content
Section
. If there are Redlines
// to Non-ContentNodes before or after that, then the Selections
// expand to them.
SwPaM
aPam
(
*
rPam
.
GetMark
(),
*
rPam
.
GetPoint
()
);
...
...
@@ -2243,7 +2243,7 @@ bool SwDoc::RejectRedline( const SwPaM& rPam, bool bCallDelete )
(
nsRedlineMode_t
::
REDLINE_SHOW_MASK
&
eRedlineMode
)
)
SetRedlineMode
((
RedlineMode_t
)(
nsRedlineMode_t
::
REDLINE_SHOW_INSERT
|
nsRedlineMode_t
::
REDLINE_SHOW_DELETE
|
eRedlineMode
));
// The Selection is only in the Content
Area
. If there are Redlines
// The Selection is only in the Content
Section
. If there are Redlines
// to Non-ContentNodes before or after that, then the Selections
// expand to them.
SwPaM
aPam
(
*
rPam
.
GetMark
(),
*
rPam
.
GetPoint
()
);
...
...
@@ -2408,7 +2408,7 @@ const SwRedline* SwDoc::SelPrevRedline( SwPaM& rPam ) const
sal_Bool
bRestart
;
// If the starting positon points to the last valid ContentNode,
// we take the
next
Redline in any case.
// we take the
previous
Redline in any case.
sal_uInt16
n
=
0
;
const
SwRedline
*
pFnd
=
lcl_FindCurrRedline
(
rSttPos
,
n
,
sal_False
);
if
(
pFnd
)
...
...
@@ -2608,7 +2608,7 @@ sal_Bool SwRedlineTbl::Insert( SwRedlinePtr& p, sal_Bool bIns )
bRet
=
InsertWithValidRanges
(
p
);
else
{
OSL_ENSURE
(
!
this
,
"Redline: wrong
Area
"
);
OSL_ENSURE
(
!
this
,
"Redline: wrong
range
"
);
}
return
bRet
;
}
...
...
@@ -2625,14 +2625,14 @@ sal_Bool SwRedlineTbl::Insert( SwRedlinePtr& p, sal_uInt16& rP, sal_Bool bIns )
bRet
=
InsertWithValidRanges
(
p
,
&
rP
);
else
{
OSL_ENSURE
(
!
this
,
"Redline: wrong
Area
"
);
OSL_ENSURE
(
!
this
,
"Redline: wrong
range
"
);
}
return
bRet
;
}
sal_Bool
SwRedlineTbl
::
InsertWithValidRanges
(
SwRedlinePtr
&
p
,
sal_uInt16
*
pInsPos
)
{
// Create valid "sub-
area
s" from the Selection
// Create valid "sub-
range
s" from the Selection
sal_Bool
bAnyIns
=
sal_False
;
SwPosition
*
pStt
=
p
->
Start
(),
*
pEnd
=
pStt
==
p
->
GetPoint
()
?
p
->
GetMark
()
:
p
->
GetPoint
();
...
...
@@ -2888,7 +2888,7 @@ void SwRedlineExtraData_FmtColl::Reject( SwPaM& rPam ) const
if
(
pTNd
->
HasSwAttrSet
()
)
{
// Only set those that are not there anymore. Others
can
// Only set those that are not there anymore. Others
// could have changed, but we don't touch these.
SfxItemSet
aTmp
(
*
pSet
);
aTmp
.
Differentiate
(
*
pTNd
->
GetpSwAttrSet
()
);
...
...
@@ -3083,7 +3083,7 @@ SwRedline::~SwRedline()
{
if
(
pCntntSect
)
{
// delete the Content
Area
// delete the Content
Section
if
(
!
GetDoc
()
->
IsInDtor
()
)
GetDoc
()
->
DeleteSection
(
&
pCntntSect
->
GetNode
()
);
delete
pCntntSect
;
...
...
@@ -3414,7 +3414,7 @@ void SwRedline::CopyToSection()
SwPosition
aPos
(
aNdIdx
,
SwIndex
(
pTxtNd
));
pDoc
->
CopyRange
(
*
this
,
aPos
,
false
);
// Take over the
Templat
e from the EndNode if needed
// Take over the
styl
e from the EndNode if needed
// We don't want this in Doc::Copy
if
(
pCEndNd
&&
pCEndNd
!=
pCSttNd
)
{
...
...
sw/source/core/doc/doctxm.cxx
Dosyayı görüntüle @
abc07e01
...
...
@@ -1181,7 +1181,7 @@ void SwTOXBaseSection::UpdateMarks( const SwTOXInternational& rIntl,
SwTOXSortTabBase
*
pBase
=
0
;
if
(
TOX_INDEX
==
eTOXTyp
)
{
//
Keyword section
mark
//
index entry
mark
lang
::
Locale
aLocale
;
if
(
pBreakIt
->
GetBreakIter
().
is
()
)
{
...
...
@@ -1208,7 +1208,7 @@ void SwTOXBaseSection::UpdateMarks( const SwTOXInternational& rIntl,
}
else
if
(
TOX_USER
==
eTOXTyp
||
pMark
->
GetLevel
()
<=
GetLevel
())
{
//
Content section
mark
{
//
table of content
mark
// also used for user marks
pBase
=
new
SwTOXContent
(
*
pTOXSrc
,
pTxtMark
,
rIntl
);
InsertSorted
(
pBase
);
...
...
@@ -1680,7 +1680,7 @@ void SwTOXBaseSection::GenerateText( sal_uInt16 nArrayIdx,
if
(
aNdRect
.
IsEmpty
()
)
{
// Nothing helped so far, so we go via the Page
Template
// Nothing helped so far, so we go via the Page
Desc
sal_uInt32
nPgDescNdIdx
=
pTOXNd
->
GetIndex
()
+
1
;
sal_uInt32
*
pPgDescNdIdx
=
&
nPgDescNdIdx
;
pPageDesc
=
pTOXNd
->
FindPageDesc
(
sal_False
,
pPgDescNdIdx
);
...
...
sw/source/core/doc/ftnidx.cxx
Dosyayı görüntüle @
abc07e01
...
...
@@ -93,8 +93,8 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
const
SwEndNoteInfo
&
rEndInfo
=
pDoc
->
GetEndNoteInfo
();
const
SwFtnInfo
&
rFtnInfo
=
pDoc
->
GetFtnInfo
();
// For normal foot notes we treat
chapter and document-wise
numbering
// seperately. For Endnotes we only have
chapter-wise
numbering.
// For normal foot notes we treat
per-chapter and per-document
numbering
// seperately. For Endnotes we only have
per-document
numbering.
if
(
FTNNUM_CHAPTER
==
rFtnInfo
.
eNum
)
{
const
SwOutlineNodes
&
rOutlNds
=
pDoc
->
GetNodes
().
GetOutLineNds
();
...
...
@@ -153,7 +153,7 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
SwUpdFtnEndNtAtEnd
aNumArr
;
//
sal_Bool, so that also go through the Endnotes with chapter setting enabled
//
unless we have per-document numbering, only look at endnotes here
const
sal_Bool
bEndNoteOnly
=
FTNNUM_DOC
!=
rFtnInfo
.
eNum
;
sal_uInt16
nPos
,
nFtnNo
=
1
,
nEndNo
=
1
;
...
...
@@ -199,7 +199,6 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
}
}
}
// Pageweise wird vom MA erfuellt !!
}
...
...
sw/source/core/doc/tblcpy.cxx
Dosyayı görüntüle @
abc07e01
...
...
@@ -586,8 +586,8 @@ void lcl_CpyBox( const SwTable& rCpyTbl, const SwTableBox* pCpyBox,
}
}
// If DestBox is a Headline Box and has Table
Templat
e set, then
// DO NOT automatically set the TableHeadline
Templat
e!
// If DestBox is a Headline Box and has Table
styl
e set, then
// DO NOT automatically set the TableHeadline
styl
e!
if
(
1
<
rDstTbl
.
GetTabLines
().
Count
()
&&
pLine
==
rDstTbl
.
GetTabLines
()[
0
]
)
{
...
...
@@ -628,7 +628,7 @@ void lcl_CpyBox( const SwTable& rCpyTbl, const SwTableBox* pCpyBox,
RES_POOLCOLL_TABLE
==
nPoolId
?
RES_POOLCOLL_TABLE_HDLN
:
RES_POOLCOLL_TABLE
)
);
if
(
pColl
)
// Apply
Templat
e
if
(
pColl
)
// Apply
styl
e
{
SwPaM
aPam
(
aSavePos
);
aPam
.
SetMark
();
...
...
@@ -939,7 +939,7 @@ sal_Bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
SwTableLine
*
pCpyLn
=
rCpyTbl
.
GetTabLines
()[
nLn
%
rCpyTbl
.
GetTabLines
().
Count
()
];
// Selected too
less
rows?
// Selected too
few
rows?
if
(
pInsFLine
)
{
// We insert a new row into the FndBox
...
...
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