New HFCL word processor and other improvements - Part 2

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

New HFCL word processor and other improvements - Part 2

Post by kcarmody »

New HFCL word processor WordWriter
  • Uses tab control to develop interface similar to ribbon interface
  • In this tab, uses images and options from SAMPLES\Applications\MiniWriter
  • Includes bubble alternatives for keyboard access to buttons
  • Incorporates back end features of WordScribe
  • Window can be moved and resized
  • Stores settings in registry
  • File can be opened from the command line
  • Reads and writes RTF, ANSI TXT, and Unicode TXT files
  • Above features makes it a practical alternative to WordPad
WordWriter is based on the quasi-ribbon interface in MiniWriter, which is in SAMPLES\Applications\MiniWriter\.

Below is a screenshot of the quasi-ribbon interface in MiniWriter.
MiniWriterScreen.png
MiniWriterScreen.png (68.27 KiB) Viewed 5176 times
The above interface is similar to that of WordPad in Windows 7, below.
WordPadW7Screen.png
WordPadW7Screen.png (67.03 KiB) Viewed 5176 times
Continued in part 3
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by Rathinagiri »

Looking great!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by serge_girard »

Looks very nice, Kevin!

Many thanks. Is it possible to save as HTML?

Serge
There's nothing you can do that can't be done...
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by kcarmody »

serge_girard wrote:Is it possible to save as HTML?
It's possible, but I think you mean how easy would it be. So far WordScribe and WordWriter only read and write file formats supported by the Rich Edit control, and HTML does not seem to be included in these formats. So we would need something to convert between RTF and HTML. It might no be very hard to print to HTML using QHTM. But I'm not at all sure about this.

I tried using the SELECT PRINTER PDF command to print to a PDF. I got a PDF, and it had the right number of pages, but all the pages were blank. I did not see right away how to fix this.
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by quartz565 »

Very nice, Kevin!
Best Regards,
Nikos.

os: Windows Server 2019 - 64
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by esgici »

Thanks Mr. Carmody :D
Viva INTERNATIONAL HMG :D
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by serge_girard »

Hi Kevin,

I now use a 3rd party software to convert RTF to HTML; it's called RTF Tools (from Jani Giannoudis).
This works fine but it has to be called from command line level.

Serge
There's nothing you can do that can't be done...
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: New HFCL word processor and other improvements - Part 2

Post by kcarmody »

kcarmody wrote:
serge_girard wrote:Is it possible to save as HTML?
It's possible, but I think you mean how easy would it be. So far WordScribe and WordWriter only read and write file formats supported by the Rich Edit control, and HTML does not seem to be included in these formats. So we would need something to convert between RTF and HTML. It might no be very hard to print to HTML using QHTM. But I'm not at all sure about this.
serge_girard wrote:I now use a 3rd party software to convert RTF to HTML; it's called RTF Tools (from Jani Giannoudis).
This works fine but it has to be called from command line level.
Some time ago, I wrote a library in Harbour called UnicodeLib (http://kevincarmody.com/software/akshar ... unicodelib). It converts between HTML, RTF, TXT, and some other formats, but it is focused on text only. It does not input or output formatting such as bold, italic, subscripts, font changes, indents, bullets, tables, or graphics. I don't think this is the right way to support HTML in WordWriter. I think that, if WordWriter were to support HTML, it should read and write formatting just as it does with RTF.
Post Reply