Hi Jörg,
How can I change the path for /user/uno_packages?
I know how I can change the complete path /user by using a macro, but only
/user/uno_packages?
i never tried, but i think you have to change several entries inside the
"uno.ini".
Regards
Oliver
---
Hi Berkhan,
not sure, but maybe this old thread can help:
http://osdir.com/ml/openoffice.devel.api/2008-05/msg00165.html
Regards
Oliver
-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands,
Hi Amenel,
> Your first recommendation, i.e. XJobExecutor + Accelerators.xcu was
ineffective for the command
> attached to opening that >main dialog window. I don't know why, since the
protocol handler was
> instantiated! I ended up removing the XJobExecutor
> interface, its method, and the Acc
Hi Amenel,
you can use an Accelerators.xcu file in you extension, for example:
[...]
service:my.extension.Service?myParam1
and register it during extension installation, for example add
to the manifest.xml of your ex
just found, that there is a service
"com.sun.star.ui.GlobalAcceleratorConfiguration"
maybe this will work:
Sub Main
oGlobalAccelCfg =
createUnoService("com.sun.star.ui.GlobalAcceleratorConfiguration")
Dim aKeyEvent as new com.sun.star.awt.KeyEvent
aKeyEvent.KeyCode = com.sun.star
Hi Jörg,
> Is there any way to avoid the need for the restart?
i am pretty sure (but maybe i am wrong) it will not work without restarting aoo.
you can try creating shortcuts via api, for example see attached document:
https://bz.apache.org/ooo/show_bug.cgi?id=71154
before you start, change "s
Hi Sébastien,
But when I look at the difference between what is considered as a « damaged »
document and a « working » one,
> and after some digging, the only things that seems damaged are some style
names. For example :
did you unzip the "damaged" and "repaired" document and compare each *.
Hi Jörg,
> True, these questions are quite generally, but does anyone have any advice?
you can check whether your copied styles complies with the source on xml level.
open *.odt as a *.zip file, extract "styles.xml" and check whether the style
properties are same.
additionally, this question:
Hi Jörg,
> Using the following code will _not_ transfer the setting
>"position-at" (in a german AOO "Position-bei") of an numbering style.
i think you have to iterate over the "NumberingRules" Objects and Copy it's
properties
For j = 0 To oPStyle.NumberingRules.getCount()-1
Hi,
> res = xModel.getStyleFamilies().loadStylesFromURL(url, (ppp,))
yes, XStyleLoader should work in general but there are some limitations,
for example:
https://issues.apache.org/ooo/show_bug.cgi?id=75048
XStyleLoader - user defined number formats are not imported
Regards
Oliver
--
Hi Jörg,
or try to set the parent style:
newStyle.ParentStyle = oldStyle.Name
oStyles.insertByName("myNewStyle", newStyle)
so newStyle inherits all properties from oldStyle
Regards
Oliver
-
To unsubscribe, e-mail: api-unsubsc
Hi Jörg,
the_style =
ThisComponent.getStyleFamilies.getByName("ParagraphStyles").getByName("jms1")
ThisComponent.getStyleFamilies.getByName("ParagraphStyles").insertByName("jms3",
the_style)>
i think you have to copy all Properties from old to new style.
this should work for Pagestyles:
RE
Hi, Amenel,
it seeems "OnCloseApp" is fired as last event if the last frame is closed
(if quickstart is not enabled) or if quickstart is closed (if there is no other
frame).
Do you need a modal dialog?
maybe a sidebar integration could be the better solution? or try using a
"window"
maybe it
Hi,
I remember i changed my source code last year to catch the exception:
try {
return PackageInformationProvider.get(xComponentContext)
.getPackageLocation(identifier);
} catch (final java.lang.Except
Hi Jürgen,
> see for example a toolbar entry for the new scheme:
thanks, i will have a look ;-)
Regards
Oliver
--
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
signature.asc
Description: OpenPGP digital signature
Hi
> What do you think how much effort it would be to create a new scheme
> for the new extended toolbars and keep the old one at least for a while?
+1
due to api changes (e.g. toolsbars, com.sun.star.awt.XMessageBox, ...) i cannot
run my oo32 extension with aoo 3.5 at the moment. so testing is
16 matches
Mail list logo