poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1166209 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java
Date Wed, 07 Sep 2011 14:58:43 GMT
Author: sergey
Date: Wed Sep  7 14:58:42 2011
New Revision: 1166209

URL: http://svn.apache.org/viewvc?rev=1166209&view=rev
Log:
add sprmPDxaLeft1 0x8460 PAPX SPRM support

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java?rev=1166209&r1=1166208&r2=1166209&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java Wed
Sep  7 14:58:42 2011
@@ -412,13 +412,18 @@ public final class ParagraphSprmUncompre
             // 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)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message