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
687d6ed3
Kaydet (Commit)
687d6ed3
authored
Nis 16, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
provide complete type of CellInfo before it is used
üst
c2968f41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
43 deletions
+44
-43
WW8TableInfo.hxx
sw/source/filter/ww8/WW8TableInfo.hxx
+44
-43
No files found.
sw/source/filter/ww8/WW8TableInfo.hxx
Dosyayı görüntüle @
687d6ed3
...
...
@@ -26,6 +26,7 @@
#include <hash_map>
#include <string>
#include <map>
#include <vector>
#include <functional>
#include <boost/shared_ptr.hpp>
#include <sal/types.h>
...
...
@@ -113,7 +114,48 @@ public:
string
toString
()
const
;
};
class
CellInfo
;
class
CellInfo
{
SwRect
m_aRect
;
WW8TableNodeInfo
*
m_pNodeInfo
;
unsigned
long
m_nFmtFrmWidth
;
public
:
CellInfo
(
const
SwRect
&
aRect
,
WW8TableNodeInfo
*
pNodeInfo
);
CellInfo
(
const
CellInfo
&
aRectAndTableInfo
)
:
m_aRect
(
aRectAndTableInfo
.
m_aRect
),
m_pNodeInfo
(
aRectAndTableInfo
.
m_pNodeInfo
),
m_nFmtFrmWidth
(
aRectAndTableInfo
.
m_nFmtFrmWidth
)
{
}
~
CellInfo
()
{}
bool
operator
<
(
const
CellInfo
&
aCellInfo
)
const
;
long
top
()
const
{
return
m_aRect
.
Top
();
}
long
bottom
()
const
{
return
m_aRect
.
Bottom
();
}
long
left
()
const
{
return
m_aRect
.
Left
();
}
long
right
()
const
{
return
m_aRect
.
Right
();
}
long
width
()
const
{
return
m_aRect
.
Width
();
}
long
height
()
const
{
return
m_aRect
.
Height
();
}
SwRect
getRect
()
const
{
return
m_aRect
;
}
WW8TableNodeInfo
*
getTableNodeInfo
()
const
{
return
m_pNodeInfo
;
}
unsigned
long
getFmtFrmWidth
()
const
{
return
m_nFmtFrmWidth
;
}
void
setFmtFrmWidth
(
unsigned
long
nFmtFrmWidth
)
{
m_nFmtFrmWidth
=
nFmtFrmWidth
;
}
::
std
::
string
toString
()
const
;
};
typedef
::
std
::
multiset
<
CellInfo
,
less
<
CellInfo
>
>
CellInfoMultiSet
;
typedef
boost
::
shared_ptr
<
CellInfoMultiSet
>
CellInfoMultiSetPtr
;
...
...
@@ -306,47 +348,6 @@ public:
WW8TableNodeInfo
*
reorderByLayout
(
const
SwTable
*
pTable
);
};
class
CellInfo
{
SwRect
m_aRect
;
WW8TableNodeInfo
*
m_pNodeInfo
;
unsigned
long
m_nFmtFrmWidth
;
public
:
CellInfo
(
const
SwRect
&
aRect
,
WW8TableNodeInfo
*
pNodeInfo
);
CellInfo
(
const
CellInfo
&
aRectAndTableInfo
)
:
m_aRect
(
aRectAndTableInfo
.
m_aRect
),
m_pNodeInfo
(
aRectAndTableInfo
.
m_pNodeInfo
),
m_nFmtFrmWidth
(
aRectAndTableInfo
.
m_nFmtFrmWidth
)
{
}
~
CellInfo
()
{}
bool
operator
<
(
const
CellInfo
&
aCellInfo
)
const
;
long
top
()
const
{
return
m_aRect
.
Top
();
}
long
bottom
()
const
{
return
m_aRect
.
Bottom
();
}
long
left
()
const
{
return
m_aRect
.
Left
();
}
long
right
()
const
{
return
m_aRect
.
Right
();
}
long
width
()
const
{
return
m_aRect
.
Width
();
}
long
height
()
const
{
return
m_aRect
.
Height
();
}
SwRect
getRect
()
const
{
return
m_aRect
;
}
WW8TableNodeInfo
*
getTableNodeInfo
()
const
{
return
m_pNodeInfo
;
}
unsigned
long
getFmtFrmWidth
()
const
{
return
m_nFmtFrmWidth
;
}
void
setFmtFrmWidth
(
unsigned
long
nFmtFrmWidth
)
{
m_nFmtFrmWidth
=
nFmtFrmWidth
;
}
::
std
::
string
toString
()
const
;
};
}
#endif // WW8_TABLE_INFO_HXX
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