Hi
I nead your help!
How can I append several text-styles at the same line into table.cells (by code)? Is it possible?
with table.cells(r,c)
do begin
AddNL(), AddTextNL() (Creates new lines for each TextStyle)
Add(), AddText() (aren't usefull)
end;
Several TextStyles in same line into Table.Cells
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
You can use AddNL() with ParaNo parameter = -1. This means adding in the same paragraph as the previous line. Such calls of AddNL() (with ParaNo=-1) are the same as calls of Add().
AddTextNL() can be used too (with FirstParaNo parameter = -1).
AddText() is a deprecated method.
PS: Each cell initially has one empty text item. Before adding new text, you can delete it by calling Cell.Clear().
AddTextNL() can be used too (with FirstParaNo parameter = -1).
AddText() is a deprecated method.
PS: Each cell initially has one empty text item. Before adding new text, you can delete it by calling Cell.Clear().
Last edited by Sergey Tkachenko on Wed Apr 09, 2008 5:51 am, edited 1 time in total.