ASF Bugzilla – Attachment 29427 Details for
Bug 53943
[PATCH] added method processSymbol() to allow converting word symbols
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
proposed patch
patch.txt (text/plain), 1.17 KB, created by
Josh Holthaus
on 2012-09-27 21:26:33 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Josh Holthaus
Created:
2012-09-27 21:26:33 UTC
Size:
1.17 KB
patch
obsolete
>Index: src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java >=================================================================== >--- src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java (revision 1391199) >+++ src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java (working copy) >@@ -520,6 +520,13 @@ > processOle2( doc, characterRun, block ); > continue; > } >+ if ( characterRun.isSymbol() >+ && ( wordDocument instanceof HWPFDocument ) ) >+ { >+ HWPFDocument doc = (HWPFDocument) wordDocument; >+ processSymbol( doc, characterRun, block ); >+ continue; >+ } > } > > if ( text.getBytes()[0] == FIELD_BEGIN_MARK ) >@@ -1003,6 +1010,12 @@ > return false; > } > } >+ >+ protected void processSymbol( HWPFDocument doc, CharacterRun characterRun, >+ Element block ) >+ { >+ >+ } > > @SuppressWarnings( "unused" ) > protected boolean processOle2( HWPFDocument wordDocument, Element block,
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 Raw
Actions:
View
Attachments on
bug 53943
: 29427