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

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
            Version|4.2.0.3 rc                  |Inherited From OOo
                 CC|                            |[email protected]
             Status|NEW                         |ASSIGNED

--- Comment #15 from Justin L <[email protected]> ---
Inherited from OOo.

I would have expected this to be RES_PAGEDESC (sw only), but it appears to
instead be SID_ATTR_PARA_MODEL (editeng).

sw/source/uibase/utlui/uitool.cxx is important for SfxToSwPageDescAttr, which
supposedly converts from editeng to sw.

sw/source/uibase/uiview/viewsrch.cxx: removing SID_ATTR_PARA_MODEL from here
removes 'Page Style' from the SvxSearchAttributeDialog choices.

(In reply to Heiko Tietze from comment #13)
> I suspect the lines aSet.DisableItem(SID_ATTR_PARA_MODEL); ff. in
> FormatHdl_Impl / SvxSearchDialog to be the reason why this is not working
No. This discussion is about AttributeHdl_Impl, not FormatHdl_Impl.


I can't figure out how 'has a page style' could possibly work (at least in sw).
An SwFormatPageDesc is compared in sw/source/core/crsr/findattr.cxx with
CmpAttr and it compares if the GetNumOffset() matches and if the GetPageDesc()
matches.

But neither the page style name, nor the number offset can be specified in the
Attributes dialog. It is just a checkmark - does it exist or not. But that is
NOT the kind of comparison happening.

Does anything other than Writer even have page styles? It doesn't look like it.
Only used in CUI and SW.

So, just remove from Attributes then...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to