Search found 6 matches

by mediasofts
Tue Jul 13, 2010 3:19 pm
Forum: Support
Topic: How to print a document with differents margins ?
Replies: 1
Views: 8455

How to print a document with differents margins ?

Hi,

I'm using the RichView Package 1.9.24.
I'm trying to print a document with differents margins on the first page and the others.
Is it possible to set different margins with a unique TRVPrint ?
Otherwise, how could I proceed ?

Best regards
Régis
by mediasofts
Thu Apr 01, 2010 2:02 pm
Forum: Support
Topic: rvtoNoCellsSplit option
Replies: 1
Views: 7698

rvtoNoCellsSplit option

Hi Sergey, I use an old version of TRichViewEdit ( 1.9.48 ). in RVTable Unit there is TRVTablePrintOption type : TRVTablePrintOption = (rvtoHalftoneBorders, rvtoRowsSplit, { rvtoNoCellsSplit, } rvtoWhiteBackground); who got "rvtoNoCellsSplit" comented. i found "rvtoNoCellsSplit" on the same file ...
by mediasofts
Wed Feb 13, 2008 9:29 am
Forum: Support
Topic: How can i get the Column Size ?
Replies: 5
Views: 19184

Final function ....

Works only if there are no Merged Cells. And without percentCellWidth (width > 0). function ComputeColWidth(Table: TRVTableItemInfo; NoCol: integer): integer; var Delta : Integer; begin Delta := Table.CellPadding *2; if (NoCol=Table.ColCount-1) then begin // Last Column Delta := Delta + (Table ...
by mediasofts
Tue Feb 12, 2008 8:56 am
Forum: Support
Topic: How can i get the Column Size ?
Replies: 5
Views: 19184

Investigation....

:idea: This might be correct :

Code: Select all

if (C=0) or (C=ColCount-1) then
  ColWidth := CellWidth + (CellBorder*2) + BorderHSpacing + (CellHSpacing div 2)
else
  ColWidth := CellWidth + (CellBorder*2) + (CellHSpacing);

:lol: David
by mediasofts
Tue Feb 12, 2008 7:49 am
Forum: Support
Topic: How can i get the Column Size ?
Replies: 5
Views: 19184

More informations

Hi , I Use a "non-percent" width (width > 0). I find this on "RVTable.pas" L 7557: procedure SetWidth(c,w,x: Integer; Decrement: Boolean); var r,a,b,a1,b1,oldw: Integer; Changed: Boolean; Cell: TRVTableCellData; begin oldw := w-CellHPadding*2; if Decrement then begin if c<ColCount-1 then x := Fmt ...
by mediasofts
Thu Feb 07, 2008 12:42 pm
Forum: Support
Topic: How can i get the Column Size ?
Replies: 5
Views: 19184

How can i get the Column Size ?

It's possible to set the column size with " Table.ResizeCol " But how can i get a column size ? I use the property " Table.cells[0,i].Width ", but it doesn't work well ... ~-~ More informations : "I need to memorize the column width of a table and set there column widths to another table (with the ...