Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi Mattias,

On Sun, 2010-11-21 at 00:21 +1100, Mattias Johnsson wrote:
I've been trying to fix a bug in the search and replace code, and
after a bit of hacking have discovered that in findattr.cxx there's a
function

        Nice work :-)

If I'm understanding things correctly, and I may not be, since the
search and replace code is quite convoluted, in this case these
SfxPoolItems are lists of attributes that one can search and replace
for

        Right ...

in this case I'm searching for a specific font size and replacing
it with another.

        Interesting indeed :-) a new feature for search / replace ? So some of
these pool items for things like font size are defined in:

        editeng/inc/editeng/fhgtitem.hxx

        as SvxFontHeightItem (I think).

but for the life of me I can't find out where the Type() method is defined.

        I imagine this is the pre-RTTI type info ;-) I -guess- that it is
generated by the 'TYPEINFO()' macro you see in the SfxPoolItem impl.
cf. tools/inc/tools/rtti.hxx

        HTH,

                Michael.

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot


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.