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
7d2ec4c0
Kaydet (Commit)
7d2ec4c0
authored
Mar 02, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dig out lotuswordpros table limits
Change-Id: Iea7d436a78336de150b3d3ae317b99b554fb8657
üst
d6960667
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
lwptable.hxx
lotuswordpro/source/filter/lwptable.hxx
+3
-0
lwptablelayout.cxx
lotuswordpro/source/filter/lwptablelayout.cxx
+8
-0
No files found.
lotuswordpro/source/filter/lwptable.hxx
Dosyayı görüntüle @
7d2ec4c0
...
...
@@ -170,7 +170,10 @@ protected:
LwpObjectID
cDefaultLeftColumnStyle
;
LwpObjectID
cDefaultRightColumnStyle
;
};
#define MAX_NUM_ROWS 8192
#define MAX_NUM_COLS 255
class
LwpGlossary
:
public
LwpParallelColumns
{
public
:
...
...
lotuswordpro/source/filter/lwptablelayout.cxx
Dosyayı görüntüle @
7d2ec4c0
...
...
@@ -700,6 +700,14 @@ void LwpTableLayout::RegisterStyle()
// get row/column number of this table
m_nRows
=
pTable
->
GetRow
();
m_nCols
=
pTable
->
GetColumn
();
//http://www.danielsays.com/ss-gallery-win1x2x3x-lotus-word-pro-96.html
//tables with up to 255 rows and 8192 columns
//the row limit tallies with the casting of m_nCols to an unsigned char
//elsewhere
if
(
m_nRows
>
MAX_NUM_ROWS
)
throw
std
::
runtime_error
(
"max legal row exceeded"
);
if
(
m_nCols
>
MAX_NUM_COLS
)
throw
std
::
runtime_error
(
"max legal column exceeded"
);
// get default cell layout of current table
LwpObjectID
&
rID
=
pTable
->
GetDefaultCellStyle
();
...
...
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