Commit Graph

4293 Commits

Author SHA1 Message Date
71fa9ae693 fpspreadsheet: Add redundant information on selected worksheet to xls files (like Excel does). Add code to read/write selected cell in xls, xlsx and ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-04 09:42:39 +00:00
31090f663a fpspreadsheet: Fix incorrect "Continue" in TsSpreadOOXMLReader.ReadFrom(Stream|File)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-03 21:12:11 +00:00
bfd19235c6 fpspreadsheet: Add stream version of TsWorkbook.GetFormatFromFileHeader (patch by Craig Peterson, issue #28465)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4241 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-03 19:34:46 +00:00
6a6f290fda fpspreadsheet: Read/write name of active worksheet (biff5, biff8, xlsx, ods, visual controls)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4240 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-03 19:04:40 +00:00
acaacf81d4 fpspreadsheet: New demo htmlread_http (reading html table from the internet). HTML reader now detects hyperlinks (only one per cell, though - like in xls).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4239 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-03 15:21:33 +00:00
126fe87ad1 fpspreadsheet: Fix xlsx writing column widths
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4238 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-03 14:18:23 +00:00
c5677621dc fpspreadsheet: Evaluate the colspan and rowspan attributes to merge cells when reading html files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4237 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-02 11:16:31 +00:00
7c8e0a8b3d fpspreadsheet: Initial support for reading html files (data only, no formats, no nested tables).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-01 22:11:44 +00:00
fb75c2bef1 fpspreadsheet: Fix compilation issue with -MDelphi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4235 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-31 20:23:31 +00:00
9f775a09d6 fpspreadsheet: Fix worksheetGrid to expand itself if new cells are created beyout the current grid extent.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-31 16:23:59 +00:00
abaae03afa defaultElementForm, defaultAttributeForm : Runtime WSDL/XSD generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-31 13:16:03 +00:00
f666da77a0 defaultElementForm, defaultAttributeForm : Type Library Editor Support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:16:53 +00:00
5622ce75fd defaultElementForm, defaultAttributeForm : XSD generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:15:27 +00:00
d5f0b8a092 element/attribute form : specify options at registration optimization(to avoid double serializer initializations).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:11:41 +00:00
9c0df635f8 fpspreadsheet: Support reading and writing of all additional linetypes of biff8 and ooxml.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:08:39 +00:00
b6a8d809bb fpspreadsheet: Support for all line styles of biff8 and ooxml.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 17:15:48 +00:00
85351db23a fpspreadsheet: Improved replacement of unsupported xlsx border line styles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 16:33:25 +00:00
954be7d438 fpspreadsheet: Fix writing rich-text to xlsx (Error when Excel opens this file). Fix writing multiline cell texts containing a CR as line ending which is not accepted by xls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 16:28:30 +00:00
56a82b945b fpspreadsheet: Fix worsheetgrid respecting font color defined by number format code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4225 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 13:10:03 +00:00
393ac71eb4 fpspreadsheet: Fix automatic row height calculation in case of stacked text rotation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 11:40:48 +00:00
9674b291fd fpspreadsheet: Fix ooxml reader crashing if file contains gradient fill definitions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4223 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 11:19:50 +00:00
9505aeb485 fpspreadsheet: Add style section to written html file. Fix some issues of rich-text formatting when writing html.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-29 22:54:34 +00:00
67fb1e1e7f defaultElementForm, defaultAttributeForm : XSD parsing and runtime handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-29 18:46:37 +00:00
efa58b67c7 fpspreadsheet: Merged cell, hyperlink and row height support for html writer. Fix reading order of rich-text and asian phonetic info for biff8 reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-29 17:34:54 +00:00
ae6246254b fpspreadsheet: add demo for html writer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 22:29:45 +00:00
9bf5e60e90 fpspreadsheet: Initial commit of html writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 22:13:48 +00:00
5e0bd6453d fpspreadsheet: Fix incorrect writing of rich-text sections by ods if manual line-breaks are present.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 21:24:55 +00:00
64bb12c1ea RxFPC: RxDBGrid - for collumn footer add property Footers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4216 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 10:15:04 +00:00
745ac96e84 fpspreadsheet: Add search form for visual demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4215 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 23:19:18 +00:00
ef69632cea fpspreadsheet: Initial version of searching in workbook/worksheet, not perfect yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 23:01:52 +00:00
42f5ce9be2 fpspreadsheet: Add creation of biff8 commentlist forgotten in previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 22:50:31 +00:00
d2f8202c38 RxFPC:new flag coDisableDialogFind in RxCollumn.Options - disable show collumn in rxdbgrud find dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 12:32:43 +00:00
a838fe2707 fpspreadsheet: A bunch of updates have run up...
- Activate ReadFromStream from xls5/8, xlsx, and ods readers (issue #0028389)
- Fix ods using correct hyperlink font
- Rich text formatting runs for xls5/8, xlsx, ods (both reading and writing)
- BIFFExplorer: show details of rich-text formatting runs for SST and RSTRING records

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-26 12:40:51 +00:00
41b65aae4f Add simple Xml serializer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-15 16:03:09 +00:00
20a4f70c7f (XSD's) ElementFormDefault and AttributeFormDefault, group and attributeGroup, parsing and runtime handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-15 16:02:12 +00:00
e0b25c8f51 fpspreadsheet: Fix WorksheetGrid hanging if cell text contains a manual line break. Fix reading of new subscript and superscript font properties for biff5 and biff8 (Rich-text support not yet fully working here).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4208 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-10 09:13:19 +00:00
a5e3c273a6 fpspreadsheet: Improved worksheet grid row height and col width calculation taking care of rich text formatted cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4207 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 21:35:50 +00:00
4e44185df4 fpspreadsheet: Improved centering of stacked text in cells of Worksheetgrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4206 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 18:34:31 +00:00
e1920a4bfa fpspreadsheet: Fix new cell painting code causing a hang in case of stacked text rotation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4205 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 17:47:59 +00:00
5b319c45bf fpspreadsheet: Fix rich-text ignoring non-ansi characters. Beginning to handle rich-text formatting runs when reading biff5 files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 15:29:44 +00:00
9b89738158 fpspreadsheet: Extend TsFont for sub-/superscripts. Initial implementation of "rich-text" cell format: display in WorksheetGrid and SpreadsheetInspector, read from xlsx, extend TsWorksheet.WriteUTF8Text() for rich-text formatting runs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 11:10:15 +00:00
f80c3a9df0 fpspreadsheet: Fix string encoding error observed with fpc3 and non-UTF8RTL.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-03 20:35:12 +00:00
505eed8501 Server Exception reporting to client: For the server to report the "faultCode" and the "faultString", a service implementation should raise an exception that inherits from "EBaseRemoteException".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-03 10:46:22 +00:00
e3bb7c1efa fpspreadsheet: Fix formatting of date as weekday
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-01 09:07:16 +00:00
10ee3da8f0 Empty arrays should be created.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-30 01:15:11 +00:00
d8e49350eb fpspreadsheet: Change package version to 1.7. Clean up compilation warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-28 17:59:09 +00:00
4c43ae6e25 fpspreadsheet: Fix compilation with old Laz 1.2 / fpc 2.6.2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-28 17:40:06 +00:00
539da5c2db fpspreadsheet: Final changes before release 1.6
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-28 12:09:12 +00:00
daeb6ebf88 fpspreadsheet: Prepare offline-wiki for upcoming relase v1.6
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-27 21:19:58 +00:00
65c59aa927 fpspreadsheet: Add a new chm help file containing snapshots of the fpspreadsheet wiki articles. Move current fpspreadsheet.chm into a docs subfolder and rename it to fpspreadsheet-api.chm. Add/update scripts and tools for creation of these chm files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-27 19:40:42 +00:00