Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-04-20 Thread Razvan Adrian Bogdan
I've found some very interesting links: Delphi port of UNO API wich should work with CrossKylix, they want to port it to FPC/Lazarus too so we could help them and us :) http://sourceforge.net/projects/uno-pas-bridge/ French Tutorial: http://delphi.developpez.com/faq/?page=openoffice Other

RE: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-30 Thread Hess, Philip J
Starting OO via Automation on Windows is not difficult. Here's an example in Delphi that starts OO and opens a new document. This code crashes with FPC. program TestOO; uses SysUtils, Variants, ComObj; const OOServerName = 'com.sun.star.ServiceManager'; var Server : Variant;

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Adrian Maier
On 3/29/07, Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: I have 2 questions about document editing with Lazarus/FPC and i hope that someone reading the list might know the answer to at least one of them, the best way would probably be editing documents internally in a Lazarus app but it might

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Razvan Adrian Bogdan
On 3/29/07, Adrian Maier [EMAIL PROTECTED] wrote: 1)It is possible to run any of those editors from within a Lazarus application, as separate processes. That wouldn't be a problem, yes. 2)OpenOffice can be run as a server that waits for connections and can communicate with other programs. I

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Adrian Maier
On 3/29/07, Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: On 3/29/07, Adrian Maier [EMAIL PROTECTED] wrote: 1)It is possible to run any of those editors from within a Lazarus application, as separate processes. That wouldn't be a problem, yes. In this case , it looks like this is the way

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread [EMAIL PROTECTED]
You can try porting http://sourceforge.net/projects/uno-pas-bridge/ El jue, 29-03-2007 a las 15:43 +0300, Adrian Maier escribió: On 3/29/07, Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: On 3/29/07, Adrian Maier [EMAIL PROTECTED] wrote: 1)It is possible to run any of those editors from

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Felipe Monteiro de Carvalho
One alternative is to simply call Abiword as a external app. http://www.abisource.com/ It´s a very capable rtf editor, cross-platform and free (in all meanings). Plus, it´s so small (the windows installer has 5 mb) that you can just distribute it along with your application. Another good thing

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Florian Klaempfl
Razvan Adrian Bogdan schrieb: Win only is enough for now but Lazarus doesn't support ActiveX (COM) It does? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Razvan Adrian Bogdan
On 3/29/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: One alternative is to simply call Abiword as a external app. http://www.abisource.com/ It´s a very capable rtf editor, cross-platform and free (in all meanings). Plus, it´s so small (the windows installer has 5 mb) that you can

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Felipe Monteiro de Carvalho
On 3/29/07, Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: however i still have to find those docs for the plugin API, the idea is i need to create some GUI extension that would allow using special fonts wich will be used by clicking on buttons on a toolbar or by key in that case, I sugest

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Luiz Americo Pereira Camara
Razvan Adrian Bogdan wrote: On 3/29/07, Florian Klaempfl [EMAIL PROTECTED] wrote: Razvan Adrian Bogdan schrieb: Win only is enough for now but Lazarus doesn't support ActiveX (COM) It does? Florian i don't understand what you mean, does Laz have an ActiveX importer of some sort that i don't

Re: [lazarus] Document editing (doc, rtf) and/or interfacing with external editors

2007-03-29 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote: Razvan Adrian Bogdan wrote: On 3/29/07, Florian Klaempfl [EMAIL PROTECTED] wrote: Razvan Adrian Bogdan schrieb: Win only is enough for now but Lazarus doesn't support ActiveX (COM) It does? Florian i don't understand what you mean, does Laz have an