![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 | ||
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Re: RTF Codes
Oh, if the depth of the report is not fixed, it won't be as easy as I suggested. For instance, if you want it to generate:
Quote:
Quote:
Then you won't be able to use a fixed template. But you just take a quick look at your general template's ascii data and make some logical decisions about whether or not it's easily possible with my method, and what you will have to tweak in my procedure to get it working. |
||
|
|
|
|
|
#12 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 213
Rep Power: 3
![]() |
Re: RTF Codes
A more up to date RTF specification available here. linky dink: http://www.wotsit.org/download.asp?f=rtf18&sc=253448238
Taken a quick look, seems to describe the format well with a sample RTF reader and writer app, with sourcecode and description. |
|
|
|
|
|
#13 |
|
Programmer
Join Date: Apr 2008
Posts: 43
Rep Power: 0
![]() |
Why not Word?
May be I am not understanding your problem well, but why don't you just open MS Word and create your RTF file any way you want and save it as RTF.
Anywhere you need to send variables mark them specifically ( <VAR1> <VAR2> , etc.) Then use any method such as "replace" to send your data to this RTF file. I did a project like this a while back in PHP and MySQL and altough at the begingin everybody told me not to use Word and use PDF instead I had no difficulty at all about getting the job done in a short time. |
|
|
|
|
|
#14 | |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Re: Why not Word?
Quote:
Welcome to the forum, but please only bump month-old topics if you have something to add to the discussion. |
|
|
|
|
|
|
#15 |
|
Programmer
Join Date: Apr 2008
Posts: 43
Rep Power: 0
![]() |
What do you mean by "Welcome to the forum, but please only bump month-old topics if you have something to add to the discussion. "?
__________________
^c^ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Function for Converting ASCII Codes? | Sane | Python | 2 | Mar 29th, 2006 10:00 PM |
| Need a bit of help understanding some codes. | emdiesse | Visual Basic | 4 | Apr 21st, 2005 12:05 PM |
| Checking source codes of image, audio and video files | on_auc | C++ | 3 | Feb 21st, 2005 8:36 PM |