Table Center and View like Word
Posted: Thu Apr 15, 2010 2:20 pm
Hi,
I am discovering Richview and it's really impressive.
I have read the help file, but i have two questions.
1) In a RichViewEdit, if i do :
The table is not centered??
2) I reuse the code of ActionTest demo.
is it possible to view only A4 page and not a blank page larger than 21 cm?
Like MsWord or OpenOffice in Standard mode.
Thanks,
Artis
I am discovering Richview and it's really impressive.
I have read the help file, but i have two questions.
1) In a RichViewEdit, if i do :
Code: Select all
Table := TRVTableItemInfo.CreateEx(1,3,RVe_CR.RVData);
Table.BestWidth := -80;
Table.CellHPadding := 3;
Table.ParaNo := 1; //This ParaStyle is Centered
Table.InsertRows(Table.RowCount,1,0);
RVE_CR.InsertItem('CompteResultat', table);
RVE_CR.Format;
2) I reuse the code of ActionTest demo.
is it possible to view only A4 page and not a blank page larger than 21 cm?
Like MsWord or OpenOffice in Standard mode.
Thanks,
Artis