Im trying to edit a table so i get some cells with words in bold. Im creating the rows and the cells and adding them to the table, not editing existing cells.
I looked for this in doc but i couldnt find it.
- Code: Select all
tc.getEGBlockLevelElts().add(WordMLPackage.getMainDocumentPart().createParagraphOfText("my bold text"))
This is the part of my code where i add the text to the cell. I suppose i have to create the paragraph with the bold format before added to cell.
Any help i really appreciate.
Thanks.