Hello
we are developing new Extension for open office Writer I am using Net Beans 5.5 JDK 6.0
Open Office 3.0
For some purpose I want to access CharSet of a document
Is there any way to identify used character set for particular document ?
For eg . I want Document CherSet like “Windows 1252”
Thank you
How to access CharSet of a document
Re: How to access CharSet of a document
[Moved topic to Macros and UNO API]
AOO4/LO5 • Linux • Fedora 23
Re: How to access CharSet of a document
Although most of us probably only use 1 character set (Font?) in a document a different one can be applied to different paragraph or even individual characters. In addition, just one font can have different characteristics such as Bold, Italics, etc. and font size.
I think we need more information as to what you want exactly.
I think we need more information as to what you want exactly.
- kingfisher
- Volunteer
- Posts: 2127
- Joined: Tue Nov 20, 2007 10:53 am
Re: How to access CharSet of a document
Cells have a number of 'char' attributes / properties. The only 'char' properties belonging to the document concern locale.
Apache OpenOffice 4.1.12 on Linux
- kingfisher
- Volunteer
- Posts: 2127
- Joined: Tue Nov 20, 2007 10:53 am
Re: How to access CharSet of a document
I can find no charset property. I suggest you subscribe to the api dev list and ask there:
To subscribe to the list, send a message to:
<dev-subscribe@api.openoffice.org>
To remove your address from the list, send a message to:
<dev-unsubscribe@api.openoffice.org>
Send mail to the following for info and FAQ for this list:
<dev-info@api.openoffice.org>
<dev-faq@api.openoffice.org>
Similar addresses exist for the digest list:
<dev-digest-subscribe@api.openoffice.org>
<dev-digest-unsubscribe@api.openoffice.org>
The email address you use may receive spam. The mailing list can also be accessed via Nabble; you register with Nabble separately but should still subscribe to the list directly. If you are concerned about spam, I suggest the digest subscription using some otherwise unused email address and corresponding with the list via Nabble.
To subscribe to the list, send a message to:
<dev-subscribe@api.openoffice.org>
To remove your address from the list, send a message to:
<dev-unsubscribe@api.openoffice.org>
Send mail to the following for info and FAQ for this list:
<dev-info@api.openoffice.org>
<dev-faq@api.openoffice.org>
Similar addresses exist for the digest list:
<dev-digest-subscribe@api.openoffice.org>
<dev-digest-unsubscribe@api.openoffice.org>
The email address you use may receive spam. The mailing list can also be accessed via Nabble; you register with Nabble separately but should still subscribe to the list directly. If you are concerned about spam, I suggest the digest subscription using some otherwise unused email address and corresponding with the list via Nabble.
Apache OpenOffice 4.1.12 on Linux
Re: How to access CharSet of a document
Each cell has a text object. What happens if you look at the text object (should be able to call getText() on the cell).