Hello, I try to copy a cell which contains a String in an ODS file to another cell and I want to keep the string styles. In order to copy A1 to A2, I currently do something like :
Sheet sheet = SpreadSheet.createFromFile("input.ods").getSheet(0); sheet.getCellAt("A2").setValue(sheet.getCellAt("A1")); Problem: the content of A1 is written in A2 including the XML tags as plain text It seems setValue() method encodes the parameter and convert the xml special characters (like '<' and '>') to html characters. (< >) Is there any way to avoid this behaviour ? Thank you ! -- --- You received this message because you are subscribed to the Google Groups "jOpenDocument" group. To unsubscribe from this group and stop receiving emails from it, send an email to jopendocument+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.