From: Sergey Vladimirov Date: Wed, 7 Sep 2011 14:58:42 +0000 (+0000) Subject: add sprmPDxaLeft1 0x8460 PAPX SPRM support X-Git-Tag: REL_3_8_BETA5~182 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4f3b802513f45d520c19982340006de4b8cad22e;p=poi.git add sprmPDxaLeft1 0x8460 PAPX SPRM support git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166209 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java index dad351e080..3b610b5d95 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java @@ -412,13 +412,18 @@ public final class ParagraphSprmUncompressor // sprmPFInnerTtp -- 0x244c newPAP.setFTtpEmbedded( sprm.getOperand() != 0); break; + case 0x60: + // sprmPDxaLeft1 -- 0x8460 + newPAP.setDxaLeft1( sprm.getOperand() ); + break; case 0x61: // sprmPJc newPAP.setJustificationLogical((byte) sprm.getOperand()); break; - default: - break; - } + default: + logger.log( POILogger.DEBUG, "Unknown PAP sprm ignored: " + sprm ); + break; + } } private static void handleTabs(ParagraphProperties pap, SprmOperation sprm)