When copied content from table cell and copied to other document formatting is gone

Hello,

we are considering using Aspose Word but have one important issue:
When copied content from table cell and copied to other document formatting is gone.
No bullets or links (HYPERLINK wording instead of).
Like this all I am getting from Table node
node.FirstRow.FirstCell.Range.Text

as you see no formatting just hyperlink note

BOLD 
HYPERLINK "http://www.goggle.com"  \h HyperLink 
Italic 
Different font size 
Backcolor

Anyway can we copy text with formatting from to Word table cell element?

Another question… node.ClearBorders(); does not work.

@milazora You should use NodeImorter.ImportNode method to import node from one document to another. Please see the following article to learn how to copy individual nodes between documents:
https://docs.aspose.com/words/net/insert-and-append-documents/#import-and-insert-nodes-manually

Please change the code to this to hide borders:

builder.CellFormat.Borders.LineStyle = LineStyle.None;
1 Like

Thank you so much, Great support!

1 Like