🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3206

Re: Rich or poor?

#3206
From: Rich Wilkman
Date: Mon, 09 Mar 1998 00:00
55 lines
2349 bytes
Chris:

Writing rtf and doc files should be easy if you have the file format
specs for them from MS.  They are platform dependant formats, so they
are not directly supported in Java.

With those specs, you may be able to write an import filter (not in 2
days) that converts the rtf and displays a reasonable facsimile. 
Probably have to throw out any font info, though -- Java can't talk to
the Registry and ask about what's available, etc.

Java supports jpg and gif formats.  Again, OS dependent formats just
aren't in the works for the moment.  With the format spec you could
write a translator, but not in 2 days.

You might search gamelan.com or similar sites to see if there are any
pre-rolled items you can buy to get some of this done.

-Rich

Chris Perks wrote:
> 
> I've got 2 days before a demo and I urgently need help on the following:
> 
> 1) We need to display Rich Text Format file (.rtf) on a text
> area in a frame. It seems only plain (.txt) is supported. What can I do?
> 
> It needs to look good.
> 
> 2) How to open and save .rtf and .doc? I need to offer paste and save as
> options.
> 
> 3) We need to print .tif map images, I've done the usual get toolkit
> etc, but
> the output is a nonsense.
> 
> I hope someone can help, the books don't cover this.
> Cheers,
> Chris Perks

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <350424A7.A8A3B6F1@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3503A43E.D5A0A41D@connection.com.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,62c54c57f3fe1957
X-Google-Attributes: gid1089d0,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: Rich or poor?
Date: 1998/03/09
Message-ID: <350424A7.A8A3B6F1@corp.borland.com>
X-Deja-AN: 332320039
Content-Transfer-Encoding: 7bit
References: <3503A43E.D5A0A41D@connection.com.hk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api