Hello,
on a RichView, the customer create a document with a specif tag. This tag is replaced by a Table width some information (the 3rd column on the pictture)
in the RichvView editor everything seems ok with "GUILLAUME" on a second line so the table do not overflow the document width, but in TRVPrint (and on a printer/pdf...) the line do not split and the table is truncated.
how can I avoid that ?
Thanks
Table and print width
Table and print width
- Attachments
-
- sample.rvf
- the document
- (4.02 KiB) Downloaded 488 times
-
- the document in TRVPrint
- table2.png (11.37 KiB) Viewed 50779 times
-
- the document in TRichViewEdit
- table1.png (15.78 KiB) Viewed 50779 times
-
- Site Admin
- Posts: 17748
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Table and print width
In this table, there are some cells that cannot be made narrower.
These are 3 cells containing images, and the cell with text "Nom de naissance: DESMAUX...". The latter cell has fixed BestWidth property (=343 pixels at 96 dpi) and it is the main problem, because this is the widest unshrinkable cell.
You can make the following changes for the nested table containing the text "Nom de naissance: DESMAUX...":
1) Define width of this table = 80% (table.BestWidth = -80), and
2) Define width of the first cell = auto (table.Cells[0,0].BestWidth = 0)
PS: I guess you also set rvtoIgnoreContentWidth in Options of the root table. Otherwise, it would be truncated differently on printing.
These are 3 cells containing images, and the cell with text "Nom de naissance: DESMAUX...". The latter cell has fixed BestWidth property (=343 pixels at 96 dpi) and it is the main problem, because this is the widest unshrinkable cell.
You can make the following changes for the nested table containing the text "Nom de naissance: DESMAUX...":
1) Define width of this table = 80% (table.BestWidth = -80), and
2) Define width of the first cell = auto (table.Cells[0,0].BestWidth = 0)
PS: I guess you also set rvtoIgnoreContentWidth in Options of the root table. Otherwise, it would be truncated differently on printing.
Re: Table and print width
ok, in fact BestWidth is set to 1, and the text paragraph has the option rvpaoNoWrap
what confuse me, is that TRichViewEdit split the line anyway...so I expected to have the same effect when printing.
what confuse me, is that TRichViewEdit split the line anyway...so I expected to have the same effect when printing.
-
- Site Admin
- Posts: 17748
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Table and print width
Probably this document was modified before printing, because in the file that you sent to me word-wrapping is not turned off, in the cell width is 343 pixels.