On Wednesday, July 10, 2019 10:52 EDT, Uwe Brauer <oub@mat.ucm.es> wrote:
>>> "AP" == Andrew Pitonyak <andrew@pitonyak.org> writes:
There was so much static related to the orginal question, that I opted to simply started a new
thread.
I was provided with a linke to the orignal documents:
https://web.archive.org/web/20180326030224/http://homepages.paradise.net.nz/hillview/OOo/
There are three documents and I have the original description listed below, but, this is what I
did.
I ignored the original document. I have working copies of documents 2
and 3. They are not well tested, but, they are in the ODT format, and
they seem to do what they are supposed. I don't think i can attach
them. I can post them to my own site later tonight, or, I can post
them in some other suggested location.
I would very much appreciate having a copy of these three files.
As for the site, I can't come up with any solution I have tested.
Dropbox is out of question I presume.
Thanks again for you work.
UweI only worked through two of the documents (number 2 and number 3). I can post them to my
personal web site if we have no common place to put such things; I just need to take the time to do
it. If you don't mind if I email them directly, i can make that happen even faster than posting
them on my web site.
Side note: The macros are marked GPL, which is kind of viral in nature, which makes my changes
(which are clearly marked with " ' ADP " in the comments) under the same license. My expectation
is that any changes I made will be very similar for the first document, which I did not touch or
try. The things that I needed to change were as follows:
1. An UNO enum was ....TypeClass.String (or something similar) and it needed to be
TypeClass.STRING. I don't know if it changed, or, if something else changed. Last time I concerned
myself with such things, the first use of an enum had to be the same case, but subsiquent uses were
case insensitive.
2. In a few places, there were some array access errors, so, I added "On Error ResumeNext" and then
I primed the return value with something specific, made the call, then I used "On Error GoTo 0" to
disable error trapping.
3. Very similar to 2, but some integer (nProperty I think) was -1 rather than a valid value, so, I
tested for it. I did not work hard to understand the impliciations.
The odd errors that I received last time I looked at this did not appear, not sure why. I never did
figure out why the third document did not have an obvious way to call the configure dialog, but (1)
I did not spend a lot of time looking for it and (2) I think it was intended to be installed and I
did not install it or even look at how to install it. My primary focus was to make the macros not
fail. My expectation is that I missed something, but, it is probably easily fixed if you see the
pattern.
Andrew Pitonyak
andrew@pitonyak.org
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.