Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Remote reference formula support

    12 answers - 1150 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    PI HSSF doesnt seem to support remote reference formula(supported by
    excel). I am trying to do something like this:
    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet("new sheet");
    HSSFRow row = sheet.createRow((short) 0);
    //Create a cell and put a value in it.
    HSSFCell mycell = row.createCell((short)0);
    mycell.setCellType(HSSFCell.CELL_TYPE_FRMULA);
    mycell.setCellFormula("BLP|M!MSFT"); //remote reference formula
    I am getting the following error:
    String index out of range: 0
    at java.lang.String.charAt(String.java:444)
    at <init>(CellReference.java:44)
    at <init>(ReferencePtg.java:50)
    at (FormulaParser.java:320)
    at (FormulaParser.java:524)
    at (FormulaParser.java:602)
    at (FormulaParser.java:651)
    at (FormulaParser.java:756)
    at (HSSFCell.java:689)
    I can enter the formula manually in excel and it works. CAn this be
    done in HSSF?Pls help.
    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
  • No.1 | | 1465 bytes | |

    >CAn this be
    done in HSSF?Pls help.

    If its throwing an exception, then apparently not :)

    Whats a remote reference formula? Is that a pipe character? What does it
    do?

    Can you provide the parsed result of such a formula (using biffviewer?)

    Tue, 2005-06-14 at 12:05 +0200, Nishant Chandra wrote:
    PI HSSF doesnt seem to support remote reference formula(supported by
    excel). I am trying to do something like this:

    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet("new sheet");

    HSSFRow row = sheet.createRow((short) 0);
    //Create a cell and put a value in it.

    HSSFCell mycell = row.createCell((short)0);
    mycell.setCellType(HSSFCell.CELL_TYPE_FRMULA);
    mycell.setCellFormula("BLP|M!MSFT"); //remote reference formula

    I am getting the following error:

    String index out of range: 0
    at java.lang.String.charAt(String.java:444)
    at <init>(CellReference.java:44)
    at <init>(ReferencePtg.java:50)
    at (FormulaParser.java:320)
    at (FormulaParser.java:524)
    at (FormulaParser.java:602)
    at (FormulaParser.java:651)
    at (FormulaParser.java:756)
    at (HSSFCell.java:689)

    I can enter the formula manually in excel and it works. CAn this be
    done in HSSF?Pls help.

    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
  • No.2 | | 42366 bytes | |

    yes its a pipe character and its supported in excel.
    heres what biffviewer gave me for the remote reference formula
    =blp|m!'MSFT US Equity,[LAST_TRADE]' :

    0x0 (0)
    recordid = 0x809, size = 16
    [BF RECRD]
    .version = 600
    .type = 5
    .build = 1cfe
    .buildyear = 1997
    .history = 40c9
    .requiredversion = 106
    [/BF RECRD]

    0x14 (20)
    recordid = 0xe1, size = 2
    [INTERFACEHDR]
    .codepage = 4b0
    [/INTERFACEHDR]

    0x1a (26)
    recordid = 0xc1, size = 2
    [MMS]
    .addMenu = 0
    .delMenu = 0
    [/MMS]

    0x20 (32)
    recordid = 0xe2, size = 0
    [INTERFACEEND]
    [/INTERFACEEND]

    0x24 (36)
    recordid = 0x5c, size = 112
    [WRITEACCESS]
    .name = UPSILN S.A.
    [/WRITEACCESS]

    0x98 (152)
    recordid = 0x42, size = 2
    [CDEPAGE]
    .codepage = 4b0
    [/CDEPAGE]

    0x9e (158)
    recordid = 0x161, size = 2
    [DSF]
    .isDSF = 0
    [/DSF]

    **N RECRD DATA**

    0xa8 (168)
    recordid = 0x13d, size = 4
    [TABID]
    .elements = 2
    .element_0 = 1
    .element_1 = 0
    [/TABID]

    0xb0 (176)
    recordid = 0x9c, size = 2
    [FNGRUP****]
    .count = 14
    [/FNGRUP****]

    0xb6 (182)
    recordid = 0x19, size = 2
    [WINDWPRTECT]
    .protect = false
    [/WINDWPRTECT]

    0xbc (188)
    recordid = 0x12, size = 2
    [PRTECT]
    .protect = false
    [/PRTECT]

    0xc2 (194)
    recordid = 0x13, size = 2
    [PASSWRD]
    .password = 0
    [/PASSWRD]

    0xc8 (200)
    recordid = 0x1af, size = 2
    [PRT4REV]
    .protect = false
    [/PRT4REV]

    0xce (206)
    recordid = 0x1bc, size = 2
    [PRT4REVPASSWRD]
    .password = 0
    [/PRT4REVPASSWRD]

    0xd4 (212)
    recordid = 0x3d, size = 18
    [WINDW1]
    .h_hold = 168
    .v_hold = 10e
    .width = 3a5c
    .height = 23be
    .options = 38
    .hidden = false
    .iconic = false
    .hscroll = true
    .vscroll = true
    .tabs = true
    .selectedtab = 1
    .displayedtab = 0
    .numselectedtabs = 1
    .tabwidthratio = 258
    [/WINDW1]

    0xea (234)
    recordid = 0x40, size = 2
    [BACKUP]
    .backup = 0
    [/BACKUP]

    0xf0 (240)
    recordid = 0x8d, size = 2
    [HIDEBJ]
    .hideobj = 0
    [/HIDEBJ]

    0xf6 (246)
    recordid = 0x22, size = 2
    [1904]
    .is1904 = 0
    [/1904]

    0xfc (252)
    recordid = 0xe, size = 2
    [PRECISIN]
    .precision = true
    [/PRECISIN]

    0x102 (258)
    recordid = 0x1b7, size = 2
    [REFRESHALL]
    .refreshall = false
    [/REFRESHALL]

    0x108 (264)
    recordid = 0xda, size = 2
    [BKBL]
    .savelinkvalues = 0
    [/BKBL]

    0x10e (270)
    recordid = 0x31, size = 26
    [FNT]
    .fontheight = c8
    .attributes = 0
    .italic = false
    .strikout = false
    .macoutlined= false
    .macshadowed= false
    .colorpalette = 7fff
    .boldweight = 190
    .supersubscript = 0
    .underline = 0
    .family = 0
    .charset = 0
    .namelength = 5
    .fontname = Arial
    [/FNT]

    0x12c (300)
    recordid = 0x31, size = 26
    [FNT]
    .fontheight = c8
    .attributes = 0
    .italic = false
    .strikout = false
    .macoutlined= false
    .macshadowed= false
    .colorpalette = 7fff
    .boldweight = 190
    .supersubscript = 0
    .underline = 0
    .family = 0
    .charset = 0
    .namelength = 5
    .fontname = Arial
    [/FNT]

    0x14a (330)
    recordid = 0x31, size = 26
    [FNT]
    .fontheight = c8
    .attributes = 0
    .italic = false
    .strikout = false
    .macoutlined= false
    .macshadowed= false
    .colorpalette = 7fff
    .boldweight = 190
    .supersubscript = 0
    .underline = 0
    .family = 0
    .charset = 0
    .namelength = 5
    .fontname = Arial
    [/FNT]

    0x168 (360)
    recordid = 0x31, size = 26
    [FNT]
    .fontheight = c8
    .attributes = 0
    .italic = false
    .strikout = false
    .macoutlined= false
    .macshadowed= false
    .colorpalette = 7fff
    .boldweight = 190
    .supersubscript = 0
    .underline = 0
    .family = 0
    .charset = 0
    .namelength = 5
    .fontname = Arial
    [/FNT]

    0x186 (390)
    recordid = 0x41e, size = 30
    [FRMAT]
    .indexcode = 5
    .unicode length = 19
    .isUnicode = false
    .formatstring = #,##0\ "BF";\-#,##0\ "BF"
    [/FRMAT]

    0x1a8 (424)
    recordid = 0x41e, size = 35
    [FRMAT]
    .indexcode = 6
    .unicode length = 1e
    .isUnicode = false
    .formatstring = #,##0\ "BF";[Red]\-#,##0\ "BF"
    [/FRMAT]

    0x1cf (463)
    recordid = 0x41e, size = 36
    [FRMAT]
    .indexcode = 7
    .unicode length = 1f
    .isUnicode = false
    .formatstring = #,##0.00\ "BF";\-#,##0.00\ "BF"
    [/FRMAT]

    0x1f7 (503)
    recordid = 0x41e, size = 41
    [FRMAT]
    .indexcode = 8
    .unicode length = 24
    .isUnicode = false
    .formatstring = #,##0.00\ "BF";[Red]\-#,##0.00\ "BF"
    [/FRMAT]

    0x224 (548)
    recordid = 0x41e, size = 62
    [FRMAT]
    .indexcode = 2a
    .unicode length = 39
    .isUnicode = false
    .formatstring = #,##0\ "BF"_-;\-* #,##0\ "BF"_-; "-"\ "BF"_-;_-@_-
    [/FRMAT]

    0x266 (614)
    recordid = 0x41e, size = 62
    [FRMAT]
    .indexcode = 29
    .unicode length = 39
    .isUnicode = false
    .formatstring = #,##0\ _B_F_-;\-* #,##0\ _B_F_-; "-"\ _B_F_-;_-@_-
    [/FRMAT]

    0x2a8 (680)
    recordid = 0x41e, size = 70
    [FRMAT]
    .indexcode = 2c
    .unicode length = 41
    .isUnicode = false
    .formatstring = #,##0.00\ "BF"_-;\-* #,##0.00\ "BF"_-;
    "-"?\ "BF"_-;_-@_-
    [/FRMAT]

    0x2f2 (754)
    recordid = 0x41e, size = 70
    [FRMAT]
    .indexcode = 2b
    .unicode length = 41
    .isUnicode = false
    .formatstring = #,##0.00\ _B_F_-;\-* #,##0.00\ _B_F_-;
    "-"?\ _B_F_-;_-@_-
    [/FRMAT]

    0x33c (828)
    recordid = 0x41e, size = 28
    [FRMAT]
    .indexcode = a4
    .unicode length = 17
    .isUnicode = false
    .formatstring = "$"#,##0_);\("$"#,##0\)
    [/FRMAT]

    0x35c (860)
    recordid = 0x41e, size = 33
    [FRMAT]
    .indexcode = a5
    .unicode length = 1c
    .isUnicode = false
    .formatstring = "$"#,##0_);[Red]\("$"#,##0\)
    [/FRMAT]

    0x381 (897)
    recordid = 0x41e, size = 34
    [FRMAT]
    .indexcode = a6
    .unicode length = 1d
    .isUnicode = false
    .formatstring = "$"#,##0.00_);\("$"#,##0.00\)
    [/FRMAT]

    0x3a7 (935)
    recordid = 0x41e, size = 39
    [FRMAT]
    .indexcode = a7
    .unicode length = 22
    .isUnicode = false
    .formatstring = "$"#,##0.00_);[Red]\("$"#,##0.00\)
    [/FRMAT]

    0x3d2 (978)
    recordid = 0x41e, size = 55
    [FRMAT]
    .indexcode = a8
    .unicode length = 32
    .isUnicode = false
    .formatstring = _("$"* #,##0_);_("$"* \(#,##0\);_("$"* "-"_);_(@_)
    [/FRMAT]

    0x40d (1037)
    recordid = 0x41e, size = 46
    [FRMAT]
    .indexcode = a9
    .unicode length = 29
    .isUnicode = false
    .formatstring = _(* #,##0_);_(* \(#,##0\);_(* "-"_);_(@_)
    [/FRMAT]

    0x43f (1087)
    recordid = 0x41e, size = 63
    [FRMAT]
    .indexcode = aa
    .unicode length = 3a
    .isUnicode = false
    .formatstring = _("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"*
    "-"?_);_(@_)
    [/FRMAT]

    0x482 (1154)
    recordid = 0x41e, size = 54
    [FRMAT]
    .indexcode = ab
    .unicode length = 31
    .isUnicode = false
    .formatstring = _(* #,##0.00_);_(* \(#,##0.00\);_(* "-"?_);_(@_)
    [/FRMAT]

    0x4bc (1212)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= 0
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = false
    .prntalgnmt= false
    .borderflag= false
    .paternflag= false
    .celloption= false
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x4d4 (1236)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x4ec (1260)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x504 (1284)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 2
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x51c (1308)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 2
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x534 (1332)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x54c (1356)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x564 (1380)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x57c (1404)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x594 (1428)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x5ac (1452)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x5c4 (1476)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x5dc (1500)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x5f4 (1524)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x60c (1548)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff400
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= true
    .fontflag = false
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x624 (1572)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    CELL_RECRD_TYPE
    .fontindex = 0
    .formatindex = 0
    .celloptions = 1
    .islocked = true
    .ishidden = false
    .recordtype= 0
    .parentidx = 0
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= 0
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = false
    .prntalgnmt= false
    .borderflag= false
    .paternflag= false
    .celloption= false
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x63c (1596)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = ab
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff800
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = true
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x654 (1620)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = a9
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff800
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = true
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x66c (1644)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = aa
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff800
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = true
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x684 (1668)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = a8
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff800
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = true
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x69c (1692)
    recordid = 0xe0, size = 20
    [EXTENDEDFRMAT]
    STYLE_RECRD_TYPE
    .fontindex = 1
    .formatindex = 9
    .celloptions = fffffff5
    .islocked = true
    .ishidden = false
    .recordtype= 1
    .parentidx = fff
    .alignmentoptions= 20
    .alignment = 0
    .wraptext = false
    .valignment= 2
    .justlast = 0
    .rotation = 0
    .indentionoptions= fffff800
    .indent = 0
    .shrinktoft= false
    .mergecells= false
    .readngordr= 0
    .formatflag= false
    .fontflag = true
    .prntalgnmt= true
    .borderflag= true
    .paternflag= true
    .celloption= true
    .borderoptns = 0
    .lftln = 0
    .rgtln = 0
    .topln = 0
    .btmln = 0
    .paleteoptns = 0
    .leftborder= 0
    .rghtborder= 0
    .diag = 0
    .paleteoptn2 = 0
    .topborder = 0
    .botmborder= 0
    .adtldiag = 0
    .diaglnstyl= 0
    .fillpattrn= 0
    .fillpaloptn = 20c0
    .foreground= 40
    .background= 41
    [/EXTENDEDFRMAT]

    0x6b4 (1716)
    recordid = 0x293, size = 4
    [STYLE]
    .xf_index_raw = ffff8010
    .type = 1
    .xf_index = 10
    .builtin_style = 3
    .outline_level = ffffffff
    [/STYLE]

    0x6bc (1724)
    recordid = 0x293, size = 4
    [STYLE]
    .xf_index_raw = ffff8011
    .type = 1
    .xf_index = 11
    .builtin_style = 6
    .outline_level = ffffffff
    [/STYLE]

    0x6c4 (1732)
    recordid = 0x293, size = 4
    [STYLE]
    .xf_index_raw = ffff8012
    .type = 1
    .xf_index = 12
    .builtin_style = 4
    .outline_level = ffffffff
    [/STYLE]

    0x6cc (1740)
    recordid = 0x293, size = 4
    [STYLE]
    .xf_index_raw = ffff8013
    .type = 1
    .xf_index = 13
    .builtin_style = 7
    .outline_level = ffffffff
    [/STYLE]

    0x6d4 (1748)
    recordid = 0x293, size = 4
    [STYLE]
    .xf_index_raw = ffff8000
    .type = 1
    .xf_index = 0
    .builtin_style = 0
    .outline_level = ffffffff
    [/STYLE]

    0x6dc (1756)
    recordid = 0x293, size = 4
    [STYLE]
    .xf_index_raw = ffff8014
    .type = 1
    .xf_index = 14
    .builtin_style = 5
    .outline_level = ffffffff
    [/STYLE]

    0x6e4 (1764)
    recordid = 0x160, size = 2
    [USESELFS]
    .flag = 0
    [/USESELFS]

    0x6ea (1770)
    recordid = 0x85, size = 14
    [BUNDSHEET]
    .bof = 7cb
    .optionflags = 0
    .sheetname length= 6
    .unicodeflag = 0
    .sheetname = Sheet1
    [/BUNDSHEET]

    0x6fc (1788)
    recordid = 0x85, size = 14
    [BUNDSHEET]
    .bof = 92a
    .optionflags = 0
    .sheetname length= 6
    .unicodeflag = 0
    .sheetname = Sheet2
    [/BUNDSHEET]

    0x70e (1806)
    recordid = 0x8c, size = 4
    [****RY]
    .defaultcountry = 1
    .currentcountry = 20
    [/****RY]

    0x716 (1814)
    recordid = 0x1ae, size = 10
    [SUPBK]
    numberosheets = 0
    flag = 5
    [/SUPBK]

    00000000 E2 7F 00 00 00 00 1B 00 4D 53 46 54 20 55 53 20 MSFT US
    00000010 45 71 75 69 74 79 2C 5B 4C 41 53 54 5F 54 52 41 Equity,[LAST_TRA
    00000020 44 45 5D DE]

    00000000 EA 7F 00 00 00 00 0F 00 53 74 64 44 6F 63 75 6D StdDocum
    00000010 65 6E 74 4E 61 6D 65 entName

    0x766 (1894)
    recordid = 0x1ae, size = 4
    [SUPBK]
    numberosheets = 2
    flag = 1025
    [/SUPBK]

    0x76e (1902)
    recordid = 0x17, size = 14
    [EXTERNSHEET]
    Refs = 2
    refrec #0
    supbookindex =0
    1stsbindex =-2
    lastsbindex =-2
    #0
    refrec #1
    supbookindex =1
    1stsbindex =1
    lastsbindex =1
    #1
    [/EXTERNSHEET]

    00000000 C1 01 00 00 60 69 01 00 `i

    0x78c (1932)
    recordid = 0xfc, size = 41
    [SST]
    .numstrings = 5
    .uniquestrings = 3
    .string_0 = MSFT US Equity
    .string_1 = LAST_TRADE
    .string_2 =
    [/SST]

    0x7b9 (1977)
    recordid = 0xff, size = 10
    [EXTSST]
    .dsst = 8
    .numInfoRecords = 1
    .inforecord = 0
    .streampos = 798
    .sstoffset = c
    [/EXTSST]

    0x7c7 (1991)
    recordid = 0xa, size = 0
    [EF]
    [/EF]

    0x7cb (1995)
    recordid = 0x809, size = 16
    [BF RECRD]
    .version = 600
    .type = 10
    .build = 1cfe
    .buildyear = 1997
    .history = 40c9
    .requiredversion = 106
    [/BF RECRD]

    0x7df (2015)
    recordid = 0x20b, size = 20
    [INDEX]
    .firstrow = 4
    .lastrowadd1 = 5
    .dbcell_0 = 8e9
    [/INDEX]

    0x7f7 (2039)
    recordid = 0xd, size = 2
    [CALCMDE]
    .calcmode = 1
    [/CALCMDE]

    0x7fd (2045)
    recordid = 0xc, size = 2
    [CALC****]
    .iterations = 64
    [/CALC****]

    0x803 (2051)
    recordid = 0xf, size = 2
    [REFMDE]
    .mode = 1
    [/REFMDE]

    0x809 (2057)
    recordid = 0x11, size = 2
    [ITERATIN]
    .iteration = false
    [/ITERATIN]

    0x80f (2063)
    recordid = 0x10, size = 8
    [DELTA]
    .maxchange = 0.0010
    [/DELTA]

    0x81b (2075)
    recordid = 0x5f, size = 2
    [SAVERECALC]
    .recalc = true
    [/SAVERECALC]

    0x821 (2081)
    recordid = 0x2a, size = 2
    [PRINTHEADERS]
    .printheaders = false
    [/PRINTHEADERS]

    0x827 (2087)
    recordid = 0x2b, size = 2
    [PRINTGRIDLINES]
    .printgridlines = false
    [/PRINTGRIDLINES]

    0x82d (2093)
    recordid = 0x82, size = 2
    [GRIDSET]
    .gridset = true
    [/GRIDSET]

    0x833 (2099)
    recordid = 0x80, size = 8
    [GUTS]
    .leftgutter = 0
    .topgutter = 0
    .rowlevelmax = 0
    .collevelmax = 0
    [/GUTS]

    0x83f (2111)
    recordid = 0x225, size = 4
    [DEFAULTRWHEIGHT]
    .optionflags = 0
    .rowheight = ff
    [/DEFAULTRWHEIGHT]

    0x847 (2119)
    recordid = 0x81, size = 2
    [WSBL]
    .wsbool1 = 4
    .autobreaks = false
    .dialog = false
    .rowsumsbelw= false
    .rowsumsrigt= false
    .wsbool2 = ffffffc1
    .fittopage = true
    .displayguts= false
    .alternateex= true
    .alternatefo= true
    [/WSBL]

    0x84d (2125)
    recordid = 0x14, size = 0
    [HEADER]
    .length = 0
    .header = null
    [/HEADER]

    0x851 (2129)
    recordid = 0x15, size = 0
    [FTER]
    .footerlen = 0
    .footer = null
    [/FTER]

    0x855 (2133)
    recordid = 0x83, size = 2
    [HCENTER]
    .hcenter = false
    [/HCENTER]

    0x85b (2139)
    recordid = 0x84, size = 2
    [VCENTER]
    .vcenter = false
    [/VCENTER]

    0x861 (2145)
    recordid = 0xa1, size = 34
    [PRINTSETUP]
    .papersize = 0
    .scale = 255
    .pagestart = 1
    .fitwidth = 1
    .fitheight = 1
    .options = 4
    .ltor = false
    .landscape = false
    .valid = true
    .mono = false
    .draft = false
    .notes = false
    = false
    .usepage = false
    .hresolution = 0
    .vresolution = 0
    .headermargin = 0.5
    .footermargin = 0.5
    .copies = 0
    [/PRINTSETUP]

    0x887 (2183)
    recordid = 0x55, size = 2
    [DEFAULTCLWIDTH]
    .colwidth = 8
    [/DEFAULTCLWIDTH]

    0x88d (2189)
    recordid = 0x200, size = 14
    [DIMENSINS]
    .firstrow = 4
    .lastrow = 5
    .firstcol = 1
    .lastcol = 2
    .zero = 0
    [/DIMENSINS]

    0x89f (2207)
    recordid = 0x208, size = 16
    [RW]
    .rownumber = 4
    .firstcol = 1
    .lastcol = 2
    .height = ff
    .optimize = 0
    .reserved = 0
    .optionflags = 100
    .outlinelvl = 0
    .colapsed = false
    .zeroheight = false
    .badfontheig= false
    .formatted = false
    .xfindex = f
    [/RW]

    0x8b3 (2227)
    recordid = 0x6, size = 29
    [FRMULA]
    .row = 4
    .column = 1
    .xf = f
    .value (NaN) = 00000000 00 00 0C 00 85 07 FF FF

    .options = 0
    .zero = -52428800
    .expressionlength= 7
    .numptgsinarray = 1
    Formula 0=Ref3dPtg
    Index to Extern Sheet = 1
    Row = 0
    Col = 1
    ColRowRel= true
    ColRel = true

    00000000 5A 01 00 00 00 01 C0 Z

    [/FRMULA]

    0x8d4 (2260)
    recordid = 0x207, size = 17
    [STRING]
    .string = MSFT US Equity
    [/STRING]

    0x8e9 (2281)
    recordid = 0xd7, size = 6
    [DBCELL]
    .rowoffset = 4a
    .cell_0 = 0
    [/DBCELL]

    0x8f3 (2291)
    recordid = 0x23e, size = 18
    [WINDW2]
    .options = b6
    .dispformulas= false
    .dispgridlins= true
    .disprcheadin= true
    .freezepanes = false
    .displayzeros= true
    .defaultheadr= true
    .arabic = false
    .displayguts = true
    .frzpnsnosplt= false
    .selected = false
    .paged = false
    .svdinpgbrkpv= false
    .toprow = 0
    .leftcol = 0
    .headercolor = 40
    .pagebreakzoom = 0
    .normalzoom = 0
    .reserved = 0
    [/WINDW2]

    0x909 (2313)
    recordid = 0x1d, size = 15
    [SELECTIN]
    .pane = 3
    .activecellrow = 4
    .activecellcol = 1
    .activecellref = 0
    .numrefs = 1
    [/SELECTIN]

    00000000 00 00 37 00 00 00 7

    0x926 (2342)
    recordid = 0xa, size = 0
    [EF]
    [/EF]

    0x92a (2346)
    recordid = 0x809, size = 16
    [BF RECRD]
    .version = 600
    .type = 10
    .build = 1cfe
    .buildyear = 1997
    .history = 40c9
    .requiredversion = 106
    [/BF RECRD]

    0x93e (2366)
    recordid = 0x20b, size = 20
    [INDEX]
    .firstrow = 0
    .lastrowadd1 = 6
    .dbcell_0 = a8d
    [/INDEX]

    0x956 (2390)
    recordid = 0xd, size = 2
    [CALCMDE]
    .calcmode = 1
    [/CALCMDE]

    0x95c (2396)
    recordid = 0xc, size = 2
    [CALC****]
    .iterations = 64
    [/CALC****]

    0x962 (2402)
    recordid = 0xf, size = 2
    [REFMDE]
    .mode = 1
    [/REFMDE]

    0x968 (2408)
    recordid = 0x11, size = 2
    [ITERATIN]
    .iteration = false
    [/ITERATIN]

    0x96e (2414)
    recordid = 0x10, size = 8
    [DELTA]
    .maxchange = 0.0010
    [/DELTA]

    0x97a (2426)
    recordid = 0x5f, size = 2
    [SAVERECALC]
    .recalc = true
    [/SAVERECALC]

    0x980 (2432)
    recordid = 0x2a, size = 2
    [PRINTHEADERS]
    .printheaders = false
    [/PRINTHEADERS]

    0x986 (2438)
    recordid = 0x2b, size = 2
    [PRINTGRIDLINES]
    .printgridlines = false
    [/PRINTGRIDLINES]

    0x98c (2444)
    recordid = 0x82, size = 2
    [GRIDSET]
    .gridset = true
    [/GRIDSET]

    0x992 (2450)
    recordid = 0x80, size = 8
    [GUTS]
    .leftgutter = 0
    .topgutter = 0
    .rowlevelmax = 0
    .collevelmax = 0
    [/GUTS]

    0x99e (2462)
    recordid = 0x225, size = 4
    [DEFAULTRWHEIGHT]
    .optionflags = 0
    .rowheight = ff
    [/DEFAULTRWHEIGHT]

    0x9a6 (2470)
    recordid = 0x81, size = 2
    [WSBL]
    .wsbool1 = 4
    .autobreaks = false
    .dialog = false
    .rowsumsbelw= false
    .rowsumsrigt= false
    .wsbool2 = ffffffc1
    .fittopage = true
    .displayguts= false
    .alternateex= true
    .alternatefo= true
    [/WSBL]

    0x9ac (2476)
    recordid = 0x14, size = 0
    [HEADER]
    .length = 0
    .header = null
    [/HEADER]

    0x9b0 (2480)
    recordid = 0x15, size = 0
    [FTER]
    .footerlen = 0
    .footer = null
    [/FTER]

    0x9b4 (2484)
    recordid = 0x83, size = 2
    [HCENTER]
    .hcenter = false
    [/HCENTER]

    0x9ba (2490)
    recordid = 0x84, size = 2
    [VCENTER]
    .vcenter = false
    [/VCENTER]

    0x9c0 (2496)
    recordid = 0xa1, size = 34
    [PRINTSETUP]
    .papersize = 1
    .scale = 100
    .pagestart = 1
    .fitwidth = 1
    .fitheight = 1
    .options = 2
    .ltor = false
    .landscape = true
    .valid = false
    .mono = false
    .draft = false
    .notes = false
    = false
    .usepage = false
    .hresolution = 300
    .vresolution = 300
    .headermargin = 0.5
    .footermargin = 0.5
    .copies = 0
    [/PRINTSETUP]

    0x9e6 (2534)
    recordid = 0x55, size = 2
    [DEFAULTCLWIDTH]
    .colwidth = 8
    [/DEFAULTCLWIDTH]

    0x9ec (2540)
    recordid = 0x200, size = 14
    [DIMENSINS]
    .firstrow = 0
    .lastrow = 6
    .firstcol = 0
    .lastcol = 6
    .zero = 0
    [/DIMENSINS]

    0x9fe (2558)
    recordid = 0x208, size = 16
    [RW]
    .rownumber = 0
    .firstcol = 0
    .lastcol = 6
    .height = ff
    .optimize = 0
    .reserved = 0
    .optionflags = 100
    .outlinelvl = 0
    .colapsed = false
    .zeroheight = false
    .badfontheig= false
    .formatted = false
    .xfindex = f
    [/RW]

    0xa12 (2578)
    recordid = 0x208, size = 16
    [RW]
    .rownumber = 5
    .firstcol = 0
    .lastcol = 6
    .height = ff
    .optimize = 0
    .reserved = 0
    .optionflags = 100
    .outlinelvl = 0
    .colapsed = false
    .zeroheight = false
    .badfontheig= false
    .formatted = false
    .xfindex = f
    [/RW]

    0xa26 (2598)
    recordid = 0x6, size = 29
    [FRMULA]
    .row = 0
    .column = 0
    .xf = f
    .value (NaN) = 00000000 02 00 17 00 00 00 FF FF

    .options = 0
    .zero = -52428800
    .expressionlength= 7
    .numptgsinarray = 1
    Formula 0=class
    00000000 59 00 00 01 00 00 00 Y

    [/FRMULA]

    0xa47 (2631)
    recordid = 0xfd, size = 10
    [LABELSST]
    .row = 0
    .column = 1
    .xfindex = f
    .sstindex = 0
    [/LABELSST]

    0xa55 (2645)
    recordid = 0xfd, size = 10
    [LABELSST]
    .row = 0
    .column = 2
    .xfindex = f
    .sstindex = 1
    [/LABELSST]

    0xa63 (2659)
    recordid = 0xfd, size = 10
    [LABELSST]
    .row = 5
    .column = 3
    .xfindex = f
    .sstindex = 2
    [/LABELSST]

    0xa71 (2673)
    recordid = 0xfd, size = 10
    [LABELSST]
    .row = 5
    .column = 4
    .xfindex = f
    .sstindex = 2
    [/LABELSST]

    0xa7f (2687)
    recordid = 0xfd, size = 10
    [LABELSST]
    .row = 5
    .column = 5
    .xfindex = f
    .sstindex = 2
    [/LABELSST]

    0xa8d (2701)
    recordid = 0xd7, size = 8
    [DBCELL]
    .rowoffset = 8f
    .cell_0 = 14
    .cell_1 = 3d
    [/DBCELL]

    0xa99 (2713)
    recordid = 0x23e, size = 18
    [WINDW2]
    .options = 6b6
    .dispformulas= false
    .dispgridlins= true
    .disprcheadin= true
    .freezepanes = false
    .displayzeros= true
    .defaultheadr= true
    .arabic = false
    .displayguts = true
    .frzpnsnosplt= false
    .selected = true
    .paged = true
    .svdinpgbrkpv= false
    .toprow = 0
    .leftcol = 0
    .headercolor = 40
    .pagebreakzoom = 0
    .normalzoom = 0
    .reserved = 0
    [/WINDW2]

    0xaaf (2735)
    recordid = 0x1d, size = 15
    [SELECTIN]
    .pane = 3
    .activecellrow = 1
    .activecellcol = 0
    .activecellref = 0
    .numrefs = 1
    [/SELECTIN]

    00000000 00 00 37 00 00 00 7

    0xacc (2764)
    recordid = 0xa, size = 0
    [EF]
    [/EF]

    BUILD SUCCESSFUL (total time: 3 seconds)

    6/14/05, Avik Sengupta <avik.sengupta (AT) itellix (DOT) comwrote:
    >CAn this be

    done in HSSF?Pls help.

    If its throwing an exception, then apparently not :)

    Whats a remote reference formula? Is that a pipe character? What does it
    do?

    Can you provide the parsed result of such a formula (using biffviewer?)

    Tue, 2005-06-14 at 12:05 +0200, Nishant Chandra wrote:
    PI HSSF doesnt seem to support remote reference formula(supported by
    excel). I am trying to do something like this:

    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet("new sheet");

    HSSFRow row = sheet.createRow((short) 0);
    //Create a cell and put a value in it.

    HSSFCell mycell = row.createCell((short)0);
    mycell.setCellType(HSSFCell.CELL_TYPE_FRMULA);
    mycell.setCellFormula("BLP|M!MSFT"); //remote reference formula

    I am getting the following error:

    String index out of range: 0
    at java.lang.String.charAt(String.java:444)
    at <init>(CellReference.java:44)
    at <init>(ReferencePtg.java:50)
    at (FormulaParser.java:320)
    at (FormulaParser.java:524)
    at (FormulaParser.java:602)
    at (FormulaParser.java:651)
    at (FormulaParser.java:756)
    at (HSSFCelljava:689)
    --
    I can enter the formula manually in excel and it works. CAn this be
    done in HSSF?Pls help.

    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
  • No.3 | | 3107 bytes | |

    Avik Sengupta <avik.sengupta <atitellix.comwrites:


    >CAn this be

    done in HSSF?Pls help.

    If its throwing an exception, then apparently not :)

    Whats a remote reference formula? Is that a pipe character? What does it
    do?

    Can you provide the parsed result of such a formula (using biffviewer?)

    Tue, 2005-06-14 at 12:05 +0200, Nishant Chandra wrote:
    PI HSSF doesnt seem to support remote reference formula(supported by
    excel). I am trying to do something like this:

    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet("new sheet");

    HSSFRow row = sheet.createRow((short) 0);
    //Create a cell and put a value in it.

    HSSFCell mycell = row.createCell((short)0);
    mycell.setCellType(HSSFCell.CELL_TYPE_FRMULA);
    mycell.setCellFormula("BLP|M!MSFT"); //remote reference formula

    I am getting the following error:

    String index out of range: 0
    at java.lang.String.charAt(String.java:444)
    at <init>(CellReference.java:44)
    at <init>(ReferencePtg.
    java:50)
    at (FormulaParser.java:320)
    at (FormulaParser.java:524)
    at (FormulaParser.java:602)
    at (FormulaParser.java:
    651)
    at (FormulaParser.java:756)
    at (HSSFCell.java:
    689)

    I can enter the formula manually in excel and it works. CAn this be
    done in HSSF?Pls help.

    To unsubscribe, e-mail: poi-user-unsubscribe <atjakarta.apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/

    This is what the excel help has to say:

    you can enter a remote reference formula that refers to the data. The data is
    displayed on your worksheet as the result of the formula.

    The formula has three parts: the name of the application; the file name or
    topic; and the cell range, value, field, or data that's referred to. The
    following illustration shows the parts of a remote reference formula and the
    required separator characters.

    BLP|M!MSFT

    A pipe character (|) separates the program name from the document or topic name.
    An exclamation point (!) separates the document or topic name from the cell
    range, value, field, or data referred to.

    When to use single quotation marks If the name of the application, document,
    topic, or data item contains spaces or characters such as colons (:) or minus
    signs ( ) that have special uses in a formula, or if a name resembles a cell
    reference, enclose the name in single quotation marks.

    DDE support required The program that contains the data you want to link must
    support Dynamic Data Exchange (DDE). To determine whether your program supports
    DDE or to learn the DDE name and topic information for the program, contact the
    software vendor of the program. For more information about DDE, see the
    Microsoft 2000 Resource Kit.

    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
  • No.4 | | 1040 bytes | |

    Hi all,
    exactly the same pb as Chandra with cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range: 0

    at java.lang.String.charAt(String.java:558)

    at <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at (FormulaParser.java:548)

    at (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:

    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
  • No.5 | | 1263 bytes | |

    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range: 0

    at java.lang.String.charAt(String.java:558)

    at <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at (FormulaParser.java:548)

    at (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    --
  • No.6 | | 2025 bytes | |

    Hi Chandra, thank U very much for your answer, I saw U had been the same pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under water

    Have a nice day
    Thy

    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support

    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range: 0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    --
  • No.7 | | 2434 bytes | |

    Hi,
    well i modified 3-4 files which handles parsing and deals with low
    level record generation for formulas. I have the code but its not
    immediately accesible to me.
    i dont rem xactly what i did cos its been some time now. how much time
    do u have?

    nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Hi Chandra, thank U very much for your answer, I saw U had been the same pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under water

    Have a nice day
    Thy
    --
    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support
    --
    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range: 0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    >
    >
    >
    >
  • No.8 | | 2661 bytes | |

    Thank U again Chandra for taking time for this.
    I'm already late in fact but I have no choice
    I just have to explain that to my boss !
    How much time do U need to get your code back on your side ?
    Thy

    Hi,
    well i modified 3-4 files which handles parsing and deals with low
    level record generation for formulas. I have the code but its not
    immediately accesible to me.
    i dont rem xactly what i did cos its been some time now. how much time
    do u have?

    nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Hi Chandra, thank U very much for your answer, I saw U had been the same
    pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under water

    Have a nice day
    Thy
    --
    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support
    --
    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range: 0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    >
    >
    >
    >
  • No.9 | | 2794 bytes | |

    i can do it by this weekend.is that ok?

    Nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Thank U again Chandra for taking time for this.
    I'm already late in fact but I have no choice
    I just have to explain that to my boss !
    How much time do U need to get your code back on your side ?
    Thy
    --
    Hi,
    well i modified 3-4 files which handles parsing and deals with low
    level record generation for formulas. I have the code but its not
    immediately accesible to me.
    i dont rem xactly what i did cos its been some time now. how much time
    do u have?

    nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Hi Chandra, thank U very much for your answer, I saw U had been the same
    pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under water

    Have a nice day
    Thy
    --
    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support
    --
    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range: 0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    >
    >
    >
    >
  • No.10 | | 3143 bytes | |

    It is more than ok !!
    Thank U again Nishant
    I contact U back on monday
    Thy

    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 3:07 PM
    Subject: Re: Remote reference formula support

    i can do it by this weekend.is that ok?

    Nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Thank U again Chandra for taking time for this.
    I'm already late in fact but I have no choice
    I just have to explain that to my boss !
    How much time do U need to get your code back on your side ?
    Thy
    --
    Hi,
    well i modified 3-4 files which handles parsing and deals with low
    level record generation for formulas. I have the code but its not
    immediately accesible to me.
    i dont rem xactly what i did cos its been some time now. how much time
    do u have?

    nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Hi Chandra, thank U very much for your answer, I saw U had been the same
    pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under
    water

    Have a nice day
    Thy
    --
    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support
    --
    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range:
    0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    >
    >
    >
    >
  • No.11 | | 3086 bytes | |

    Does your code deal with the class ?

    This could be a way to avoid the compilation of PI, don't u think ?
    Thy

    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 3:07 PM
    Subject: Re: Remote reference formula support

    i can do it by this weekend.is that ok?

    Nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Thank U again Chandra for taking time for this.
    I'm already late in fact but I have no choice
    I just have to explain that to my boss !
    How much time do U need to get your code back on your side ?
    Thy
    --
    Hi,
    well i modified 3-4 files which handles parsing and deals with low
    level record generation for formulas. I have the code but its not
    immediately accesible to me.
    i dont rem xactly what i did cos its been some time now. how much time
    do u have?

    nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Hi Chandra, thank U very much for your answer, I saw U had been the same
    pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under
    water

    Have a nice day
    Thy
    --
    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support
    --
    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range:
    0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:

    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
  • No.12 | | 3279 bytes | |

    Hi Nishant,
    sorry to be so late, I had to travel to England up to now without having
    easy web access.
    So I apologize and wonder if you found your sample code by this week end, it
    could really help me.
    Thy

    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 3:07 PM
    Subject: Re: Remote reference formula support

    i can do it by this weekend.is that ok?

    Nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Thank U again Chandra for taking time for this.
    I'm already late in fact but I have no choice
    I just have to explain that to my boss !
    How much time do U need to get your code back on your side ?
    Thy
    --
    Hi,
    well i modified 3-4 files which handles parsing and deals with low
    level record generation for formulas. I have the code but its not
    immediately accesible to me.
    i dont rem xactly what i did cos its been some time now. how much time
    do u have?

    nishant

    12/8/05, Thierry Morel <thierry.morel (AT) free (DOT) frwrote:
    Hi Chandra, thank U very much for your answer, I saw U had been the same
    pb
    some time ago,
    I'm very lucky you're online.
    But I'm a little bit scared to modify the parsing, it seems to me pretty
    tricky, and I wonder if U
    remember the way U did that ?
    Did U recompile PI, or just called a setParser method ? would U have
    some lines of code ?
    I know it is not veru kind to ask for code, but I'm really under
    water

    Have a nice day
    Thy
    --
    Message
    From: "Nishant Chandra" <nishant.chandra (AT) gmail (DOT) com>
    To: "PI Users List" <poi-user (AT) jakarta (DOT) apache.org>
    Sent: Thursday, December 08, 2005 1:22 PM
    Subject: Re: Remote reference formula support
    --
    Well i think this is a bug. I solved this problem by modifying the way
    the formula is parsed.

    Nishant

    12/8/05, Thy <thierry.morel (AT) free (DOT) frwrote:
    Hi all,
    exactly the same pb as Chandra with
    cell.setCellFormula(AC129+$Sheet1.AC131)

    but not found any answer through the web for hours
    I've found many similar posts but no solution.
    Is there any solution ?
    I've tried with Poi2.5, 2.5.1 and 3.0alpha, no difference.
    Thank U very much in advance for a tip !
    Thy

    StackTrace :
    String index out of range:
    0

    at java.lang.String.charAt(String.java:558)

    at
    <init>(CellReference.java:44)

    at <init>
    (ReferencePtg.java:50)

    at
    (FormulaParser.java:291)

    at
    (FormulaParser.java:474)

    at
    (FormulaParser.java:548)

    at
    (FormulaParser.java:562)

    at
    (FormulaParser.java:598)

    at
    (FormulaParser.java:700)

    at
    (HSSFCell.java:678)

    Nishant Chandra <nishant.chandra <atgmail.comwrites:
    >
    >
    >


    To unsubscribe, e-mail: poi-user-unsubscribe (AT) jakarta (DOT) apache.org
    Mailing List: #poi
    The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
    >
    >
    >
    >

Re: Remote reference formula support


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "Java"

EMSDN.COM