OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Drawing Border - with optional sides

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets
View previous topic :: View next topic  
Author Message
kentgibson
Power User
Power User


Joined: 24 Jan 2006
Posts: 85

PostPosted: Thu Apr 27, 2006 8:51 am    Post subject: Drawing Border - with optional sides Reply with quote

I want to draw a "border". However any of the 4 sides are optional.

So for example in the simplest case I have a rectangle, or 3 connected lines or two parallel lines or just one line.

I suppose I need to use PolyLineShape. Would this be the best way to go?

I wouldn't be suprised if someone has a macro for this, but I couldn't find one.

Does anyone know of one? Or a code snippet (in java or basic)?

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group