From: Petr V. <pe...@sc...> - 2009-08-19 14:30:48
|
hi all, I've just commited (rev. #3247) "refactored" copy/export features. This code is based on modified description below. * there is only one code for table-data-grid and for data-lists (it was duplicated) * the export into file is working (I did not get any data before) * Copy/Export as SQL is not working yet (but it did not before too). - > TODO * Menu is designed in this way: - Copy - pure plaintext copy of selection into clipboard. No headers. Ctrl+C shortcut is working as well. - Copy in format... - new dialog with all available features. Please, test it, comment it. BTW maybe we should remove some separators from result data table popup menu. Think about it too, please. petr On Aug 15, 2009, at 11:21 PM, Neulinger, Nathan wrote: > I can't think of any reason not to, it seems a whole lot more useful > to > me. About the only thing I can think of to improve it: > > Phrasing: > > Copy selection with header as... > Copy selection without header as... > Copy all with header as... > Copy all without header as... > > I'm still a tiny bit mixed on whether the header-or-not should be > listed > as a separate format or as checkboxes on the format screen ("Selected > columns only", "All columns"), ("Include row numbers"), or a separate > menu item, but as it is now is still better than it was in terms of > functionality. > > Also, might be worth having the same options for the Export... menu > item, which would tend to push for having it be options on the format > screen. > > Right now, the format dialog has: "Format", "Separator", "Delimiter" > > --------------------------------------- > Rows: () All Rows () Displayed Rows Only (X) Selected Rows Only > Columns: () All Columns (X) Selected Columns Only > > Text/HTML/CSV Export Options: > [] Include row number column > > CSV Export Options: > Separator [ ] Delimiter [ ] > ---------------------------------------- > > And "Export" would default to both of the 'All' radio buttons being > selected. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nn...@ms... > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Principal KD0DMH > > >> -----Original Message----- >> From: Petr Vanek [mailto:pe...@sc...] >> Sent: Saturday, August 15, 2009 3:59 PM >> Cc: tor...@li... >> Subject: Re: [Tora-develop] new copy support is much nicer, one bug >> though >> >> it should be fixed now - Committed revision 3234. >> >> BTW it's working in this way only for plaintext export. >> Should I change rest of the exporters? Including SQL? >> >> petr >> >> On Aug 15, 2009, at 8:58 PM, Neulinger, Nathan wrote: >> >>> If you select a portion of the table, and do "copy rows with >>> header", it >>> only copies the selected columns (which is good), but it includes >>> ALL of >>> the columns in the resulting output header: >>> >>> >>> # Column Name Data Type Default Null >>> Comment >>> == ============= ================================ ======= ======== >>> ======= >>> NUMBER (22) {null} NOT NULL {null} >>> NUMBER (22) {null} NOT NULL {null} >>> NUMBER (22) {null} NOT NULL {null} >>> NUMBER (22) {null} {null} {null} >>> NUMBER (22) {null} {null} {null} >>> NUMBER (22) {null} {null} {null} >>> NUMBER (22) {null} {null} {null} >>> VARCHAR2 (20) {null} {null} {null} >>> DATE {null} NOT NULL {null} >>> VARCHAR2 (25) {null} NOT NULL {null} >>> >>> >>> >>> >>> -- Nathan >>> >>> ------------------------------------------------------------ >>> Nathan Neulinger nn...@ms... >>> Missouri S&T Information Technology (573) 612-1412 >>> System Administrator - Principal KD0DMH >>> >>> >>> >>> > --------------------------------------------------------------------- >> --------- >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Tora-develop mailing list >>> Tor...@li... >>> https://lists.sourceforge.net/lists/listinfo/tora-develop >> >> >> > ----------------------------------------------------------------------- >> ------- >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Tora-develop mailing list >> Tor...@li... >> https://lists.sourceforge.net/lists/listinfo/tora-develop |