ASF Bugzilla – Attachment 3317 Details for
Bug 13219
[PATCH] Odd formatting when using user data formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to Workbook to get user defined formats to not interfere with cell formats
patch.txt (text/plain), 843 bytes, created by
Shawn Laubach
on 2002-10-02 20:47:42 UTC
(
hide
)
Description:
Patch to Workbook to get user defined formats to not interfere with cell formats
Filename:
MIME Type:
Creator:
Shawn Laubach
Created:
2002-10-02 20:47:42 UTC
Size:
843 bytes
patch
obsolete
>Index: src/java/org/apache/poi/hssf/model/Workbook.java >=================================================================== >RCS file: /home/cvspublic/jakarta-poi/src/java/org/apache/poi/hssf/model/Workbook.java,v >retrieving revision 1.16 >diff -u -r1.16 Workbook.java >--- src/java/org/apache/poi/hssf/model/Workbook.java 6 Sep 2002 04:08:30 -0000 1.16 >+++ src/java/org/apache/poi/hssf/model/Workbook.java 2 Oct 2002 20:39:10 -0000 >@@ -1848,6 +1848,8 @@ > * @see org.apache.poi.hssf.record.Record > */ > public short createFormat(String format) { >+ ++xfpos; //These are to ensure that positions are updated properly >+ ++bspos; > FormatRecord rec = new FormatRecord(); > maxformatid = maxformatid >= (short)0xa4 ? (short)(maxformatid + 1) : (short)0xa4; //Starting value from M$ empiracle study. > rec.setIndexCode(maxformatid);
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 13219
: 3317