fangd1997 commented on code in PR #670:
URL: https://github.com/apache/poi/pull/670#discussion_r1716995491
##########
poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java:
##########
@@ -1564,6 +1564,9 @@ private void _getText(XmlObject o, StringBuilder text) {
final Node node = o.getDomNode();
if
(XSSFRelation.NS_WORDPROCESSINGML.equals(node.getNamespaceURI())) {
switch (node.getLocalName()) {
+ case "noBreakHyphen":
+ text.append('‑');
Review Comment:
Due to the inability to directly copy the ‑ character from Word, I chose
Unicode Non-Breaking-Hyphen char(/u2011), which has the same meaning, as the
replacement for w:noBreakHyphen
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]