Solved

TRichEdit and rtf files

Posted on 1997-04-23
2
922 Views
Last Modified: 2013-11-22
I got a trouble with the TRIchEdit component... I import an rtf file into it but it doesn't recognise some codes like the page break (/page) and some others which Word interprets correctly instead... I want to be able to print the contents of the memo (with or without the Print method) with page breaks, and possibly define the margins... They hadn't any answer for me at Borland, so I'll grade this question with a high score...
0
Comment
Question by:Nando
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Heapster earned 110 total points
ID: 1335678
Nando, the Delphi richedit component is severely lacking, in addition to the problems you mentioned, it doesnt have subscripts,full justification, ....the list goes on, in fact it
although it recognises rtf format (i.e. if you paste across from Word for example), it doesnt use that format internally.

The Solution:      Use a decent RichEdit component that someone has taken the trouble to write that does have all these lovely features, and uses a proper rtf internal format.

The one i use is WPTools by Julian Zierch, which i have found to be excellent, and i recommend highly, although there are quite a few alternatives out there. (If you use it can you tell him i recommended it! as Paul Heap)

I have found contacting Borland to be a waste of time, they dont seem to have much of a clue about their richedit component (or much else for that matter).  If you send me your e-mail address, I'll mail you the WPTools now for immediate evalution, and if you need help on how to use it, feel free to mail me at Heapster@Dial.Pipex.com, as i know it pretty well by now.

Some Useful Addresses.

WPTools: (native delphi)

http://members.aol.com/jziersch/index.html
InfoPower: (native delphi)

EMail: 76207.2541@compuserve.com
www.Woll2Woll.com

LEDIT:

TechnoSoft, Inc.
EMail: cwhite@techosoft-inc.com
www.technosoft-inc.com

Orpheus: (native delphi)

CompuServe: GO TURBOPOWER
Internet: www.tpower.com

TE Development kit ('supports' delphi)

EMail: subsys@shore.net
www.subsystems.com

MemoWriter Pro: (native delphi)

Universal Development Corporation
Internet: http://www.ice.net/~udc

Theres also one called highedit pro, which comes as an ocx, but you'll have to search the web for it, but im sure at least one of the above can solve your problem.
0
 

Author Comment

by:Nando
ID: 1335679
Better than nothing... I'll see if I can buy a word-processor component just to have a richedit that interprets page breaks...

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question