https://bugs.documentfoundation.org/show_bug.cgi?id=93477

--- Comment #11 from [email protected] ---
(In reply to Andrew Pitonyak from comment #10)
> Which XML files? Did you want to manually change them? Do you mean the ones
> used to define the code? I don't think that this is documented specifically.
> I know that I never documented it.

I'm talking about the .xba, .xlb and .xlc files. For example I would like to
split the BASIC code from the <script:module> tag of the .xba file. I would not
be wondered if were would be an attribute to link to an external file but I
couldn't find anything about it.


(In reply to Andrew Pitonyak from comment #10)
> Unclear what you mean by this. Do you mean the objects in a document or all
> objects known to the Service Manager? 

Currently I don't know the exact technical details of the "For Each" loop but
maybe somebody else can answer this question.


(In reply to Andrew Pitonyak from comment #10)
> Depends. In general, no. Some "events" will pass an event object. Ignoring
> Base documents, ThisComponent should be set to the document from which the
> macro was triggered. 

(In reply to Andrew Pitonyak from comment #10)
> I don't think that you will find a specific event object to tell you how it
> was triggered. 

I feared this already after I had no success today again. I'm trying to replace
the path of an image and reload it if the original image fails to load but
without a reference to the image if the macro gets triggered this could get
tricky. But since it is the only image in the document maybe it can be get on
other ways but I'm not sure if I want a "hacky" solution then.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to