Page 1 of 1

TRichView 18.6 - Markdown export

Posted: Thu Jul 23, 2020 9:47 am
by Sergey Tkachenko
We've released TRichView 18.6.

A trial version is available: https://www.trichview.com/download
A full version can be found in the protected section of this forum (or old setups can check for updates and download new versions).

New features:
- markdown export
- target canvas DPI for TRVReportHelper component

Previous version:
https://www.trichview.com/forums/viewto ... =6&t=10040

Markdown export

Posted: Thu Jul 23, 2020 10:12 am
by Sergey Tkachenko
Markdown export

Markdown a lightweight markup language with plain-text-formatting syntax.
It was designed to look like a plain text, and to be easy-to-read and easy-to-write.
While it's easy to create Markdown using a plain text editor, a possibility to create Markdown documents using a rich text editor (like our TRichView component) is still useful.
Markdown is widely used as a format of articles and notes in CMS, issue tracking systems, web sites (including GitHub, Stackoverflow, Jira).

New methods of TRichView:
* SaveMarkdown, SaveMarkdownToStream - saving a whole document or a selected fragment as Markdown to a file or a stream.
New properties of TRichView:
* MarkdownProperties.
This property is also added to ScaleRichView editor (TSRichViewEdit) and to DevExpress editor (TcxTRichViewEdit).

In RichViewActions, TrvActionExport ("File | Export" command) can export to Markdown files.
export-to-markdown.png
export-to-markdown.png (111.07 KiB) Viewed 45215 times
The following content can be saved:
* text with emphasis (italic) and strong emphasis (bold) attributes (determined differently when StyleTemplates (named styles) are used)
* headings
* horizontal lines ("break" items)
* multilevel bullets an numbering
* block quotes (if StyleTemplates (named styles) are used, paragraphs of certain styles are exported as block quotes)
* hyperlinks
* images
* tables (optionally)
* footnotes (optionally)

Target DPI for TRVReportHelper

Posted: Thu Jul 23, 2020 10:21 am
by Sergey Tkachenko
Target DPI for TRVReportHelper

TRVReportHelper is a component used to draw documents on the specified canvas.
Before this version, this component always used the canvas pixel depth, which is either a printer or a screen DPI.
Since this version, you can assign TargetPixelsPerInch to override this DPI and make the output independent of the screen DPI.

Localization

Posted: Thu Jul 23, 2020 10:36 am
by Sergey Tkachenko
Localization

Hindi translation of RichViewActions and ReportWorkshop is updated

Re: TRichView 18.6 - Markdown export

Posted: Tue Jul 28, 2020 9:44 pm
by Mamat Teguh
Is the smooth scroll available in this release?

Re: TRichView 18.6 - Markdown export

Posted: Wed Jul 29, 2020 9:47 am
by Sergey Tkachenko
Yes, it is available since the previous release.