close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 14 years ago

Closed 14 years ago

#1128 closed defect (fixed)

tol crash when excel handler is invalid

Reported by: Jorge Owned by: Jorge
Priority: normal Milestone: Mantainance
Component: Excel API Version: 2.0.1
Severity: critical Keywords:
Cc:

Description

If you try to use and invalid excel handler, for instance one that has being closed, then tol crash.

Change History (6)

comment:1 Changed 14 years ago by Jorge

Status: newaccepted

comment:2 Changed 14 years ago by Jorge

(In [3329]) refs #1128, test for invalid access

comment:3 Changed 14 years ago by Jorge

Resolution: fixed
Status: acceptedclosed

(In [3330]) By default the first sheet is active.

Excel.Destroy is renamed to Excel.Close

refs #884

  • When Excel.Open is invoked for an empty name "" then a new excel workbook is created in memory.
  • Excel.Save save to a file the current changes.
  • Excel.SaveAs save to another file.
  • Excel.WriteCell write a tol object to an excel cell.

fixes #1128

It is implemented a container keeping the handlers opened.

comment:4 Changed 14 years ago by Víctor de Buen Remiro

(In [3332]) Refs #1128
Adpating to changes in Excel API [3329] and [3330]

comment:5 Changed 14 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: closedreopened

TOL se cae cuando abre una hoja que no existe porque el puntero m_ptrCellFmt no se inicializa en el cosntructor de TolExcel::TolExcel( char *path )

comment:6 Changed 14 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: reopenedclosed

(In [3344]) Fixes #1137
Fixes #1128

Note: See TracTickets for help on using tickets.