Revision history for node-excel-libxl
- Fully covered libxl::Font API
- Added enums: script styles (
SCRIPT_*
), underline styles (UNDERLINE_*
), colors (COLOR_*
) - Added this changelog
- Added classes:
Format
(libxl::Format),Font
(libxl::Font) - Extended
Book
API:sheetCount()
gives number of sheets in the workbookaddFormat(initFormat)
adds new formatformat(idx)
returns format defined under given indexformatSize()
returns number of formats defined in the book- Similar with fonts:
addFont(initFont
/font(idx)
/fontSize()
- Removed 'Sync' suffix for methods which have only synchronous version
- Fixed bug with
Sheet::cellType()
- was throwing error if cell has error type
- Extended
Sheet
API:cellType(row, col)
readString(row, col)
writeString(row, col, string)
- Added cell type enums (
CELLTYPE_*
)
- Added
Sheet
class (libxl::Sheet):getName()
setName(name)
- Extended
Book
API:load(path, cb)
/loadSync(path)
save(path, cb)
/saveSync(path)
setKey(customerName, customerKey)
sets license keyrelease()
- release all the book memory, doeslibxl::Book::release()
addSheetSync(name, initSheet)
insertSheetSync(idx, name, initSheet)
getSheet(idx)
deleteSheet(idx)
- Added
Book
class (libxl::Book) - Added Book factories:
createBook()
is equivalent toxlCreateBook()
createXMLBook()
is equivalent toxlCreateXMLBook()
- Also
Book
can be instantiated via constructor:new Book(type)
wheretype
is one of the constants:BOOK_TYPE_XLS
,BOOK_TYPE_XLSX