Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-11

Working with RTF

16 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I am new to LAzarus and work almost entirely in a Windows environment. I'm trying to create an application that edit's text in an RTF way and while I ve looked at RichEdit (I think is the name) it doesn't seem to support such things as alignment for paragraphs etc.

I really need a good RTF control, has any one had any luck converting a Delphi one they wouldn't mind sharing, or is there a good one I've missed. It needs to be able to work with RTF files, editing like a word processor with all the usual windows text control, like selections etc.

Please help out the new guy :) This has me totally foxed and is make or break for my application. Will be freeware btw and I can't afford commercial controls.

Thanks for your patience and help

Lu

Reply by email

Juha Manninen
to Unknown author

2011/11/16

Show quoted text 5 lines
I am new to LAzarus and work almost entirely in a Windows environment. I'm trying to create an application that edit's text in an RTF way and while I ve looked at RichEdit (I think is the name) it doesn't seem to support such things as alignment for paragraphs etc.

Did you look at SynEdit under Lazarus components?

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111116/7ff109c2/attachment-0001.html>

Reply by email

Flávio Etrusco
to Juha Manninen

2011/11/16 Juha Manninen :

Show quoted text 11 lines
2011/11/16 > > I am new to LAzarus and work almost entirely in a Windows environment. > ?I'm > trying to create an application that edit's text in an RTF way and while I > ve looked at RichEdit (I think is the name) it doesn't seem to support > such > things as alignment for paragraphs etc. Did you look at SynEdit under Lazarus components? Juha

SynEdit doesn't implement RTF-like functionality. Unfortunately I don't know any corresponding component either. Maybe one of the HTML viewers may serve as a starting point...

-Fl?vio

Reply by email

Juha Manninen
to Flávio Etrusco

2011/11/16 Fl?vio Etrusco

SynEdit doesn't implement RTF-like functionality. Unfortunately I don't know any corresponding component either. Maybe one of the HTML viewers may serve as a starting point...

True.
If there is a good Delphi component someone could try porting it.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111116/28aef0fe/attachment.html>

Reply by email

Leonardo M. Ramé
to Unknown author: I am new to LAzarus and work almost entirely in a Windows environment. I'm trying to…
Show quoted text 22 lines
I am new to LAzarus and work almost entirely in a Windows environment. I'm trying to create an application that edit's text in an RTF way and while I ve looked at RichEdit (I think is the name) it doesn't seem to support such things as alignment for paragraphs etc. I really need a good RTF control, has any one had any luck converting a Delphi one they wouldn't mind sharing, or is there a good one I've missed. It needs to be able to work with RTF files, editing like a word processor with all the usual windows text control, like selections etc. Please help out the new guy :) This has me totally foxed and is make or break for my application. Will be freeware btw and I can't afford commercial controls. Thanks for your patience and help

Not tested in Lazarus, but RichView is a great RTF component for Delphi, take a look at this migrated package:

http://wiki.lazarus.freepascal.org/RichView

P.S: please, give us your feedback, in a near future project I'll have to migrate a Delphi app with this component.

Reply by email

Antônio
to Leonardo M. Ramé

I have just installed RichView and my first operation (RichView1.AddText('abcd', 0);) does nothing.

Ant?nio

2011/11/16 Leonardo M. Ram? :

Show quoted text 42 lines
On 2011-11-16 05:26:00 +0000, wrote: > I am new to LAzarus and work almost entirely in a Windows environment. ?I'm > trying to create an application that edit's text in an RTF way and while I > ve looked at RichEdit (I think is the name) it doesn't seem to support such > things as alignment for paragraphs etc. > > > > I really need a good RTF control, has any one had any luck converting a > Delphi one they wouldn't mind sharing, or is there a good one I've missed. > It needs to be able to work with RTF files, editing like a word processor > with all the usual windows text control, like selections etc. > > > > Please help out the new guy :) ?This has me totally foxed and is make or > break for my application. Will be freeware btw and I can't afford commercial > controls. > > > > Thanks for your patience and help > Not tested in Lazarus, but RichView is a great RTF component for Delphi, take a look at this migrated package: http://wiki.lazarus.freepascal.org/RichView P.S: please, give us your feedback, in a near future project I'll have to migrate a Delphi app with this component. -- Leonardo M. Ram? http://leonardorame.blogspot.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

silvioprog
to Leonardo M. Ramé

2011/11/16 Leonardo M. Ram? :

Show quoted text 14 lines
On 2011-11-16 21:56:12 -0200, Ant?nio wrote: > I have just installed RichView and my first operation > (RichView1.AddText('abcd', 0);) does nothing. > > Ant?nio Good to know. Did you try this?: http://wiki.lazarus.freepascal.org/RichMemo -- Leonardo M. Ram? http://leonardorame.blogspot.com

More:

http://code.google.com/p/lazarus-br/source/browse/#svn%2Ftrunk%2Fpackage%2FlzRichEdit (short link: http://goo.gl/Vj0nQ)

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Unknown author
to silvioprog

Yes! Thank you this is just what I need, it supports all the basic functionality I want and it's nice and easy to use - thank you for pointing this out to me.

<snip>

More:

http://code.google
com/p/lazarus-br/source/browse/#svn%2Ftrunk%2Fpackage%2FlzRichEdit

(short link: http://goo.gl/Vj0nQ)

Silvio Cl?cio =============================================== Blog - <silvioprog.com.Br> Twitter - <twitter.com/silvioprog> Facebook - <Facebook.com/silvioprog> LazSolutions - <code.Google.com/p/lazsolutions> Lazarus-BR - <groups.Google.com.Br/group/Lazarus-Br?hl=pt-BR> =============================================== * Conhe?a nosso canal IRC sobre Lazarus: #Lazarus-Br * ===============================================

Reply by email

Everton Vieira
to Unknown author

Any ideas when the lzRichEdit.Print would be implemented?

[]'s
Everton

2011/11/18

Show quoted text 51 lines
Yes! Thank you this is just what I need, it supports all the basic functionality I want and it's nice and easy to use - thank you for pointing this out to me. <snip> More: http://code.google com/p/lazarus-br/source/browse/#svn%2Ftrunk%2Fpackage%2FlzRichEdit (short link: http://goo.gl/Vj0nQ) -- Silvio Cl?cio =============================================== Blog - <silvioprog.com.Br> Twitter - <twitter.com/silvioprog> Facebook - <Facebook.com/silvioprog> LazSolutions - <code.Google.com/p/lazsolutions> Lazarus-BR - <groups.Google.com.Br/group/Lazarus-Br?hl=pt-BR> =============================================== * Conhe?a nosso canal IRC sobre Lazarus: #Lazarus-Br * =============================================== -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Everton Vieira. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111118/74e76914/attachment.html>

Reply by email

silvioprog
to Everton Vieira

Please, contact the developer of the package here: https://groups.google.com/group/lazarus-br?hl=pt-BR

2011/11/18 Everton Vieira :

Show quoted text 11 lines
Any ideas when the lzRichEdit.Print would be implemented? []'s Everton 2011/11/18 > > Yes! Thank you this is just what I need, it supports all the basic > functionality I want and it's nice and easy to use - thank you for > pointing > this out to me.
Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Antônio
to silvioprog

Finally a RichEdit component on Lazarus.

Ant?nio

2011/11/18 silvioprog :

Show quoted text 34 lines
Please, contact the developer of the package here: https://groups.google.com/group/lazarus-br?hl=pt-BR 2011/11/18 Everton Vieira : > Any ideas when the lzRichEdit.Print would be implemented? > > []'s > Everton > > 2011/11/18 >> >> Yes! Thank you this is just what I need, it supports all the basic >> functionality I want and it's nice and easy to use - thank you for >> pointing >> this out to me. -- Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * =============================================== -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Antônio
to Antônio

One could create a Wiki entry for this component.

Ant?nio

2011/11/23 Ant?nio :

Show quoted text 40 lines
Finally a RichEdit component on Lazarus. Ant?nio 2011/11/18 silvioprog : > Please, contact the developer of the package here: > https://groups.google.com/group/lazarus-br?hl=pt-BR > > 2011/11/18 Everton Vieira : >> Any ideas when the lzRichEdit.Print would be implemented? >> >> []'s >> Everton >> >> 2011/11/18 >>> >>> Yes! Thank you this is just what I need, it supports all the basic >>> functionality I want and it's nice and easy to use - thank you for >>> pointing >>> this out to me. > > -- > Silvio Cl?cio > =============================================== > Blog - <silvioprog.com.br> > Twitter - <twitter.com/silvioprog> > Facebook - <facebook.com/silvioprog> > LazSolutions - <code.google.com/p/lazsolutions> > Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> > =============================================== > ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * > =============================================== > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Reinier Olislagers
to Antônio
Ant?nio wrote
One could create a Wiki entry for this component. Ant?nio

Ant?nio, good idea, I'm sure people will be happy with your contribution... Even if it is only a page (in English or Portuguese) saying the component exists and where it can be found - that will already help a lot of people, I think.

Regards,

Reinier

Reply by email

Antônio
to Reinier Olislagers

I have just contact the author and he says that is making deep modifications on the component and prefers to wait a bit.

Anyway, I have download and successfully installed lzRichEdit from the link below:

http://code.google.com/p/lazarus-br/downloads/detail?name=lazarus-br-28-10-2011.zip&can=2&q=

The file contains other stuff as well.

Ant?nio

2011/11/23 Reinier Olislagers :

Show quoted text 20 lines
On 23-11-2011 17:57, Ant?nio wrote: > One could create a Wiki entry for this component. > > Ant?nio Ant?nio, good idea, I'm sure people will be happy with your contribution... Even if it is only a page (in English or Portuguese) saying the component exists and where it can be found - that will already help a lot of people, I think. Regards, Reinier -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

silvioprog
to Antônio

2011/11/23 Ant?nio :
[...]

Anyway, I have download and successfully installed lzRichEdit from the link below: http://code.google.com/p/lazarus-br/downloads/detail?name=lazarus-br-28-10-2011.zip&can=2&q=

I think that the copy of SVN is up to date:

https://lazarus-br.googlecode.com/svn

Good luck!

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email