eps than the configured depth of the
undo stack (default in OOo2 is 100) you will not reach the last saved state.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only,
enough for you? If you can use the OOo internal counter it will be
stored each time anyway and you don't need to do anything on your side.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the
at are available through the object?
>
> I guess that is what was meant with "indirect service names." However,
> I also assume that many objects that support XServiceInfo do not
> implement it that way, but only return their "top" services.
But that would be a bug, r
iting time as
custom metadata (a new feature in OOo2) you can speed up your workflow a
lot once the feature will be available.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
--
document editing time as
>> custom metadata (a new feature in OOo2) you can speed up your workflow a
>> lot once the feature will be available.
>
> Any ideas on which version will have this feature?
Not for sure. It might be 2.0.2 or 2.0.3.
Best regards,
Mathias
--
Mathias Ba
y metadata is quite fast.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
uire your assistance
> to clarify if I am on the right direction.
This is correct, it shows you the basics. There is a special chapter
about Add-Ons, it's chapter 4.7.3.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list
sage says it all: the URL is unsupported, mainly because it isn't
a URL at all. Don't use system file names, you have to provide a valid
URL: "file:///d:/OOo_Templates/Letterhead.odt" should work for you.
Best regards,
Ma
de using it still works. Moreover, if you want to write a
program that connects both to OOo1 and OOo2 you will still need to use
the old mechanism you already know.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Projec
ence.
Both URLs are wrong, local file URLs start with three slashes. OOo1
accepted the wrong ULRs but this was a bug that prevented other things
to work correctly and so it needed to be fixed.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to
. This is on 2.0.1 by the way.
It looks as if the database document has a bug, it indeed calls the
macro bound to the "OnLoad" event twice. This does not happen in case of
other documents, e.g. Writer documents.
Would you mind to file an issue against the database component?
Best re
have
used "true" as an argument in the close call).
I'm not sure what will happen if you close the whole application while a
printing is ongoing (never tested this). In case you don't need to do
this and if you also don't need to stay operable with OOo1 you can try
to dr
, I may have to drop back to 1.x simply
> because I can't find what I need to know how to install OOo the way I want on
> my clients' Windows systems!
I think you are wrong here. Especially on Windows the new installer is a
big step into the right direction. And AFAIK it *is
Hal Vaughan wrote:
> On Monday 09 January 2006 01:42 pm, Mathias Bauer wrote:
>
>> I think you are wrong here. Especially on Windows the new installer is a
>> big step into the right direction. And AFAIK it *is* possible to create
>> response files.
>
> I asked abou
tion will be updated in the next SDK version we deliver.
Ciao,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscribe, e-
hancement request for this if you know anything about it. If it is
possible to create MSI files in that way I'm sure the developers of the
installation team will think about it.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the li
e the OOo API is different than the MSO API, but describing it
is nothing you can do in a single mail.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
ng a pause between the steps (e.g. for 10
seconds or so)?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscri
hey overlap with the heavy
weight container (like popup menus e.g.).
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
T
import it. ;-)
OK, just kidding. What exactly do you mean?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To un
oreToURL(storeUrl, storeProps)
> uno.com.sun.star.task.ErrorCodeIOException
You should catch this exception and tells us which ErrorCode is reported
by this exception (it's a member of the exception).
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list o
trying to
> extract it again. I had it running for a couple of
> minutes to no avail. :/
It seems that you misunderstood me. I asked you to do the following:
quit quickstarter
wait 10 secs
start quickstarter
wait 10 secs
start python app
initiate creation of document
save document t
in" always needs some explicit code, it is meant as
somethin an Add-On accesses, but not the regular OOo code).
Are you sure that you could deploy a template as an Add-On in an older
version of OOo?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Pl
nously, but before the window comes to front you create the
messagebox and it gets the current front window as its parent. But of
course the messagebox gets the focus so it sends your new window back
before it can come to front.
Which window manager do you use?
Best regards,
Ma
Martin really works your message box should appear in
front of the new document if you created it *after* putting the new
window to front.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list o
Felix E. Klee wrote:
> Am Donnerstag, 19. Januar 2006 21:31 schrieb Mathias Bauer:
>> If the tip from Martin really works your message box should appear in
> ^^^
> What tip? He explained how things are coded.
His tip was: "I didn't try it, bu
OOo and OOo quickstarter don't run and your Python app also doesn't run.
Now you start OOo, e.g. by loading an OOo Writer document, wait until
the document is loaded successfully.
Then you start your Python application.
You create your document etc.
Best regards,
Mathias
--
Mathias
d tested ...
I can't believe that it works this way. I had a closer look: your filter
name is definitely wrong and your program should *never* work.
Please use the filter name "Text (encoded)" - note the *small* "e" and
don't forget the blank character.
Best regards,
cally each time OO is started?
> AFAICS, this would be a very nice solution since the menu could be modified
> using settings stored in a configuration file for each user.
I wouldn't do that. OOo's startup performance is bad enough. :-)
Best regards,
Mathias
--
Mathias Bauer -
sful loading and
report back if this makes any difference.
If this doesn't help I'm afraid that we have to have a look into the
code for reloading.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list
Felix E. Klee wrote:
> Am Freitag, 27. Januar 2006 17:22 schrieb Mathias Bauer:
>> >> BTW, I only want to add *one* menu. I do not want to replace the entire
>> >> menu bar since individual users may have made changes to the menu bar.
>> >
>> > BTW,
s may have made changes to the menu bar.
IMHO providing this additional menu as an Addons.xcu in a UNO package
without code is easier.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
---
!
Sorry, I was wrong, of course you can't get rid of the proxy, but
closing the stream should help. Try a xInputStream.closeInput() after
you finished loading. If it works I have to discuss with my colleagues
if this might have any side effect
Felix E. Klee wrote:
> Am Montag, 30. Januar 2006 23:52 schrieb Mathias Bauer:
>> My suggestion is to add your menu as an OOo Add-On. This is a package
>> usually containing code and some configuration files that define an
>> additional top level menu or toolbar for the com
fects. :-)
>>
>>
> That was one of the first things I tried! However - no joy! I can call
> closeInput 10 times in a row, and it doesn't help, nor does it throw an
> exception!
OK, I'm running out of ideas. ;-)
We will have a look on the issues you have created
k the
representation before (IMHO), perhaps structured data would be a better
approach then. Wether we can do this depends on the application
developers and if they have time to change their code. Of course we also
need to explain why they should do it - what are the use cases where
anyone m
Mathias Bauer wrote:
> Martin Gallwey wrote:
>
>>>Sorry, I was wrong, of course you can't get rid of the proxy, but
>>>closing the stream should help. Try a xInputStream.closeInput() after
>>>you finished loading. If it works I have to discuss with my col
nd if you feel
> that something is missing submit a feature request or if you feel that
> something is to complicate submit a request for enhancement.
Which API are you talking about?
@Laurent: what's the use case that makes you think that you need to
evaluate this string?
Ciao,
Mathi
uot;UNO" filter
is used there is something going wrong.
You can use it as a workaround until the bug gets fixed but you
shouldn't take it as a durable solution. BTW: is reloading really so
important that you need the workaround? If you close the document or
save it everything seems to go right.
ation* of
the data as a string is such a detail.
So IMHO it is not a bad idea to think about a better readable
representation (like Sequence < PropertyValue > e.g.) in case there is
no other API and define this as an "official" API.
Best regards,
Mathias
--
Mathias Bauer -
ds to be improved. The purpose of the "view data"
goes beyond this.
Perhaps you can describe how the selection can be used in VBA and which
parts are missing in ours.
Best regards,
Mathias
--
Mathias Bauer - OpenOf
to other documents in a useful way. So what you need is "Replace
All" and "Start Replacing and ask me each time". AFAIK the latter is
possible only by dispatching because it's bound to a dialog while the
S&R API of the "core" document explicitly is designed to a
rects the file to Calc), of course only
if possible. That's the reason why it works with the command line you
have shown above.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
; what do you think of it?
> Can I improve it?
The code does what the menu command "Window-New Window" does. That's OK.
It's the best you can do for the time being. Besides that I think that
OOo currently does not treat "OpenNewView" correctly, means: it looks
like
ndles commands using the scheme. All this is described
in the Developers Guide in the chapters about Dispatching and Add-Ons.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
--
Vincenzo Giuliano wrote:
> Mathias Bauer wrote:
>
>>I think that
>>OOo currently does not treat "OpenNewView" correctly, means: it looks
>>like a bug.
>>
>>
> Hi Mathias,
> from what I can see, I gather that the java method can be useful.
>
Paolo Mantovani wrote:
> Hi Mathias,
>
> Alle 22:25, lunedì 20 febbraio 2006, Mathias Bauer ha scritto:
> [...]
>> It doesn't make any sense to record a S&R action that does not
>> automatically replace all occurences or no occurence and asks the user
>> fo
;terminates
the OOo process even if the QS is running". This will set expectations
right.
I think we should finally provide an API to close the QS to avoid such
desperate attempts. :-)
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to t
;PrintOptions".
In Basic you can write
dim args(0) as new com.sun.star.beans.PropertyValue
args(0).Name = "FileName"
args(0).Value = sFileName
ThisComponent.print(args())
Please note that "sFileName" must be a system file name, not a URL,
because it will be
'm wrong and ExitProcess only terminates the WndProc of the
QS? Perhaps there is a way to just send a WM_DESTROY to the QS window
through a Windows API that can be called from inside OOoBasic?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project L
only in memory, not on disk).
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscribe, e-mail: [EMAIL PR
opic, use the "reply" button only if you really reply to a mail. This
will perhaps also increase the possible number of answers.
What "frames" are you talking about (text frames?) and what do you mean
with "chaining"?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.o
closed the previous one). However, this is rather unlikely for
> database documents, which to not have the "multiple views per document"
> (Window|New window) feature, at least not in the usual sense.
What you describe can be done by the model itself in its close()
implementation.
bly discuss this with the people who implemented
> the closing mechanism for the other document types, they must have had
> reasons to do it the way they did :)
See my other answer. :-)
Ciao,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the l
> well, for me there is a reason why I can't provide a
> protocolhandler.xcu: I'm not allowed to change the OO config on my
> clients PCs persistently. But thanks for the hint.
You should provide the UNO package on the server PC where your
installation is, not on t
ations of you
> client PCs ...
Yes, but the services.rdb lies on the "server" PC, so where's the
problem? I assume that Tobias changes the installation on this side
(otherwise I don't see how he can install *anything* into OOo).
Best regards,
Mathias
--
Mathias Bauer
t users to use only definite styles.
No, the "Styles and Formatting" dialog doesn't have an API.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
he best list would be dev@api.openoffice.org but
>> dev@openoffice.org should be OK here also. One move is enough. :-)
>
> OK, I have tried a few times, but it has not shown up in the archives. Not I
> experiment with a new method (joining, then mailing to thwe list).
I didn't wa
mpletely correct. *Every* document (visible and invisible ones)
sends either OnCreate or OnLoadFinished.
But as Andreas mentioned loading is complete when loadComponentFromURL
returns, so the events appear while the call is still ongoing.
Only visible documents also send OnNew or OnLoad, and this
7;t rely on the usual pointer
>> arithmetics.
>
> Don't need pointer calcs. Just need to replace a chunk of text with
> something else for spell checking or word prediction.
So you would be fine with getting the text as UTF-8 encoded by
you will only get the filters that
are available in "SaveAs", but not the ones you get in "Export", e.g. PDF.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
a job or a document event listener it gets a frame object
on initialization or execution time (and the frame is able to tell the
component the document it belongs to). The same is true for Dispatch
objects since OOo2.0.x (x=2 IIRC).
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Applica
y wrong this should be mentioned in Developers Guide. The
easiest way is to use the "Save" Button in the configuration dialog and
select your document or template as a target.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framewo
patchHelper.class,
> oDispatchHandler);
> xDispatchHelper.executeDispatch(xDispatchProvider,
> ".uno:SaveAs",
> "_self",
> 0,
> saveProperties);
> }
Looks fine to me.
> I will post it soon a
&msgNo=15859
> does not appear to be sufficient. Just adding the four jar files (juh,
> jurt, unoil and ridl) still results in an error that there is no UNO
> Runtime found.
I hope that our Java/SDK experts will have an idea, that sounds pretty
strange.
Best regards,
Mathias
--
Mat
and
SimpleSystemMail), OOo doesn't want to be a replacement for a mail program.
With an own builtg in SMTP engine OOo would need to provide (and
maintain) at least an outbox folder, that's nothing we want to do.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Fr
No, 3 slashes are correct as Tom already pointed out in the mail you
have replied to.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
---
x27; and choose the
> 'AAA-KbdCfg' file, whereas opening the .ods file nothing happens!
Did you check wether the ods file contains the event binding of your
macro? And are you sure that the bound macro is started when the
Peter Eberlein wrote:
> Mathias Bauer schrieb:
>
>> With an own builtg in SMTP engine OOo would need to provide (and
>> maintain) at least an outbox folder, that's nothing we want to do.
>>
> You know shurely, that Caolan has solved this with python (from 2.
s template (documents
inherit their UI config from their template).
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
g "File-New-Templates and Documents".
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscribe, e-ma
is fully correct? Are others familiar with this behaviour?
Yes, you can have only one menu configuration per module because every
change immediately takes effect. So all of your changes are done on top
of the current, global Writer menu configuration.
I wouldn't complain if you called th
to the
dispatch chain. Perhaps we can use the macro dispatcher as a medium (the
same object that executes the macro when the button is clicked).
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
P
rminates after the dialog is shown (no wait loop!) and
"sleeps" until a callback from the dialog awakes it again (click
handler). AFAIK this means that your dialog must be kept in a global
variable so that termination of your macro does not kill the dialog
automatically.
ble", new Boolean(false));
I understand this as a command that this dialog shouldn't be closeable
and so it isn't surprising that nothing happens when you click on the
closer. OTOH I wonder why there is a closer at all in this case but this
might be a bug or imperfection.
Best
ktop.loadComponentFomURL(...)
instead of
dim doc
doc = StarDesktop.loadComponentFomURL(...)
would enable the IDE to autocomplete the code if the user starts to type
"doc."
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only
s" dialog: yes, there are plans,
but ... (see last sentence)
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To
ot; is
the correct name (the name is determined by history).
BTW: for the other way around (HTML->doc) you should specify "HTML
(StarWriter)" as *input* filter explicitly, otherwise OOo will create a
WebDocument by default and the WebDocument has much less export formats
than the TextDo
that each "refresh" requires a complete write/read
cycle I don't think that the performance is as expected. In general the
load/save performance in OOo is not very good and we are working on
this, but don't expect exact promises now about when we will reach which
performance g
construct a frame and insert a OpenOffice.org document
> into it, is to use the
> com.sun.star.frame.XComponentLoader interface of the
> com.sun.star.frame.Desktop" but this is not
> clear to me.
Yes, as I said: Controllers can't be moved between frames, the only way
to get a mode
0, args );
>
> and I get
> om.sun.star.lang.IllegalArgumentException: URL seems
> to be an unsupported one.
It seems that OOo tries to do a type detection though this is
superfluous here. I will check this. Meanwhile you could try to provide
a valid stream here to workaround th
where (besides my own site, even though my
> personal site isn't usually so techie) and if so where?
Usually this is where our "code snippet" base comes in handy. You could
add your example there if there isn't anything like it already.
Best regards,
Mathi
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
document windows' scrollbars ATM.
Maybe there is another way to achieve what you are trying to do?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED]
achieve this by listening for "OnVisAreaChanged" Events of the
document. This way you also get notifications if the size of the visible
part of the document changes.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [E
to force Writer to calculate the missing property. Additionally you
need some luck that the API allows you to ask for it. ;-)
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the li
heir solutions to
OOo or especially created new ones for it. I still hope that you can
find someone for help. Perhaps again we can help people like you by
creating a "job exchange" page where ISVs can ask for OOo developers and
t
ossible use
case where you would like to use the new toolbar control features in
basic code.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
--
each list entry by a
configuration file (Addon.xcu) and not by status updating as described
by Carsten would be enough. Why establishing a complex communication
channel for something that is sent only once?
If you just want to allow listboxes in toolbars bound to Basic ma
use the combination of both as a unique identifier for searching for the
dispatch object in a global container of such objects. I will draw up
this in a more detailed manner.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list onl
stract assignments of commands
to "types" (like "string list", "integer value" etc.) instead of
(button) control names, but Carsten preferred the control names instead
because it looks simpler and less "techy". As it is his "baby" I think
that's o
example was not so good explained
> obviously, i want to be able to manipulate the listbox dynamically !!
> fill it, remove items, retreive active item ...
> like a real componenent
OK, in this case you need the full program and this ma
s. ;-)
The command URL is the only thing that counts, in conjunction with a
frame reference. I hope I can make this clear in a more elaborated
description. I'm afraid I will not be able to provide it before the
weekend. I'm working on OOo "programmability" mostly a
t that I don't understand what you are trying to achieve.
You started writing about inserting graphics and that you have some
problems with it, but now you talk about storing graphics. Do I
understand you correctly that storing graphics isn't your real goal, you
just do it as part of
ontent as a single string.
Other text content inside the document (e.g. text in shapes) can be
accessed as well.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECT
Oo2.0.3. The
created packages of course will work in any OOo2 version.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
automagical" in the near future. OOo
shouldn't terminate as long as any external connection exists.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
--
l. This will advise the frame loader to use the existing model
and not creating and loading a new one. You must provide the valid URL
of the document though (or the stream it was loaded from) to pass the
type detection and to avoid confusion in the documents' internal media
descriptor.
Best regard
ed to do so. We know that this is a very important problem
and we will try to fix it as soon as resources allow us to do so.
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
avior. Or is it something else?
Best regards,
Mathias
--
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
-
To unsubscribe, e-mail: [EMAIL PROTE
201 - 300 of 532 matches
Mail list logo