NetTalk Central

Author Topic: Print a TinyMce text  (Read 2942 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Print a TinyMce text
« on: February 28, 2014, 06:09:32 AM »
Hi,
I have a form with a text control that is edited with Tinymce.
How do I print it?
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Print a TinyMce text
« Reply #1 on: February 28, 2014, 09:25:29 PM »
I'm not sure I understand the whole question.
Usually the user can print by just choosing Print from the File menu in their browser. But I figure you know that, so I'm misunderstanding what you really want to do.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Print a TinyMce text
« Reply #2 on: March 01, 2014, 05:29:42 AM »
Bruce, sory if I was not clear enought...
The user fills the form wich result is a RTF, I think... (image 1)
I know thu user may print from the TinyMCE button, but the idea is to print from a browse button for the user not to enter the form (image 2)
I create a report proc, populate a text control, set the RTF property and this is what I got (inmage 3)
What am I doing wrong?
Thanks

[attachment deleted by admin]
-----------
Regards
Alberto

Nick

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • Email
Re: Print a TinyMce text
« Reply #3 on: March 03, 2014, 05:03:02 AM »
Looks like good html.
I think that is what you can expect from a html-source editor like TinyMCE.

Nick

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Print a TinyMce text
« Reply #4 on: March 03, 2014, 11:29:54 PM »
if you want to embed HTML on a report - which I think is the idea you have in mind, then the HTML needs to be converted to RTF, and an RTF text control placed on the report. At the moment Clarion does not have an HTML control which works on a report.

Currently NetTalk does not have this facility built-in - but there are DLL's on the web for converting HTMLto RTF, and RTF to HTML.

Cheers
Bruce