Kexi/Plugins/Reports/Report hyperlinks: Difference between revisions

From KDE Community Wiki
< Kexi‎ | Plugins‎ | Reports
No edit summary
Line 8: Line 8:
__TOC__
__TOC__
==Rationale==
==Rationale==
It should be possible to display hyperlinks based on data from a text field in reports. After generating PDF or PS, the links should be clickable.
It should be possible to display text fields as hyperlinks.
 
Note that future rich text support in text fields will support hyperlinks in a HTML way.
 
==Requirements==
*add a "hyperlink data source" property aside of "text data source", so both can be obtained from the db
*the URL can be based on data from a data source, or
*the URL can be based on static text set in a hyperlink property
*by default the font should be underlined and somewhat blue-colored (honor the format changes though)
*after generating a PDF or PS, the links should be clickable (assuming the URL is provided)


==Details==
==Details==

Revision as of 20:57, 13 April 2023

Design page for task: "Add support for displaying hyperlinks in reports".

Rationale

It should be possible to display text fields as hyperlinks.

Note that future rich text support in text fields will support hyperlinks in a HTML way.

Requirements

  • add a "hyperlink data source" property aside of "text data source", so both can be obtained from the db
  • the URL can be based on data from a data source, or
  • the URL can be based on static text set in a hyperlink property
  • by default the font should be underlined and somewhat blue-colored (honor the format changes though)
  • after generating a PDF or PS, the links should be clickable (assuming the URL is provided)

Details

The links should be displayed as underlined with default hyperlink style. This applies also to local paths.

See also Forms button hyperlinks and Table hyperlinks.

Further work

...