Hi every:
Recently I join a group to develop OpenOffice by SDK and I am newbie for OOo Development. I got to implement a feature: modify a protected cell tip message of table in writer with custom message. for example: if the cell of table is protected, when I want to edit the cell's content, it will show: Readonly Content cannot be changed, no modifications will be accepted. Now I want to set this tip message with custom message, like: The content of this cell is create by another author, you cannot change it!
I have searched Google for several days, currently I think the way to implement this feature is modify the String Resource of OpenOffice by ResourceID, but the API of module com.sun.star.resource confused me, I don't understand how to get the XStringResourceManager interface and other service. The interface XStringResourceSupplier is marked as "not published". I tried to query interface from XModel and XDesktop, but I got nothing. I want to know is it possible to modify String Resource of OpenOffice, Or could you please tell me if you know the other solutions to make this feature?
My develop environment: windows 7 + VC++ + OpenOffice 4.1.0.
Best regards.
[C++]Modify UI Text by string resource id.
Java, C++, C#, Delphi... - Using the UNO bridges
-
- Posts: 1
- Joined: Thu May 10, 2012 1:07 pm
Jump to
- Getting started
- ↳ Survival guide
- ↳ Beginners
- ↳ Getting Started Guide for 4.x
- ↳ Getting Started Guide for 3.x
- ↳ Install, Setup and Troubleshooting
- ↳ Admin Guide
- ↳ MS Windows
- ↳ Linux
- ↳ Mac OSX
- ↳ LibreOffice
- ↳ Tablets
- ↳ Tutorials
- ↳ Writer
- ↳ Calc
- ↳ Base
- Applications
- ↳ Writer
- ↳ Writer Guide for 4.x
- ↳ Writer Guide for 3.x
- ↳ Writer Tutorials
- ↳ Templates
- ↳ Advanced Uses
- ↳ Calc
- ↳ Calc Guide for 4.x
- ↳ Calc Guide for 3.x
- ↳ Calc Functions
- ↳ Calc Tutorials
- ↳ Impress
- ↳ Impress Guide for 4.x
- ↳ Impress Guide for 3.x
- ↳ Draw
- ↳ Draw Guide for 4.x
- ↳ Draw Guide for 3.x
- ↳ Math
- ↳ Math Guide for 4.x
- ↳ Math Guide for 3.x
- ↳ Math Guide for 3.x
- ↳ Base
- ↳ Base Guide for 4.x
- ↳ Wiki
- ↳ Base Tutorials
- ↳ Tables & Queries
- ↳ Forms
- ↳ External Data Sources
- ↳ Reporting
- ↳ Database Examples
- Customizing and Extending
- ↳ Macros and UNO API
- ↳ Basic Guide
- ↳ Code Snippets
- ↳ Extension Repository
- ↳ Macro Repository
- ↳ External Programs
- ↳ Extensions
- ↳ Extensions page
- Community
- ↳ General Discussion
- ↳ Site Feedback
- ↳ Forum Governance
- ↳ User Experience (UX)
- ↳ Announcements
- Business
- ↳ Institutions & Educational
- ↳ Paid support
- ↳ Consultants Directory