diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-02-04 15:21:33 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-02-25 20:04:03 +0000 |
commit | 9a471b8cd85d1c08d53ed2675e580ca9466ca433 (patch) | |
tree | 2796af7c686d69a186e326446586c74a2ab42723 /officecfg | |
parent | Fix i#119756 Safer take care of empty paragraphs in EditEngine layouting (diff) | |
download | core-9a471b8cd85d1c08d53ed2675e580ca9466ca433.tar.gz core-9a471b8cd85d1c08d53ed2675e580ca9466ca433.zip |
Database: Add Limit in Query Desing View
Levels of implementation
- Add a new toolbar item to ui (designobjectbar.xml)
- Make a control for this element( LimitBox: derived from NumericBox)
- Make an own controller for this control (LimitBoxController) and
register it
- Add new feature to the general\central controller (OQueryController)
and construct a communication channel between the two controller
- Modify the view switching (SQL<->Design) methods to use\set limit
value (QueryDesignView.cxx)
Conflicts:
dbaccess/source/ui/querydesign/QueryDesignView.cxx
Change-Id: I0eb09d1d40cfdb9b8a2a57ab8911faca91d5e690
Reviewed-on: https://gerrit.libreoffice.org/1994
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu | 11 | ||||
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu index fe27c053317a..2f40b2ab7a2d 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu @@ -187,6 +187,17 @@ <value>com.sun.star.sdb.ApplicationToolboxController</value> </prop> </node> + <node oor:name="org.libreoffice.comp.dbu.LimitBoxController" oor:op="replace"> + <prop oor:name="Command"> + <value>.uno:DBLimit</value> + </prop> + <prop oor:name="Module"> + <value/> + </prop> + <prop oor:name="Controller"> + <value>org.libreoffice.comp.dbu.LimitBoxController</value> + </prop> + </node> <node oor:name="c2" oor:op="replace"> <prop oor:name="Command"> <value>.uno:Refresh</value> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu index f3c3c56a4771..44f2d42aefbc 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu @@ -72,6 +72,11 @@ <value>1</value> </prop> </node> + <node oor:name=".uno:DBLimit" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Limit</value> + </prop> + </node> <node oor:name=".uno:PasteSpecial" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Paste ~Special...</value> |