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

Solved:Adding bullet to impress with chr(129) (newbie)

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
zizi
General User
General User


Joined: 04 May 2012
Posts: 14

PostPosted: Thu May 10, 2012 4:50 am    Post subject: Solved:Adding bullet to impress with chr(129) (newbie) Reply with quote

Hi,

I am trying to add bullet point and I tried using chr(129) however, it doesn't work. This is being used with insertString. This seems strange as most posts suggests using this special character.

text.insertString(Cursor," "&"Test" &Chr(129) &"Test",False)
Any help to get me started is appreciated.

Thank you very much.


Last edited by zizi on Wed May 16, 2012 3:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
DVezina
OOo Advocate
OOo Advocate


Joined: 29 Sep 2006
Posts: 248
Location: Orlando

PostPosted: Fri May 11, 2012 5:57 am    Post subject: Reply with quote

Bullet is 8226

The best way to look up special character values is to open an instance of OpenOffice and select Insert -> Special Characters.

Find the character you want and click on it. The hex value will be displayed in the menu. In this case 2022. Convert the hex to decimal
Back to top
View user's profile Send private message
zizi
General User
General User


Joined: 04 May 2012
Posts: 14

PostPosted: Wed May 16, 2012 3:26 pm    Post subject: Reply with quote

Thanks for teaching me Smile
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 Macros and API 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