You've already forked lazarus-ccr
fpspreadsheet: Add unit tests for HTML-to-RichText conversion (and vice versa).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -931,6 +931,14 @@ end;
|
||||
{@@ ----------------------------------------------------------------------------
|
||||
Extracts rich-text parameters out of an html-formatted string and returns the
|
||||
plain text
|
||||
|
||||
@@param AWorkbook Workbook in which the cell with this text will reside
|
||||
@@param AFont Standard font used in the cell in which this text
|
||||
will reside
|
||||
@@param AHTMLText Input Text with html tags to be applied to the cell
|
||||
@@param APlainText AHtmlText after removal of HTML tags, pure text
|
||||
@@param ARichtTextParams Rich-text parameters corresponding to the embedded
|
||||
html tags
|
||||
-------------------------------------------------------------------------------}
|
||||
procedure HTMLToRichText(AWorkbook: TsWorkbook; AFont: TsFont;
|
||||
const AHTMLText: String; out APlainText: String;
|
||||
|
Reference in New Issue
Block a user