ASF Bugzilla – Attachment 30226 Details for
Bug 54722
HSLF: Text cannot be read from tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for reading text from tables
patch.diff (text/plain), 1.49 KB, created by
Phil Persad
on 2013-04-25 16:59:17 UTC
(
hide
)
Description:
Patch for reading text from tables
Filename:
MIME Type:
Creator:
Phil Persad
Created:
2013-04-25 16:59:17 UTC
Size:
1.49 KB
patch
obsolete
>Index: src/scratchpad/src/org/apache/poi/hslf/record/PPDrawing.java >=================================================================== >--- src/scratchpad/src/org/apache/poi/hslf/record/PPDrawing.java (revision 81940) >+++ src/scratchpad/src/org/apache/poi/hslf/record/PPDrawing.java (revision 83423) >@@ -25,6 +25,7 @@ > > import java.io.IOException; > import java.io.OutputStream; >+import java.util.Arrays; > import java.util.LinkedList; > import java.util.List; > import java.util.Vector; >@@ -100,7 +101,11 @@ > private EscherTextboxWrapper[] findInDgContainer(final EscherContainerRecord escherContainerF002) { > final List<EscherTextboxWrapper> found = new LinkedList<EscherTextboxWrapper>(); > final EscherContainerRecord SpgrContainer = findFirstEscherContainerRecordOfType((short)0xf003, escherContainerF002); >- final EscherContainerRecord[] escherContainersF004 = findAllEscherContainerRecordOfType((short)0xf004, SpgrContainer); >+ final List<EscherContainerRecord> escherContainersF004 = new LinkedList<EscherContainerRecord>(); >+ escherContainersF004.addAll(Arrays.asList(findAllEscherContainerRecordOfType((short)0xf004, SpgrContainer))); >+ for(EscherContainerRecord rec : findAllEscherContainerRecordOfType((short)0xf003, SpgrContainer)) { >+ escherContainersF004.addAll(Arrays.asList(findAllEscherContainerRecordOfType((short)0xf004, rec))); >+ } > for (EscherContainerRecord spContainer : escherContainersF004) { > StyleTextProp9Atom nineAtom = findInSpContainer(spContainer); > EscherSpRecord sp = null;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54722
:
30077
| 30226