Any ideas? I don't know how to specify a table in RTF but I know it can be possible because I found some code that translates from HTML to RTF.
The problem with that code is that I would need to have two nested tables and it seems it is impossible in RTF... (So it shows the RTF in a weird way) So I would like to know how to build a simple RTF table and maybe know how to format its borders.
We miss you, friend... Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
Alright, here I go again... Lets say I have this code:
Code:
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}{\f1\fnil\fcharset2 Wingdings;}{\f2\fnil\fcharset2 Wingdings 3;}}
{\colortbl ;\red0\green0\blue255;\red0\green0\blue0;}
\viewkind4\uc1\pard\lang2058\f0\fs17
\pard\plain \ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid6372879\yts15 \fs24\lang2058\langfe2058\cgrid\langnp2058\langfenp2058 {\insrsid8324869
Black Cell
\pard\
Paragraph
\pard\
Another Paragraph
\pard\
Last Paragraph
}{\insrsid8324869 \cell }{\insrsid8324869
White Cell
\pard\
Paragraph
\pard\
Last Paragraph
}{
\insrsid8324869
\cell }\pard\plain \ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \fs24\lang2058\langfe2058\cgrid\langnp2058\langfenp2058 {\insrsid8324869 \trowd \irow0\irowband0\lastrow \ts15\trgaph70\trleft-108\trbrdrt
\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10
\trbrdrv\brdrs\brdrw10
\trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid6372879\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth4489\clshdrawnil
\cellx4381
\clvertalt\clbrdrt\brdrnone \clbrdrl\brdrnone \clbrdrb\brdrnone \clbrdrr\brdrnone \cltxlrtb\clftsWidth3\clwWidth4489\clshdrawnil \cellx8870\row }\pard
\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\insrsid8324869
The results are shown in the attached file... As you can see the second rows' lower border isn't gray... I have tried changing the brdnone property... But it doesn't seem to work... What am I doing wrong?
We miss you, friend... Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico