Hello,
Is there a way to list all keyboard shortcuts using a macro?
"all" means, the existing shortcuts for: OpenOffice (global), Writer, Calc,
Impress, Draw, ...
Greetings,
Jörg
-
To unsubscribe, e-mail: api-unsubscr...@op
Hello,
After over a year testing, i have today released Basic Addon Builder 0.5.2, see:
http://extensions.openoffice.org/en/project/basicaddonbuilder-extensions-packager#releases
This version is compatible with AOO 4.0 and later versions.
(A current version for LibreOffice can be downloaded fro
Hello Regina,
> From: Regina Henschel [mailto:rb.hensc...@t-online.de]
> I want to write a Basic macro to preview an .xhp file while
> editing it.
> Viewing such file works fine with LoadComponentFromUrl with protocol
> "vnd.sun.star.help", if the file is inside a .jar container.
>
> But ho
Hello,
Thank you Regina, Thank you Tsutomu.
The following works:
Sub einstellung_pruefen()
'Speichereinstellung prüfen
Dim sNodePath As String
Dim oCP, oCUA
sNodePath = "/org.openoffice.Office.Common/Save/URL"
Dim aProps(0) As New com.sun.star.beans.Proper
Hello,
I will read and set the Option:
Tools-Options-Load/Save-General-Save URLs relative to file system
with a Macro.
For Changing the MacroSecurityLevel i found this:
Sub ChangeMacroSecurity
Dim sNodePath As String
Dim oCP, oCUA
sNodePath = "/org.openoffice.Office.Common/Securi
Hello,
> From: Keith Alcock [mailto:ke...@keithalcock.com]
> Sent: Thursday, September 10, 2015 7:50 PM
> To: api@openoffice.apache.org
> Subject: Re: How to change an entry of a self-created menus via macro
>
> Jorg,
>
> Below is code to do such a thing with C++. Basically you
> need to wor
Hello,
I have a menu, _created by a addons.xcu-file_ in a extension.
Is it possible to change an entry of a self-created menus via macro?
With this, i 'catch' only the 'normal' menus, _not my self-created menu_:
sMenuBar = "private:resource/menubar/menubar"
oModuleCfgMgrSupplier =
createUnoSe
Hello,
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?
Greetings,
Jörg
-
To unsubscribe, e-mail: api-unsubscr...@openoffice.a
> From: Bernard Marcelly [mailto:marce...@club-internet.fr]
> Sent: Tuesday, July 28, 2015 6:59 PM
> To: api@openoffice.apache.org
> Subject: Re: Is the view-cursor in the table of contents?
>
> Hi Jörg,
>
> Dim v_cur As Object, dix As Object
>
> v_cur = ThisComponent.CurrentController.ViewCurs
Hello,
in a text document is my view-cursor:
v_cur = ThisComponent.CurrentController.ViewCursor
How can I reliably(!) test whether this view-cursor currently located in the
table of contents?
note:
Ok, I can, for example, check:
Msgbox v_cur.Textsection.LinkDisplayName
but I think this is
> From: papa.br...@laposte.net [mailto:papa.br...@laposte.net]
> Sent: Monday, June 29, 2015 6:43 PM
> To: api@openoffice.apache.org
> Subject: StarOffice 8 Programming Guide for Basic
>
> Hello,
>
> Thre's no link to the last version of the programming guide.
See:
http://web.mit.edu/soffice_
Hello,
> From: Hung Mark [mailto:mark...@gmail.com]
> The feature might be rarely used by people other than CJK.
> I try to put capture the image and put some note to describe
> what I'm going
> to do:
>
> http://imagebin.ca/v/26gpFISx24bk
OK, I see the words "Western English" in the screen
Hello,
> From: Hung Mark [mailto:mark...@gmail.com]
> Sorry that I misled you. It is my intention to change text
> flow in a cell
> to right to left direction.
I think you mean the setting of the paragraph:
Sub Snippet
Dim oCurrentController As Variant
Dim oViewCursor As Variant
Dim o
Hello,
> From: Hung Mark [mailto:mark...@gmail.com]
> How to change text flow direction in a table with macro?
See this example:
Sub Snippet
Dim oCurrentController As Variant
Dim oViewCursor As Variant
Dim oCell As Variant
Dim nVertOrient As Integer
oCurrentController = ThisCompone
Hi Bernard,
> From: Bernard Marcelly [mailto:marce...@club-internet.fr]
> Extended tip is handled by the Application Help, using the
> help pages of the
> extension.
Thank you for this information, I did not know so far.
> Creating help pages is complex.
In fact, that's it.
I was already
Hello,
In toolbars of OpenOffice, there are buttons with long tooltips.
For example, has in the Format-toolbar the button "bold", the tooltip (in a
german OO):
"Stellt den ausgewählten Text fett dar. Befindet sich der Cursor in einem Wort,
so wird das gesamte Wort fett dargestellt. Wenn die Aus
> From: Oliver Brinzing [mailto:oliver.brinz...@gmx.de]
> just found, that there is a service
> "com.sun.star.ui.GlobalAcceleratorConfiguration"
> maybe this will work:
Thank you for the moment. I give feedback in a few days when I tried it.
Greetings,
Jörg
-
Hello,
On the following page I find information on Accelerators.xcu:
https://wiki.openoffice.org/wiki/Framework/Article/Accelerators_Configuration
This works well so far, but I've noticed the changes of Keys in the area of a
module (for example: ) only
active if you are restarting openoffice.
Hello,
In a starbasic-dialog I have a part of the background white color (really
only(!) a part).
For this I use com.sun.star.awt.UnoControlFixedText and set .TabIndex to 1.
At the same time there is a com.sun.star.awt.UnoControlFixedHyperlinkModel
which should be above the white background.
Hello Regina,
> From: Regina Henschel [mailto:rb.hensc...@t-online.de]
> Do you need the information, which sheet will be selected
> before it is
> actually selected? Then you might want to write an own dialog
> and then
> call the dispatcher with argument, e.g Name="Tables"
> Value=Array(
Hello,
with the following code I can call the Select-Tables-Dialog in Calc:
dim document as object
dim dispatcher as object
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno:SelectTabl
Hello,
> From: Bernard Marcelly [mailto:marce...@club-internet.fr]
> Sent: Thursday, April 23, 2015 3:24 PM
> To: api@openoffice.apache.org
> Subject: Re: Disable underline - UnoControlFixedHyperlinkModel
>
> Hi Jörg,
> That's the usual problem of a structure inside a structure :
> you must use
Hello,
How can I stop underlining of hyperlinks in UnoControlFixedHyperlinkModel?
My current code is:
Dim dia_ueber
Dim frm_ueber
Dim fhm
GlobalScope.BasicLibraries.LoadLibrary("jum")
GlobalScope.DialogLibraries.LoadLibrary("jum")
frm_ueber = DialogLibraries.jum.dlg_ueber
dia_ueber = CreateUno
> From: Mathias Röllig [mailto:mroellig.n...@gmx.net]
> Sent: Tuesday, March 17, 2015 9:18 PM
> To: API AOO
> Subject: [Q] using graphics in dialog in an extension
>
> Hello!
>
> It is not a problem using graphics in a dialog. Simply adding
> a graphics
> control or adding icons to push button
Hello,
The following code returns the directory where soffice.exe is:
Sub Benutzerverzeichnis()
aService = CreateUnoService("com.sun.star.util.PathSubstitution")
sUserPath = ConvertFromURL(aService.substituteVariables("$(prog)", true))
InputBox ("Ihr aktuelles OpenOffice.org-Benutzerverzeichn
Hello,
There is a nasty problem with .HeaderBackColor in Writer page-templates.
When I read all PropertyValues of a page-style "A" and transfer them to
page-style "B", the reading is done in a certain, specified by the API, order:
BorderDistance|HeaderText|GridLines|HeaderBorderDistance|TopBord
Hello Oliver, *,
> From: Oliver Brinzing [mailto:oliver.brinz...@gmx.de]
> i think you have to iterate over the "NumberingRules" Objects
> and Copy it's properties
>
> For j = 0 To oPStyle.NumberingRules.getCount()-1
> mArray() =oPStyle.NumberingRules.getByIndex(j)
>
Hello,
> From: Jörg Schmidt [mailto:joe...@j-m-schmidt.de]
> Thank You. The following works for me:
>
> Sub Vorlage_kopieren()
> ...
I use the same for numberingstyles it does not work properly.
Using the following code will _not_ transfer the setting "position-a
> From: LireCouleur [mailto:lirecoul...@arkaline.fr]
> Sent: Sunday, January 04, 2015 8:29 AM
> To: api@openoffice.apache.org
> Subject: Re: copy an existing style
>
> Hi Jörg. This is probably not exactly your question but if
> you want to
> copy styles from one document to another one, the f
> From: Oliver Brinzing [mailto:oliver.brinz...@gmx.de]
> Sent: Saturday, January 03, 2015 10:00 AM
> To: api@openoffice.apache.org
> Subject: Re: copy an existing style
>
> Hi Jörg,
>
> or try to set the parent style:
>
> newStyle.ParentStyle = oldStyle.Name
> oStyles.insertByName("myNewStyle"
> From: Oliver Brinzing [mailto:oliver.brinz...@gmx.de]
> i think you have to copy all Properties from old to new style.
> this should work for Pagestyles:
>
>
> REM * BASIC *
> OPTION EXPLICIT
>
> Sub PageStyle
> [...]
Thank You. The following works for me:
Sub Vorlage_kopieren()
A Happy New Year to all.
Hello,
I can access a paragraph style as follows:
the_style =
ThisComponent.getStyleFamilies.getByName("ParagraphStyles").getByName("jms1")
I can also add a new style:
newStyle = ThisComponent.CreateInstance("com.sun.star.style.ParagraphStyle")
ThisComponent.getStyle
Hello Arial,
> From: Ariel Constenla-Haile [mailto:arie...@apache.org]
> I guess you are using the Dialog Editor, I've tried the Property
> Browser, and it does not work well with this protocol: setting
> "Graphics" to
> vnd.sun.star.GraphicObject:120101B1019D1E3B87B7 is then
> conv
Hello,
With the StarBasic-Code:
ThisComponent.GraphicObjects(0).GraphicURL
I can read the internal URL of an embedded graphic in a writer-document, for
example "vnd.sun.star.GraphicObject:13AC00DC178CAB87"
But can I use this URL as ".GraphicURL" for a graphic control of a dia
> From: Peter Eberlein [mailto:pet@refofd.verwalt-berlin.de]
> because aoo cannot open all Word docs without crashing
> (https://issues.apache.org/ooo/show_bug.cgi?id=125419), I
> wanted to let
> do WinWord the job.
>
> I need to know the names of all bookmarks.
> So StarBasic looks like
> From: Bernard Marcelly [mailto:marce...@club-internet.fr]
> Dim dispatcher As Object, curWin As Object
> Dim args(0) As New com.sun.star.beans.PropertyValue
>
> curWin = ThisComponent.CurrentController.Frame
> dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
> args(0).Name =
see:
https://wiki.openoffice.org/wiki/Extensions_Packager#BasicAddonBuilder_0.5.2
Greetings,
Jörg
-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org
Hello,
I want to select multiple sheets in Calc simultaneously with StarBasic.
Is there only the indirect method via the range-object? for example:
https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=45389&hilit=select+sheets#p209791
Greetings,
Jörg
---
Hello,
how can I add an additional color by starbasic-macro to the current color
palette of openoffice?
Is that even possible?
Greetings,
Jörg
-
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional co
> From: Ariel Constenla-Haile [mailto:arie...@apache.org]
> This looks like an omission from the developer, you might
> want to submit
> a bug.
No, I think not.
Please consider the following example:
http://www.openoffice.org/api/docs/common/ref/com/sun/star/util/PathSettings.html
I do no
Hello Ariel, *,
> From: Ariel Constenla-Haile [mailto:arie...@apache.org]
> That particular scenario can have a workaround only if your code is
> controlling the undo context,
oh yes, that helps me a lot.
> See http://people.apache.org/~arielch/api/UndoManager.odt
Thank you.
> The documen
Hello,
(a)
Is there a way to remove one or several undo actions from the stack, but not
all actions?
Exemple:
My undo-stack is:
Eingabe
Attribute
Eingabe
and I would like to have the undo-stack:
Eingabe
Eingabe
(b)
How can I in general use the 'undo-API'?
I find in the Internet the exam
42 matches
Mail list logo