2010/8/28 Séamas Ó Brógáin <[email protected]>:
> A feature that could show where styles and formatting begin and end
> (similar to that in Wordperfect) would be hugely important to me, and
> indeed to many others also to judge by the numerous participants in the
> discussion at www.oooforum.org/forum/viewtopic.phtml?t=9696.
>
> I was delighted to learn of the macros RevealCodes2 and RevealCodes3
> created by Ian Laurenson
> (http://homepages.paradise.net.nz/hillview/OOo/) but very disappointed
> to discover that they don’t work (at least for me) and instead return
> the message “BASIC run-time error. An exception occurred. Type:
> com.sun.star.uno.RuntimeException.” I presume this is because they were
> written for an earlier version of Openoffice (1.1, I think), whereas I
> have the latest (3.2)––or is something else wrong?

I installed the RevealCodes3 and tried to debug it and I think I found
it, however I am not sure if I can fix it, since I'm not an expert…

It fails at the following line in the function fnDirectProperties(oTextRange):
vValue = oTextRange.getPropertyValue(sItem)

When it fails, sItem=”ParaChapterNumberingLevel”, something that is no
longer supported, see the following issue:
http://qa.openoffice.org/issues/show_bug.cgi?id=103670

I'll give it a try to fix the macro, I think. No promises though;
there's a lot of code that someone else (than me) wrote…


Best regards

Johnny Rosenberg


>
> I know almost nothing about Openoffice macros and cannot tell if this is
> something that can be rectified. Does any kind soul know whether I might
> be able to get these macros to work, and if so, how?
>
> Many thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to