https://issues.apache.org/bugzilla/show_bug.cgi?id=51389

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Yegor Kozlov <[email protected]> 2011-06-20 08:09:44 UTC ---
Should be fixed in r1137538

The missing line wasn't in the patch.  Below are the changes for
ParagraphSprmUncompressor from the scratchpad patch:

--- src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java    (revision
1135282)
+++ src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java    (working
copy)
@@ -346,8 +346,7 @@
         }
         break;
       case 0x41:
-
-        // undocumented
+        // sprmPFBiDi 
         break;
       case 0x43:

@@ -387,7 +386,8 @@
         newPAP.setFTtpEmbedded((byte)sprm.getOperand());
         break;
       case 0x61:
-        // Logicial justification of the paragraph, eg left, centre, right
+        // sprmPJc 
+        newPAP.setJustificationLogical((byte) sprm.getOperand());
         break;
       default:
         break;


Regards,
Yegor

(In reply to comment #5)
> Yegor,
> 
> One change to ParagraphSprmUncompressor.java lost
> 
> Index: ParagraphSprmUncompressor.java
> ===================================================================
> --- ParagraphSprmUncompressor.java    (revision 1137143)
> +++ ParagraphSprmUncompressor.java    (working copy)
> @@ -346,7 +346,8 @@
>          }
>          break;
>        case 0x41:
> -        // sprmPFBiDi 
> +        // sprmPFBiDi
> +        newPAP.setFBiDi((byte) sprm.getOperand());
>          break;
>        case 0x43:
> 
> It is required for correct processing of logical left-right justification.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to