Hi,
How can I include Icons in the Icons that I add to the toolbar from
starbasic?
--
Knut Olav Bøhmer
Hi Knut
If you have made a toolbar please send me the code snippet and the
procedures towards its integration. I'll be highly Thankful.
On 10/24/06, Knut Olav Bøhmer [EMAIL PROTECTED] wrote:
Hi,
How can I include Icons in the Icons that I add to the toolbar from
starbasic?
--
Knut Olav
On 10/24/06, Tabish F. Mufti [EMAIL PROTECTED] wrote:
Hi Knut
If you have made a toolbar please send me the code snippet and the
procedures towards its integration. I'll be highly Thankful.
'MakeToolbar.main( sToolBar, Save,
Hi Knut,
would you like to package this as a codesnippet for our snippet page?
http://codesnippets.services.openoffice.org/
Tom
signature.asc
Description: OpenPGP digital signature
According to the helpfiles that comes with OO.o 2.03 (english, windows)
the Starbasic function CreateObject can create uno objects
-
Creates a UNO object.
This method creates instances of the type that is passed as parameter.
So I undersdand that I have to set the style = ICON, But i don't
understand where the icon comes from.
from the pragramatic toolbar spesification (
http://specs.openoffice.org/ui_in_general/api/ProgrammaticControlOfMenuAndToolbarItems.sxw)
it says that you have to add Icons to
Hi Christoph,
from a quick look on what you wrote I would guess the problem lies in
XComponent openDocument instead of
XTextDocument openDocument, maybe someone wants to correct me.
Following code always retruns null. The variable openDocument is an
instance of the class XComponent. Why
Hi together again,
after trying to get the bookmarks of a document, I now want to insert a
bookmark and have again troubles. Here my code:
-%-
// Query for an XMultiServiceFactory instance from the global
// service manager
XMultiServiceFactory mxMSF = (XMultiServiceFactory)
I think you create the MSF of your XTextDocument object. That's just a
wild guess though
XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(
XTextDocument.class, xComponent);
XMultiServiceFactory mxMSF = (XMultiServiceFactory)
Hi Jimmy,
What does openDocument give back? Does it exist? If not, you have to
check the initialization of your xComponent.
my Eclipse debugger says openDocument is
[Proxy:6251267,87bbb80;gcc3[0];f4355070635711db80a6db3279cddba,Type[com.sun.star.lang.XComponent]]
I can work with it without
Knut Olav Bøhmer wrote:
So I undersdand that I have to set the style = ICON, But i don't
understand where the icon comes from.
from the pragramatic toolbar spesification (
http://specs.openoffice.org/ui_in_general/api/ProgrammaticControlOfMenuAndToolbarItems.sxw)
it says that you have to add
Hi again,
finally I found the solution...
Following code always retruns null. The variable openDocument is an
instance of the class XComponent. Why does it always return null,
although the document is opened correctly and contains two bookmarks
named Textmarke01 and Textmarke02?
thanks for your detailed response.
I would like to implement most of your suggestions.
Unfortunately, it seems that my bosses have decided
against keeping our OpenOffice solution. This could
very well be a failure on my part to write optimal
code, I don't know.
But while I am on my soapbox, I
Kent Gibson wrote:
thanks for your detailed response.
I would like to implement most of your suggestions.
Unfortunately, it seems that my bosses have decided
against keeping our OpenOffice solution. This could
very well be a failure on my part to write optimal
code, I don't know.
But while I
I'm investigating writing a filter using Java and UNO. So far, I can
iterate over text in a writer document, but I'm having trouble with
graphics. I can use an XTextCursor to create an
XContentEnumerationAccess and then find TextContent items using
XEnumeration xTextContentEnum =
15 matches
Mail list logo