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
66b563cf
Kaydet (Commit)
66b563cf
authored
Agu 13, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide_2: check merge flag in various MakeFrames
Change-Id: I2d54ae4069c0c6813059f90a1003387512ee9ba1
üst
e6c28812
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
ndsect.cxx
sw/source/core/docnode/ndsect.cxx
+5
-0
ndtbl.cxx
sw/source/core/docnode/ndtbl.cxx
+10
-0
node.cxx
sw/source/core/docnode/node.cxx
+5
-0
No files found.
sw/source/core/docnode/ndsect.cxx
Dosyayı görüntüle @
66b563cf
...
@@ -1048,6 +1048,11 @@ void SwSectionNode::MakeFramesForAdjacentContentNode(const SwNodeIndex & rIdx)
...
@@ -1048,6 +1048,11 @@ void SwSectionNode::MakeFramesForAdjacentContentNode(const SwNodeIndex & rIdx)
while
(
nullptr
!=
(
pFrame
=
aNode2Layout
.
NextFrame
())
)
while
(
nullptr
!=
(
pFrame
=
aNode2Layout
.
NextFrame
())
)
{
{
OSL_ENSURE
(
pFrame
->
IsSctFrame
(),
"Depend of Section not a Section."
);
OSL_ENSURE
(
pFrame
->
IsSctFrame
(),
"Depend of Section not a Section."
);
if
(
pFrame
->
getRootFrame
()
->
IsHideRedlines
()
&&
!
rIdx
.
GetNode
().
IsCreateFrameWhenHidingRedlines
())
{
continue
;
}
SwFrame
*
pNew
=
rIdx
.
GetNode
().
GetContentNode
()
->
MakeFrame
(
pFrame
);
SwFrame
*
pNew
=
rIdx
.
GetNode
().
GetContentNode
()
->
MakeFrame
(
pFrame
);
SwSectionNode
*
pS
=
rIdx
.
GetNode
().
FindSectionNode
();
SwSectionNode
*
pS
=
rIdx
.
GetNode
().
FindSectionNode
();
...
...
sw/source/core/docnode/ndtbl.cxx
Dosyayı görüntüle @
66b563cf
...
@@ -2381,6 +2381,11 @@ void SwTableNode::MakeFramesForAdjacentContentNode(const SwNodeIndex & rIdx)
...
@@ -2381,6 +2381,11 @@ void SwTableNode::MakeFramesForAdjacentContentNode(const SwNodeIndex & rIdx)
while
(
nullptr
!=
(
pFrame
=
aNode2Layout
.
NextFrame
())
)
while
(
nullptr
!=
(
pFrame
=
aNode2Layout
.
NextFrame
())
)
{
{
if
(
pFrame
->
getRootFrame
()
->
IsHideRedlines
()
&&
!
pNode
->
IsCreateFrameWhenHidingRedlines
())
{
continue
;
}
SwFrame
*
pNew
=
pNode
->
MakeFrame
(
pFrame
);
SwFrame
*
pNew
=
pNode
->
MakeFrame
(
pFrame
);
// Will the Node receive Frames before or after?
// Will the Node receive Frames before or after?
if
(
bBefore
)
if
(
bBefore
)
...
@@ -2408,6 +2413,11 @@ void SwTableNode::MakeOwnFrames(SwNodeIndex* pIdxBehind)
...
@@ -2408,6 +2413,11 @@ void SwTableNode::MakeOwnFrames(SwNodeIndex* pIdxBehind)
SwNode2Layout
aNode2Layout
(
*
pNd
,
GetIndex
()
);
SwNode2Layout
aNode2Layout
(
*
pNd
,
GetIndex
()
);
while
(
nullptr
!=
(
pUpper
=
aNode2Layout
.
UpperFrame
(
pFrame
,
*
this
))
)
while
(
nullptr
!=
(
pUpper
=
aNode2Layout
.
UpperFrame
(
pFrame
,
*
this
))
)
{
{
if
(
pUpper
->
getRootFrame
()
->
IsHideRedlines
()
&&
!
IsCreateFrameWhenHidingRedlines
())
{
continue
;
}
SwTabFrame
*
pNew
=
MakeFrame
(
pUpper
);
SwTabFrame
*
pNew
=
MakeFrame
(
pUpper
);
pNew
->
Paste
(
pUpper
,
pFrame
);
pNew
->
Paste
(
pUpper
,
pFrame
);
// #i27138#
// #i27138#
...
...
sw/source/core/docnode/node.cxx
Dosyayı görüntüle @
66b563cf
...
@@ -1290,6 +1290,11 @@ void SwContentNode::MakeFramesForAdjacentContentNode(SwContentNode& rNode)
...
@@ -1290,6 +1290,11 @@ void SwContentNode::MakeFramesForAdjacentContentNode(SwContentNode& rNode)
while
(
nullptr
!=
(
pUpper
=
aNode2Layout
.
UpperFrame
(
pFrame
,
rNode
))
)
while
(
nullptr
!=
(
pUpper
=
aNode2Layout
.
UpperFrame
(
pFrame
,
rNode
))
)
{
{
if
(
pUpper
->
getRootFrame
()
->
IsHideRedlines
()
&&
!
rNode
.
IsCreateFrameWhenHidingRedlines
())
{
continue
;
}
SwFrame
*
pNew
=
rNode
.
MakeFrame
(
pUpper
);
SwFrame
*
pNew
=
rNode
.
MakeFrame
(
pUpper
);
pNew
->
Paste
(
pUpper
,
pFrame
);
pNew
->
Paste
(
pUpper
,
pFrame
);
// #i27138#
// #i27138#
...
...
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