Search found 19 matches: trichedit

Searched query: trichedit

by Silvio.Falconi
Mon Jan 29, 2024 5:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Let's begin with the last question
1. Mistakes
You have an old version of richtext

2. single rtf and six files
The END TABLE oRTF team closes the table, but does not close the file.
Therefore you just continue to fill out the file
If it is necessary - oRtf:NewPage(), and -
NEW PARAGRAPH ...
by MMK
Mon Jan 29, 2024 4:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Let's begin with the last question
1. Mistakes
You have an old version of richtext

2. single rtf and six files
The END TABLE oRTF team closes the table, but does not close the file.
Therefore you just continue to fill out the file
If it is necessary - oRtf:NewPage(), and -
NEW PARAGRAPH ...
by Silvio.Falconi
Mon Jan 29, 2024 3:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

//You made everything well. Small inaccuracies. There is a working example
#INCLUDE "FiveWin.ch"
#include "richtext.ch"
******************
Function RftDemo()
**********************
Local anchos,j,lFormato:=.F.
//Local Mas_n:={}
local aTable:={}
local nRow,ncol

Local oRtf,aMarca, cOutFile :="Plata ...
by Silvio.Falconi
Mon Jan 29, 2024 3:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

MMK wrote:Where to lay out or send this file?
Wich file?
by Silvio.Falconi
Mon Jan 29, 2024 3:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

C:\fwh2023\samples\tblrtf.prg(2) Error F0029 Can't open #include file: 'richtext.ch'

On my system there is no richtext.ch. I have richedit.ch but no richtext.ch

Linares told me that I have to learn from you Mr. Otto, but you are wrong, the class in question is not included among the fivewin ...
by Otto
Mon Jan 29, 2024 2:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

C:\fwh2023\samples\tblrtf.prg(2) Error F0029 Can't open #include file: 'richtext.ch'

On my system there is no richtext.ch. I have richedit.ch but no richtext.ch
by MMK
Mon Jan 29, 2024 2:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Where to lay out or send this file?
by Silvio.Falconi
Mon Jan 29, 2024 2:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Otto wrote:Hello,
Where do we find richtext.ch?
Best regards,
Otto
I hope you are joking
by Otto
Mon Jan 29, 2024 11:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Hello,
Where do we find richtext.ch?
Best regards,
Otto
by MMK
Mon Jan 29, 2024 11:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

//You made everything well. Small inaccuracies. There is a working example
#INCLUDE "FiveWin.ch"
#include "richtext.ch"
******************
Function RftDemo()
**********************
Local anchos,j,lFormato:=.F.
//Local Mas_n:={}
local aTable:={}
local nRow,ncol

Local oRtf,aMarca, cOutFile :="Plata ...
by Silvio.Falconi
Sun Jan 28, 2024 5:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Twenty seven years ago Thomas R. Marchione wrote a class for creation rtf of files
// Copyright: (C) 01/28/97 1997, Thomas R. Marchione
oRTF := SetRT( cOutFile )

// Use this to write an entire paragraph, with optional formatting.
NEW PARAGRAPH oRTF TEXT 'OOO «Text in aligned left ...
by Silvio.Falconi
Sat Jan 27, 2024 9:36 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Twenty seven years ago Thomas R. Marchione wrote a class for creation rtf of files
// Copyright: (C) 01/28/97 1997, Thomas R. Marchione
oRTF := SetRT( cOutFile )

// Use this to write an entire paragraph, with optional formatting.
NEW PARAGRAPH oRTF TEXT 'OOO «Text in aligned left ...
by MMK
Sat Jan 27, 2024 9:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Twenty seven years ago Thomas R. Marchione wrote a class for creation rtf of files
// Copyright: (C) 01/28/97 1997, Thomas R. Marchione
oRTF := SetRT( cOutFile )

// Use this to write an entire paragraph, with optional formatting.
NEW PARAGRAPH oRTF TEXT 'OOO «Text in aligned left»';
FONTNUMBER ...
by Silvio.Falconi
Thu Jan 25, 2024 10:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

Anserk,
it gives me a corrupt file error and office won rd doesn't open table.rtf for me

I explain you


I have a Do while loop

Function Print_Schedule()
Local aTable,a1,n,aTemp,x,aFlags:={}
local c1,c2
local cFileName := "table.rtf"
local oFile := FCreate(cFileName, 0)

aTable := {}

Do ...
by Silvio.Falconi
Thu Jan 25, 2024 8:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2998

Re: Creating table with Trichedit

To insert a paragraph before the table in the RTF document, you can simply write the text before starting the table construction in the RTF code. In RTF, paragraphs are generally marked by the \par control word.

// Insert a paragraph
FWrite(oFile, "This is a sample paragraph containing whatever ...