update 20260420

This commit is contained in:
Stefan Hutter
2026-04-20 13:03:20 +02:00
parent c60ba71f9d
commit 9629f247f9
81 changed files with 289 additions and 138 deletions

View File

@@ -524,7 +524,7 @@ namespace DOCGEN.Klassen
//Insert table next to that paragraph
// paragraph.OwnerTextBody.ChildEntities.RemoveAt(index+1);
paragraph.OwnerTextBody.ChildEntities.Insert(index + 1, table);
return table;
}
@@ -633,13 +633,17 @@ namespace DOCGEN.Klassen
{
for (int j = 0; j < dt.Columns.Count; j++)
{
string celltext = dt.Rows[i][dt.Columns[j]].ToString();
celltext = celltext.Replace(" lautend auf ", " lautend auf"+Environment.NewLine);
if (fonts == "0")
{
table[i, j].AddParagraph().AppendText(dt.Rows[i][dt.Columns[j]].ToString());
table[i, j].AddParagraph().AppendText(celltext);
}
else
{
IWTextRange textRange = table[i, j].AddParagraph().AppendText(dt.Rows[i][dt.Columns[j]].ToString());
IWTextRange textRange = table[i, j].AddParagraph().AppendText(celltext);
textRange.CharacterFormat.FontSize = Convert.ToInt32(fonts);
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.