permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes How To Write BOLD Content In Excel File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How To Write BOLD Content In Excel File " Watch "How To Write BOLD Content In Excel File " New topic
Author

How To Write BOLD Content In Excel File

Tanzy Akhtar
Ranch Hand

Joined: Jul 19, 2009
Posts: 110
Hi,

I am trying to make some heading in an excel file.

I wrote a java code to write the same.
In the code, simply used a buffered writer to write in a file.
Formatted print messages with comma separated so that if i ll open the text file in excel it will show proper messages.

Now i want some content to be bold.
Tried <B> but didn't work.

Give me a path to achieve this..

Thanks,
Tanzy.


Roll with punchers, there is always tomorrow.
Techie Blog -- http://jtanzy.blogspot.com/
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

You need to use something like Apache POI


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Or try using XML. But you cannot achieve this by using plain text, like a csv file.


[My Blog]
All roads lead to JavaRanch
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
... something like Apache POI

... and its Quick Guide shows how to work with fonts, bold or otherwise.


Ping & DNS - my free Android networking tools app
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38006
    
  22
Too difficult a question for "beginning Java." Moving thread.
Tanzy Akhtar
Ranch Hand

Joined: Jul 19, 2009
Posts: 110
Thank you Ulf, Christophe and Maneesh for your valuable suggestions.

I will try to implement in that way.

Thanks,
Tanzy.
shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 200
here is the solution : Use POI api
Tanzy Akhtar
Ranch Hand

Joined: Jul 19, 2009
Posts: 110
Thank you Shukla.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Write BOLD Content In Excel File
 
Similar Threads
How to read and write excel file
Opening an xlsx Excel file
Writing xlsx document to servlet response
Generating MSExcel Reports in java
Exporting data to excel file... using java web app