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
33c2688e
Kaydet (Commit)
33c2688e
authored
Şub 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rearrange this a little, no logic change
Change-Id: Ia5dd68ab8b7e4fe93caf0e79a27922abf02b97b6
üst
7d83d0fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
52 deletions
+43
-52
svdviter.cxx
svx/source/svdraw/svdviter.cxx
+43
-52
No files found.
svx/source/svdraw/svdviter.cxx
Dosyayı görüntüle @
33c2688e
...
...
@@ -70,71 +70,62 @@ SdrViewIter::SdrViewIter(const SdrObject* pObject, bool bNoMasterPage)
bool
SdrViewIter
::
ImpCheckPageView
(
SdrPageView
*
pPV
)
const
{
if
(
mpPage
)
{
bool
bMaster
(
mpPage
->
IsMasterPage
());
SdrPage
*
pPg
=
pPV
->
GetPage
();
if
(
!
mpPage
)
return
true
;
if
(
pPg
==
mpPage
)
bool
bMaster
(
mpPage
->
IsMasterPage
());
SdrPage
*
pPg
=
pPV
->
GetPage
();
if
(
pPg
==
mpPage
)
{
if
(
mpObject
)
{
if
(
mpObject
)
{
// Looking for an object? First, determine if it visible in
// this PageView.
SetOfByte
aObjLay
;
mpObject
->
getMergedHierarchyLayerSet
(
aObjLay
);
aObjLay
&=
pPV
->
GetVisibleLayers
();
return
!
aObjLay
.
IsEmpty
();
}
else
{
return
true
;
}
// Looking for an object? First, determine if it visible in
// this PageView.
SetOfByte
aObjLay
;
mpObject
->
getMergedHierarchyLayerSet
(
aObjLay
);
aObjLay
&=
pPV
->
GetVisibleLayers
();
return
!
aObjLay
.
IsEmpty
();
}
else
{
if
(
!
mbNoMasterPage
&&
bMaster
&&
(
!
mpObject
||
!
mpObject
->
IsNotVisibleAsMaster
()))
return
true
;
}
}
else
if
(
!
mbNoMasterPage
&&
bMaster
&&
(
!
mpObject
||
!
mpObject
->
IsNotVisibleAsMaster
()))
{
if
(
pPg
->
TRG_HasMasterPage
())
{
SdrPage
&
rMasterPage
=
pPg
->
TRG_GetMasterPage
();
if
(
&
rMasterPage
==
mpPage
)
{
if
(
pPg
->
TRG_HasMasterPage
())
// the page we're looking for is a master page in this PageView
if
(
mpObject
)
{
SdrPage
&
rMasterPage
=
pPg
->
TRG_GetMasterPage
();
if
(
&
rMasterPage
==
mpPage
)
// Looking for an object? First, determine if it visible in
// this PageView.
SetOfByte
aObjLay
;
mpObject
->
getMergedHierarchyLayerSet
(
aObjLay
);
aObjLay
&=
pPV
->
GetVisibleLayers
();
aObjLay
&=
pPg
->
TRG_GetMasterPageVisibleLayers
();
if
(
!
aObjLay
.
IsEmpty
())
{
// the page we're looking for is a master page in this PageView
if
(
mpObject
)
{
// Looking for an object? First, determine if it visible in
// this PageView.
SetOfByte
aObjLay
;
mpObject
->
getMergedHierarchyLayerSet
(
aObjLay
);
aObjLay
&=
pPV
->
GetVisibleLayers
();
aObjLay
&=
pPg
->
TRG_GetMasterPageVisibleLayers
();
if
(
!
aObjLay
.
IsEmpty
())
{
return
true
;
}
// else, look at the next master page of this page...
}
else
{
return
true
;
}
}
return
true
;
}
// else, look at the next master page of this page...
}
else
{
return
true
;
}
}
// master page forbidden or no fitting master page found
return
false
;
}
}
else
{
return
true
;
}
}
// master page forbidden or no fitting master page found
return
false
;
}
SdrView
*
SdrViewIter
::
ImpFindView
()
{
...
...
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