The libxls package

[ Tags: ffi, library, mit ] [ Propose Tags ]

Read Data From xls file


[Skip to Readme]

Properties

Versions 0.2
Dependencies base (==4.8.*), bindings-DSL [details]
License MIT
Author uuhan
Maintainer xuminhui189@gmail.com
Category FFI
Source repository head: git clone https://github.com/uuhan/bindings-libxls
Uploaded Thu Feb 25 03:08:53 UTC 2016 by uuhan
Distributions NixOS:0.2
Downloads 119 total (15 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-02-25 [all 3 reports]
Hackage Matrix CI

Modules

  • Bindings
    • Bindings.Ole
    • Bindings.Xls
    • Bindings.Xlsstruct
    • Bindings.Xlstool
    • Bindings.Xlstypes
  • Data
    • Libxls
      • Data.Libxls.Reader

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for libxls-0.2

[back to package description]
libxls可用来读取xls格式文档。

** cabal configure
** cabal build
** cabal install
** cabal repl --ghc-options=-Llib --ghc-options=-lxlsreader

openBook :: String -> String -> IO WorkBook
            |         |
            xls文档   解码方式(UTF-8 ASCII)

openSheet :: WorkBook -> Int -> IO WorkSheet
                         |
                         sheet号码

getCell :: WorkSheet -> Int -> Int -> IO CellData
                        |      |
                        x      y

showCellInfo :: CellData -> IO ()

更多用法请参考 Bindings.Libxls 和 src/Data/Libxls

** 绑定自libxls c语言库