Giter Club home page Giter Club logo

fpspreadsheet's Introduction

fpspreadsheet
=============
The fpSpreadsheet library offers a convenient way to generate and read 
spreadsheet documents in various formats:
- Excel 2.x .xls
- Excel 5.0/Excel 95 .xls
- Excel 8.0 (Excel 97-XP) .xls
- Microsoft OOXML .xlsx
- LibreOffice/OpenOffice OpenDocument .ods
- wikimedia wikitable formats

The library is written in a very flexible manner, capable of being extended to 
support any number of formats easily.

Installation
============
If you only need non-GUI components: in Lazarus: 
- Package/Open Package File 
- select laz_fpspreadsheet.lpk
- click Compile. 
Now the package is known to Lazarus (and should e.g. show up in Package/Package Links). 
Add it to your project like you add other packages.

If you also want GUI components (grid and chart): 
- Package/Open Package File
- seleect laz_fpspreadsheet_visual.lpk
- click Compile
- then click Use, Install and follow the prompts to rebuild Lazarus with the new package.
Drop needed grid/chart components on your forms as usual
		
License
=======
LGPL with static linking exception. This is the same license as is used in the Lazarus Component Library. 

More information
================
FPSpreadsheet documentation in fpspreadsheet.chm (open e.g. with Lazarus lhelp)

The fpspreadsheet article on the Lazarus wiki with lots of example:
http://wiki.lazarus.freepascal.org/FPSpreadsheet

The demo programs in the examples folder

fpspreadsheet's People

Contributors

cutec-chris avatar tcs-ulli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fpspreadsheet's Issues

ReadFromFile with boReadFormulas, Formulas only fine in first and second columns

MyWorkbook := TsWorkbook.Create;
//boReadFormulas, boAutoCalc
MyWorkbook.Options:= MyWorkbook.Options + [boReadFormulas];

MyWorkbook.ReadFromFile('Book1.xlsx', sfOOXML);
MyWorkSheet := MyWorkbook.GetFirstWorksheet;

for i := 0 to 4 do
begin
  cell := MyWorksheet.FindCell(9, i);

  MyText := MyWorkSheet.ReadFormulaAsString(cell);
  ShowMessage(MyText);
end;                                                 

there are formula in row#=9:
=SUM(A1:A9) Ok
=SUM(B1:B9) Ok

=SUM(C1:C9) but, changed to =SUM(B1:B9)
=SUM(D1:D9) but, changed to =SUM(B1:B9)
=SUM(E1:E9) but, changed to =SUM(B1:B9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.