Word Processing documents lazarus / 3-General ---------------------------------------------------------------------- thaimann · 2006-10-02 01:50 Is there a component, procedure or function to create wordprocessing document in any of the following formats: Open Office Word AbiWord WordPerfect Rich Text Format? Thx,   Terry ---------------------------------------------------------------------- Phil · 2006-10-02 14:18 Quote from: "thaimann"Is there a component, procedure or function to create wordprocessing document in any of the following formats: Open Office Word AbiWord WordPerfect Rich Text Format? Thx,   Terry Rich Text is a well-documented text-file format that can be read and written by Word and Open Office and I believe also by AbiWord and WordPerfect too.  Since it's a text format like HTML you could create simple .rtf files yourself by just outputting the RTF control words and text to a text file. Free Pascal's FCL includes an RTF parser in unit rtfpars. It's possible to run this "backwards" to create RTF files as well. If we had a place to post code files I could post a class I developed that uses the RTF parser to do that. As I recall there are also bugs in the parser unit. ---------------------------------------------------------------------- CCRDude · 2006-10-02 14:38 Wikipedia does even include a simple example of a RTF file Code: [Select]{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0 Hello!\par This is some {\b bold} text.\par } The first line defines the fonts used (font 0 = swiss/Helvetica). Then a few \par for new parapgraph and the bold is easy. ---------------------------------------------------------------------- theo · 2006-10-02 16:39 QuoteFree Pascal's FCL includes an RTF parser in unit rtfpars. It's possible to run this "backwards" to create RTF files as well. If we had a place to post code files I could post a class I developed that uses the RTF parser to do that. Hi, I'd be interested. Isn't there any place you could post it? ---------------------------------------------------------------------- Phil · 2006-10-02 20:33 Quote from: "theo" Hi, I'd be interested. Isn't there any place you could post it? Sorry, no I don't. It would be nice if we had a Subversion-based place where registered Laz forum members could commit and checkout code files that they've developed that aren't appropriate for including with Laz. Documentation for these additional units and components can be placed on the Lazarus documentation wiki, but any code more than a few dozen lines doesn't belong on the wiki. Thanks. ---------------------------------------------------------------------- Vincent Snijders · 2006-10-02 20:59 If it is only a couple of lines, put it on the wiki, like the external programs page. If it is bigger, create a source zip and send it to me, I will put it on the Lazarus CCR download site on sourceforge, if there is a short description of the source.zip (at least author and license). Look for similar examples at the wiki. ---------------------------------------------------------------------- felipemdc · 2006-10-02 23:09 Quote from: "Phil"It would be nice if we had a Subversion-based place where registered Laz forum members could commit and checkout code files that they've developed that aren't appropriate for including with Laz. Actually we already have a subversion. Ask Vincent for write access to the lazarus-ccr subversion. Here are instructions to download what´s currently on the subversion: http://sourceforge.net/svn/?group_id=92177 ---------------------------------------------------------------------- Phil · 2006-10-03 20:43 Quote from: "sekel" Actually we already have a subversion. Ask Vincent for write access to the lazarus-ccr subversion. That's a great idea. I wouldn't need write access to the entire https://svn.sourceforge.net/svnroot/lazarus-ccr/ repository, just to, e.g., https://svn.sourceforge.net/svnroot/lazarus-ccr/myproject. Does Subversion permit that level of access control? Thanks. ---------------------------------------------------------------------- Vincent Snijders · 2006-10-04 11:44 Quote from: "Phil" That's a great idea. I wouldn't need write access to the entire https://svn.sourceforge.net/svnroot/lazarus-ccr/ repository, just to, e.g., https://svn.sourceforge.net/svnroot/lazarus-ccr/myproject. Does Subversion permit that level of access control? It is possible to do that with Subversion, but unfortunately, the svn server provided by sourceforge hasn't enabled that option. So, I only enabled the commit access to the svn server of lazarus-ccr to a few people who are developing components. If you want to publish examples or components a couple of times, rather than sharing the development, then you send me the source zip and I put in the download site of lazarus-ccr. Phil, what are your intentions exactly?