I have develop an application to insert RTF document in Table cell.
for this :
1- I create a Table with 1 Row and 1 Cell at runtime.
2- Then I edit the cell to get the cell editor.
3- I save my RTF document (Form a JEDI JvRichEdit) to a Memory Stream.
4- And I insert the RTF stream in the cell editor.
It works, but when the RTF document exceeds one page, the table cell doesn't continue on the next page and the end of the RTF document is truncates.
So, is it possible to specify that a Table cell can be expanded on next pages when inserting RTF data ?
Or, ist here a simple procedure to copy each RTF lines in new table Rows ?
Insert RTF in table cell and multi pages problem
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
1. It does not matter how the document is created or imported, only the final result matters. If there will be a cell longer than page height, ScaleRichView truncates it.
2. Does it make sense to import in a table? You can send me a sample document to richviewgmailcom, may be I will be able to suggest a solution.
2. Does it make sense to import in a table? You can send me a sample document to richviewgmailcom, may be I will be able to suggest a solution.