From 4f3b802513f45d520c19982340006de4b8cad22e Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Wed, 7 Sep 2011 14:58:42 +0000 Subject: [PATCH] add sprmPDxaLeft1 0x8460 PAPX SPRM support git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166209 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hwpf/sprm/ParagraphSprmUncompressor.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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) -- 2.39.5