| View previous topic :: View next topic |
| Author |
Message |
wallaye General User

Joined: 03 Dec 2003 Posts: 12
|
Posted: Thu May 13, 2004 8:07 am Post subject: html output with special chars |
|
|
Hello
I'd like to save some documents in HTML format...
But with some special unicode chars like "?" (ʁ)
OO just save the character "as is", but it should encode it ampersand + # + unicode number + ;
I didn't found such an option, so I decided to write a macro... Well I found I can write :
ReplaceStrings(StarDesktop.ActiveFrame.Controller.Model, "?" , "\ʁ")
but that won't work, it just insert ʁ instead of ʁ
So I'd like to go into kind of "html source mode" before doing the replace... is that possible?
Can I found a good doc for OO objects hierarchy somewhere?
thanks |
|
| Back to top |
|
 |
DannyB Moderator


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
Posted: Thu May 13, 2004 8:22 am Post subject: |
|
|
Be sure you are writing HTML in a Web document not a Writer document. For Writer you would pick....
File --> New --> Text document.
For Web, you would pick....
File --> New --> HTML document.
In a Web document, you can pick
View --> HTML Source
to see the html source code. As a shortcut, there is an HTML Source icon on the left hand toolbar. You can put ʁ codes in to the html source.
Ordinary question marks do not need be coded as entities. _________________ Want to make OOo Drawings like the colored flower design to the left? |
|
| Back to top |
|
 |
|
|
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
|