default to preserved trailing space for print item label ( printname ) since it is commonly used for formatting purpose.
This commit is contained in:
parent
1a33572fa9
commit
901d215f3a
|
@ -29,6 +29,11 @@ public class PoExporter {
|
|||
|
||||
private void addTextElement(String qName, String text, AttributesImpl atts) {
|
||||
try {
|
||||
//default trim to false for print item label since trailing space is commonly use
|
||||
//for formatting purpose
|
||||
if (qName.equalsIgnoreCase("PrintName")) {
|
||||
atts.addAttribute("", "", "trim", "CDATA", "false");
|
||||
}
|
||||
transformerHandler.startElement("", "", qName, atts);
|
||||
append(text);
|
||||
transformerHandler.endElement("", "", qName);
|
||||
|
|
Loading…
Reference in New Issue