Article View: pl.comp.lang.delphi
Article #345446Re: Lazarys + FPSpreadsheet + polskie "ogonki"
From: Roman Tyczka
Date: Tue, 20 Dec 2016 11:08
Date: Tue, 20 Dec 2016 11:08
44 lines
2354 bytes
2354 bytes
On Sat, 17 Dec 2016 20:10:54 +0100, JS wrote:
> FPSpreadsheet dostarcza tylko funkcję do odczytu
> ReadAsUTF8Text(Row, Col)
Czyżby?
public
{ Base methods }
constructor Create;
destructor Destroy; override;
{ Utils }
class function CellInRange(ARow, ACol: Cardinal; ARange: TsCellRange):
Boolean;
class function CellPosToText(ARow, ACol: Cardinal): string;
// procedure RemoveAllCells;
procedure UpdateCaches;
{ Reading of values }
function ReadAsText(ARow, ACol: Cardinal): string; overload;
function ReadAsText(ACell: PCell): string; overload;
function ReadAsText(ACell: PCell; AFormatSettings: TFormatSettings):
string; overload;
function ReadAsUTF8Text(ARow, ACol: Cardinal): string; overload;
deprecated 'Use ReadAsText';
function ReadAsUTF8Text(ACell: PCell): string; overload; deprecated
'Use ReadAsText';
function ReadAsUTF8Text(ACell: PCell; AFormatSettings:
TFormatSettings): string; overload; deprecated 'Use ReadAsText';
function ReadAsNumber(ARow, ACol: Cardinal): Double; overload;
function ReadAsNumber(ACell: PCell): Double; overload;
function ReadAsDateTime(ARow, ACol: Cardinal; out AResult: TDateTime):
Boolean; overload;
function ReadAsDateTime(ACell: PCell; out AResult: TDateTime):
Boolean; overload;
function ReadFormulaAsString(ACell: PCell; ALocalized: Boolean =
false): String;
function ReadNumericValue(ACell: PCell; out AValue: Double): Boolean;
--
pozdrawiam
Roman Tyczka
Technical Details
Message-ID:
<1eg38fgingdqb.dlg@tyczka.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<o342jt$qo$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Roman Tyczka <noemail@because.no> Newsgroups: pl.comp.lang.delphi Subject: Re: Lazarys + FPSpreadsheet + polskie "ogonki" Date: Tue, 20 Dec 2016 12:08:26 +0100 Organization: ATMAN - ATM S.A. Lines: 44 Sender: romek@tyczka.no.found Message-ID: <1eg38fgingdqb.dlg@tyczka.com> References: <o342jt$qo$1@node1.news.atman.pl> NNTP-Posting-Host: 94.75.90.137 Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1482232105 7752 94.75.90.137 (20 Dec 2016 11:08:25 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Tue, 20 Dec 2016 11:08:25 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.15.84 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit