I am hesitant about adding List<Run> runs = Paragraphs.runs to DocX because DocX is suppose to hide the awful internal structure of documents from the user.
I would prefer to add Paragraph.styles which returns a Dictionary<int, Formatting> the int's being the character index that the Formatting is applied from and the Formatting object being the same as the one used for insert and replace text.
How do people feel about this?
On 22 Apr 2011 15:20, "cathal coffey" <firstname.lastname@example.org
> This is tricky because font and size are applied at the run level.
> A row can contain many cells which can each contain many paragraphs which
> can each contain many runs.
> This is why new rows have no text formatting when they are first added.
> Can you think of a good why to impliment what you want?
> On 22 Apr 2011 15:00, "gmhamm0" <email@example.com
>> From: gmhamm0
>> I have a table in a document that I am trying to append rows to. When I
> add the new rows, the text in the rows doesn't match the font family and
> font size of the existing rows. Is there a way to get the font and size of
> the existing rows and apply that to the new rows to append?