+ Reply to Thread
Results 1 to 2 of 2

Thread: Saving in RTF

  1. #1
    Code Warrior BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch's Avatar
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Age
    20
    Posts
    2,223
    Blog Entries
    8

    Saving in RTF

    Well technically im using PHP to do this but that is not what I am having trouble with. I tried googling this and couldnt find anything.

    Basically I am trying to save something in RTF format. Is there a tutorial anywhere some people might recommend? Obviously I could just copy and paste the same thing a RTF thing created or play around with it for a few hours but I am trying to find a way to do this without being to messy.

    So far I have realized that this works fine:

    Code:
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
    {\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20
    \b Full Name:\b0  Blaine Sch\par
    \b Full Name:\b0  Blaine Sch\par
    \b Full Name:\b0  Blaine Sch\par
    \b Full Name:\b0  Blaine Sch\par
    \b Full Name:\b0  Blaine Sch\par
    }
    The first 3 lines just start it up - take any of them out and you mess it up... the \b \b0 thing make it bold and \par is a new line

  2. #2
    Co-Administrator John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John's Avatar
    Join Date
    Jul 2006
    Age
    21
    Posts
    5,885
    Blog Entries
    25

    Re: Saving in RTF

    I would start by reading the specification. Rich Text Format (RTF) Specification, version 1.6

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Saving session into database and use it
    By yonghan in forum PHP Forum
    Replies: 9
    Last Post: 02-22-2009, 06:13 AM
  2. saving to database after few seconds
    By iory in forum PHP Forum
    Replies: 4
    Last Post: 10-23-2008, 09:55 AM
  3. Saving Data
    By RGB in forum Java Help
    Replies: 3
    Last Post: 09-25-2008, 03:06 PM
  4. Saving Position and Split Screen
    By Crom in forum C# Programming
    Replies: 1
    Last Post: 09-07-2007, 11:14 AM
  5. saving images to streams
    By Darkkender in forum Managed C++
    Replies: 0
    Last Post: 05-23-2007, 03:58 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts