Reply to topic  [ 4 posts ] 
adding "Outline" border to a cell range 
Author Message

Joined: Mon Jun 01, 2009 4:50 am
Posts: 5
Reply with quote
Post adding "Outline" border to a cell range
Hi,

Please guide me if some direct Border Style is available to add the "Outline" border to a cell range.
This option is available under : Format Cells dialog/ Border Tab/ Presets/ Outline


Tue Jun 09, 2009 4:56 am
Profile

Joined: Fri Feb 03, 2006 12:23 pm
Posts: 138
Location: Brasov, Romania
Reply with quote
Post 
You can find the available borders in class EasyXLS.Constants.Border
http://www.easyxls.com/manual/API_Doc ... order.html

To build the outline border you need to set the border for each 4 borders of the cell using ExcelStyle.setBorderStyles or ExcelCell.setBorderStyles method.


Fri Jun 12, 2009 3:27 am
Profile WWW

Joined: Mon Jun 01, 2009 4:50 am
Posts: 5
Reply with quote
Post 
thanks Daniela,

but the reason why I am asking about the "Outline Border" is : it allows me to add a single outline to a selected range of cells. I do not want to add full border(on all 4 sides) to each cell.
So does it mean EasyXLS does not give me the automatic functionality of adding the Outline to a range of cells, and I will have to write a customized Style for such operation ?


Fri Jun 12, 2009 12:43 pm
Profile

Joined: Fri Feb 03, 2006 12:23 pm
Posts: 138
Location: Brasov, Romania
Reply with quote
Post 
Yes, you need to write a customize style.


Mon Jun 15, 2009 5:03 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.