Issue 69735 - allow programmatic access to the query design window
Summary: allow programmatic access to the query design window
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 14:56 UTC by drewjensen.inbox
Modified: 2007-08-19 05:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Basic macro showing programmatic access to sub frames of a database document's frame (737 bytes, application/x-starbasic)
2007-03-07 11:43 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description drewjensen.inbox 2006-09-21 14:56:48 UTC
The query designer is not part of the desktop currently.

This means that one cannot enumerate or otherwise obtain the "sub"
frames of a database document window.

It is possible to obtain a reference to the Query design window, but only in the
specific case of the query designer being directly on top of the Base window.
The two windows however, are not linked in any other way.

There are times when macro developers will want to operate on the contents of
the query. As is stands now this is much more difficult then it should be, and
in some instances not doable at all.
Comment 1 Frank Schönheit 2006-09-21 19:07:24 UTC
changing summary, 'cause:

Making the query design part of the desktop is not an option (sorry Drew if I
wasn't clear with this in the mailing lists :-\). What we need is a possibility
to programmatically access the query design, and all other "sub components" of a
database window. Putting them into the desktop is only one way to achieve this,
and definatily a bad one. In 2.0.1 (IIRC), they were, and this caused *a lot* of
various trouble.
Comment 2 drewjensen.inbox 2006-09-21 19:10:28 UTC
That is fine, the new summary captures the request more accuratly.
Comment 3 Frank Schönheit 2006-12-13 14:23:03 UTC
accepting
Comment 4 Frank Schönheit 2007-03-07 11:43:00 UTC
Created attachment 43574 [details]
Basic macro showing programmatic access to sub frames of a database document's frame
Comment 5 Frank Schönheit 2007-03-07 11:44:08 UTC
The attached macro shows how to access sub frames of a database document's main
frame. This macro works after CWS fwkdbdesign01
(http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Path=SRC680%2Ffwkdbdesign01)
has been integrated.

=> fixed in CWS fwkdbdesign01.
Comment 6 Frank Schönheit 2007-03-14 09:37:31 UTC
fs-> msc: please verify in CWS fwkdbdesign01
Comment 7 marc.neumann 2007-03-29 13:14:03 UTC
verified in CWS fwkdbdesign01

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Ffwkdbdesign01
Comment 8 marc.neumann 2007-04-04 10:09:57 UTC
change target
Comment 9 drewjensen.inbox 2007-08-19 05:24:00 UTC
tested w/ 2.3m_1

closing
Comment 10 drewjensen.inbox 2007-08-19 05:24:29 UTC
'