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

From KDE Community Wiki
< Kexi‎ | Plugins‎ | Reports
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
*{{wish|308840}}
*{{wish|308840}}
*Target: ?
*Target: ?
*Status: UNASSIGNED
*https://invent.kde.org/libraries/kreport/-/issues/34


__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 (default hyperlink style)
**this applies also to local paths
**honor the format changes though
*after generating a PDF or PS, the links should be clickable (assuming the URL is provided)


==Details==
==Details==
The links should be displayed as underlined with default hyperlink style. This applies also to local paths.
See also [[Kexi/Plugins/Forms/Button hyperlinks|Forms button hyperlinks]] and [[Kexi/Plugins/Tables/Table_hyperlinks|Table hyperlinks]].
See also [[Kexi/Plugins/Forms/Button hyperlinks|Forms button hyperlinks]] and [[Kexi/Plugins/Tables/Table_hyperlinks|Table hyperlinks]].


==Further work==
==Further work==
...
...

Latest revision as of 21:00, 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 (default hyperlink style)
    • this applies also to local paths
    • honor the format changes though
  • after generating a PDF or PS, the links should be clickable (assuming the URL is provided)

Details

See also Forms button hyperlinks and Table hyperlinks.

Further work

...