You've already forked lazarus-ccr
fpspreadsheet: Fix hyperlink tooltip not being written for Excel2003/XML format
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1514,10 +1514,13 @@ function TsSpreadExcelXMLWriter.GetHyperlinkStr(ACell: PCell): String;
|
||||
var
|
||||
hyperlink: PsHyperlink;
|
||||
begin
|
||||
Result := '';
|
||||
hyperlink := (FWorksheet as TsWorksheet).FindHyperlink(ACell);
|
||||
if Assigned(hyperlink) then
|
||||
if Assigned(hyperlink) then begin
|
||||
Result := ' ss:HRef="' + hyperlink^.Target + '"';
|
||||
if hyperlink^.ToolTip <> '' then
|
||||
Result := Result + ' x:HRefScreenTip="' + UTF8TextToXMLText(hyperlink^.ToolTip) + '"';
|
||||
end else
|
||||
Result := '';
|
||||
end;
|
||||
|
||||
function TsSpreadExcelXMLWriter.GetIndexStr(AIndex, APrevIndex: Integer): String;
|
||||
|
Reference in New Issue
Block a user