Lines 24-29
Link Here
|
24 |
import org.apache.poi.hwpf.usermodel.ShadingDescriptor; |
24 |
import org.apache.poi.hwpf.usermodel.ShadingDescriptor; |
25 |
import org.apache.poi.hwpf.usermodel.DropCapSpecifier; |
25 |
import org.apache.poi.hwpf.usermodel.DropCapSpecifier; |
26 |
import org.apache.poi.util.LittleEndian; |
26 |
import org.apache.poi.util.LittleEndian; |
|
|
27 |
import org.apache.poi.util.POILogFactory; |
28 |
import org.apache.poi.util.POILogger; |
27 |
|
29 |
|
28 |
import java.util.HashMap; |
30 |
import java.util.HashMap; |
29 |
import java.util.Iterator; |
31 |
import java.util.Iterator; |
Lines 33-38
Link Here
|
33 |
public final class ParagraphSprmUncompressor |
35 |
public final class ParagraphSprmUncompressor |
34 |
extends SprmUncompressor |
36 |
extends SprmUncompressor |
35 |
{ |
37 |
{ |
|
|
38 |
private static final POILogger logger = POILogFactory |
39 |
.getLogger( ParagraphSprmUncompressor.class ); |
40 |
|
36 |
public ParagraphSprmUncompressor() |
41 |
public ParagraphSprmUncompressor() |
37 |
{ |
42 |
{ |
38 |
} |
43 |
} |
Lines 60-66
Link Here
|
60 |
// table row |
65 |
// table row |
61 |
if (sprm.getType() == SprmOperation.PAP_TYPE) |
66 |
if (sprm.getType() == SprmOperation.PAP_TYPE) |
62 |
{ |
67 |
{ |
63 |
unCompressPAPOperation(newProperties, sprm); |
68 |
try |
|
|
69 |
{ |
70 |
unCompressPAPOperation( newProperties, sprm ); |
71 |
} |
72 |
catch ( Exception exc ) |
73 |
{ |
74 |
logger.log( |
75 |
POILogger.ERROR, |
76 |
"Unable to apply SPRM operation '" |
77 |
+ sprm.getOperation() + "': ", exc ); |
78 |
} |
64 |
} |
79 |
} |
65 |
} |
80 |
} |
66 |
|
81 |
|