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
fdf12237
Kaydet (Commit)
fdf12237
authored
Ara 13, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
deploy references to keep layout alive long enough
Change-Id: Icac22d3c179eca42e01a724f7592ee4b34dd45e3
üst
a1426bc5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
lwpdoc.cxx
lotuswordpro/source/filter/lwpdoc.cxx
+3
-3
lwpdoc.hxx
lotuswordpro/source/filter/lwpdoc.hxx
+1
-1
lwplayout.cxx
lotuswordpro/source/filter/lwplayout.cxx
+7
-7
lwplayout.hxx
lotuswordpro/source/filter/lwplayout.hxx
+1
-1
No files found.
lotuswordpro/source/filter/lwpdoc.cxx
Dosyayı görüntüle @
fdf12237
...
...
@@ -646,7 +646,7 @@ LwpDocument* LwpDocument::GetPreviousDivision()
LwpDocument
*
pLastDoc
=
pRoot
?
pRoot
->
GetLastDivisionWithContents
()
:
nullptr
;
while
(
pLastDoc
)
{
if
(
pLastDoc
->
GetEnSuperTableLayout
())
if
(
pLastDoc
->
GetEnSuperTableLayout
().
is
())
return
pLastDoc
;
pLastDoc
=
pLastDoc
->
GetPreviousDivisionWithContents
();
}
...
...
@@ -656,14 +656,14 @@ LwpDocument* LwpDocument::GetPreviousDivision()
/**
* @descr Get endnote supertable layout, every division has only one endnote supertable layout.
*/
LwpVirtualLayout
*
LwpDocument
::
GetEnSuperTableLayout
()
rtl
::
Reference
<
LwpVirtualLayout
>
LwpDocument
::
GetEnSuperTableLayout
()
{
LwpHeadLayout
*
pHeadLayout
=
dynamic_cast
<
LwpHeadLayout
*>
(
GetFoundry
()
->
GetLayout
().
obj
().
get
());
if
(
pHeadLayout
)
{
return
pHeadLayout
->
FindEnSuperTableLayout
();
}
return
nullptr
;
return
rtl
::
Reference
<
LwpVirtualLayout
>
()
;
}
/**
...
...
lotuswordpro/source/filter/lwpdoc.hxx
Dosyayı görüntüle @
fdf12237
...
...
@@ -159,7 +159,7 @@ public:
LwpDocument
*
GetLastDivision
();
LwpDocument
*
GetFirstDivision
();
LwpVirtualLayout
*
GetEnSuperTableLayout
();
rtl
::
Reference
<
LwpVirtualLayout
>
GetEnSuperTableLayout
();
bool
GetNumberOfPages
(
LwpDocument
*
pEndDivision
,
sal_uInt16
&
nCount
);
sal_uInt16
GetNumberOfPagesBefore
();
...
...
lotuswordpro/source/filter/lwplayout.cxx
Dosyayı görüntüle @
fdf12237
...
...
@@ -499,18 +499,18 @@ void LwpHeadLayout::RegisterStyle()
* @descr find endnote supertable layout from the child layout list. Suppose that there is only one endnote supertablelayout in one division
* @return pointer to endnote supertable layout
*/
LwpVirtualLayout
*
LwpHeadLayout
::
FindEnSuperTableLayout
()
rtl
::
Reference
<
LwpVirtualLayout
>
LwpHeadLayout
::
FindEnSuperTableLayout
()
{
LwpVirtualLayout
*
pLayout
=
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
(
));
while
(
pLayout
)
rtl
::
Reference
<
LwpVirtualLayout
>
xLayout
(
dynamic_cast
<
LwpVirtualLayout
*>
(
GetChildHead
().
obj
().
get
()
));
while
(
xLayout
.
get
()
)
{
if
(
p
Layout
->
GetLayoutType
()
==
LWP_ENDNOTE_SUPERTABLE_LAYOUT
)
if
(
x
Layout
->
GetLayoutType
()
==
LWP_ENDNOTE_SUPERTABLE_LAYOUT
)
{
return
p
Layout
;
return
x
Layout
;
}
pLayout
=
dynamic_cast
<
LwpVirtualLayout
*>
(
pLayout
->
GetNext
().
obj
().
get
(
));
xLayout
.
set
(
dynamic_cast
<
LwpVirtualLayout
*>
(
xLayout
->
GetNext
().
obj
().
get
()
));
}
return
nullptr
;
return
rtl
::
Reference
<
LwpVirtualLayout
>
()
;
}
LwpLayoutStyle
::
LwpLayoutStyle
()
...
...
lotuswordpro/source/filter/lwplayout.hxx
Dosyayı görüntüle @
fdf12237
...
...
@@ -266,7 +266,7 @@ public:
LwpHeadLayout
(
LwpObjectHeader
&
objHdr
,
LwpSvStream
*
pStrm
);
virtual
~
LwpHeadLayout
(){}
void
RegisterStyle
()
override
;
LwpVirtualLayout
*
FindEnSuperTableLayout
();
rtl
::
Reference
<
LwpVirtualLayout
>
FindEnSuperTableLayout
();
protected
:
void
Read
()
override
;
virtual
LWP_LAYOUT_TYPE
GetLayoutType
()
override
{
return
LWP_HEAD_LAYOUT
;}
...
...
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