Hi Mathias,

> If controls shall be accessible to auto tests or help content, they now 
> will need to get a HID assigned explicitly, the auto-HID feature of the 
> resmgr is gone. That's the small price to pay for getting rid of the 
> ridiculous HID compilation process and all the problems related to the 
> use of hid.lst.

Which is the ugly part of the (otherwise great) change :-\

If the layout manager, and the XML based dialog format, will not come to
our code base soon (Christian??!), it might be worth thinking of another
change: replace resource IDs with strings. The advantage (besides
getting rid of those ugly .hrc files) would be that the resource
compiler could again generate auto-help-ids, e.g. from
  Dialog "MyCoolDialog"
  {
    PushButton "Apply"
    {
      ...
    }
  };
, it could generate something like
"org.openoffice.org://dialogs/<module>/MyCoolDialog" and
"org.openoffice.org://dialogs/<module>/MyCoolDialog/Apply" as help
IDs/URLs ...

Well, yes, having an XML-based resource format, where resource elemtns
have string identifiers, too, would remove the need for such a change to
the resource compiler ...

Ciao
Frank
-- 
ORACLE
Frank Schönheit | Software Engineer | [email protected]
Oracle Office Productivity: http://www.oracle.com/office

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

Reply via email to