summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)Author
2015-11-11Access2Base - Implements OutputTo table/query in HTML formatJean-Pierre Ledure
Functions to export database data contents into an HTML table with - template file - use of classes for CSS styling Change-Id: Ib62b103445ba47e2fe77c45109a62b2e49fcbbc5
2015-11-10#i126029# Base query wizard error due to missing quoting of table and column ↵Damjan Jovanovic
names During the Base query design wizard, com.sun.star.wizards.ui.FilterComponent.getFilterConditions() calls com.sun.star.wizards.db.SQLQueryComposer.getSelectClause() before its getFromClause(). However the getSelectClause() needs composedCommandNames which is populated only by getFromClause() in order to quote table and column names. Without this, table and column names that need quoting (spaces, special characters, reserved words) produce errors. (cherry picked from commit 046771cac8605e5826a150e4454eff332b65d517)
2015-11-10Use the UIConsts constants for resource IDs in...Damjan Jovanovic
main/wizards/com/sun/star/wizards/query/QuerySummary.java (cherry picked from commit 77ff55a4a1f25c1dc21d083cee43b4506bf91410) Change-Id: I538aa5761506d430bdbe70de03301f971f363e52
2015-11-10Use UIConsts constants for offsets to resource IDs in main/wizards.Damjan Jovanovic
(cherry picked from commit 95efcaf575dced8cc18f2ca9fb874d772ad23595) Change-Id: I8bb247c92f0326da916940f4fc7999d81998297a
2015-11-10Resolves: #i56289# no GROUP BY - COUNT from wizardDamjan Jovanovic
Implement the COUNT operator for GROUP BY in the Base Query Wizard, and delete some unused resource strings to make space for it. Found by: dtinazzi at easyasp dot it Patch by: me (cherry picked from commit 1f6546d6c0e6670d59e6beb05d15c80327634e6c) Change-Id: I6395566275cea6a33cdc64968b3b31aa17d61554
2015-11-09java: add some @Override annotationsNoel Grandin
Change-Id: I291db1dff5ab3ce40fda6f822a0e3ff1e6ef36c1 Reviewed-on: https://gerrit.libreoffice.org/19855 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-05java: combine nested if statementsNoel Grandin
Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
2015-11-05java:avoid empty if statementsNoel Grandin
Change-Id: I9c66dd5331f422d8d6271157fece2b346d8b3756
2015-11-04coverity#1327212 UwF: Unwritten fieldCaolán McNamara
Change-Id: Ib12d8909430fceef654d6960a42439cc6ad5cd69
2015-10-28base new query wizard: fix confusion between display name and field nameLionel Elie Mamane
Change-Id: I75354ffea2daede55b34e4cf3321d57196be3d9b
2015-10-22coverity#1326403 Dereference null return valueCaolán McNamara
Change-Id: I1f191a2bc0139bada7603681eb0246de7dd15139
2015-10-22coverity#1326382 Dereference null return valueCaolán McNamara
Change-Id: I1c427c3d6cae2cf1798adcc29cd6f5f51eb2b49e
2015-10-22coverity#1326384 Dereference null return valueCaolán McNamara
Change-Id: Ibf3c2ffb78740d55a6e6e4e6c66fb71b5b1c4c85
2015-10-22coverity#1326397 Dereference null return valueCaolán McNamara
Change-Id: Iafb022cf3bbdbaa8a6b230cb60377d90e64fe142
2015-10-22coverity#1326173 Explicit null dereferencedCaolán McNamara
Change-Id: Icee3d9af9b9811e99afca49e2fe1b46fb4a85bca
2015-10-22coverity#1326381 Dereference null return valueCaolán McNamara
Change-Id: I86f5fee9bd77b741536816b6b4d1b6b520acba9e
2015-10-20coverity#1326559 Dereference before null checkCaolán McNamara
Change-Id: I1661514bf3002b79544615620843d1e535aabfce
2015-10-20coverity#1326575 Useless callCaolán McNamara
also coverity#1326574 Useless call Change-Id: Ida860ca8ed1475c88e90fc8aaf608c440453a9a0
2015-10-20coverity#1327466 UrF: Unread fieldCaolán McNamara
this class is unused since commit 8f60da0a29744d456cb074af05aeb4b40d1774fa Author: Noel Grandin <noel@peralex.com> Date: Wed Oct 14 11:49:19 2015 +0200 cid#1326681 DLS: Dead local store and clean up the return value, no need to return a TypeInfo when all we need is a boolean Change-Id: I8da388b861612acd925ef502904181d140e3abb5
2015-10-15coverity#1326409 Dereference null return valueCaolán McNamara
Change-Id: I960c4ad4ffe4f0e86f3d1f0fb364296f31bf9d92
2015-10-15cid#1326570 Unused valueNoel Grandin
Change-Id: I377671a552764e39f0f651c03949c99005084dcb
2015-10-15cid#1326569 Unused valueNoel Grandin
Change-Id: I7a945e0d299eaf20f8245c6697959885f4ef4ade
2015-10-15cid#1327023 to cid#1327077 SIC: Inner class could be made staticNoel Grandin
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
2015-10-14java:remove unused importsNoel Grandin
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14coverity#1327211 UwF: Unwritten fieldCaolán McNamara
Change-Id: Id210a19ea068aadcf1316a1c184769ba75e1cf70
2015-10-14coverity#1327212 UwF: Unwritten fieldCaolán McNamara
Change-Id: Id5ba80b5f2b9d4d201dce57ba165e1a70dc1ba3d
2015-10-14cid#1326683 DLS: Dead local storeNoel Grandin
Change-Id: I797faf679ec5c6a27570d1dd5ac0aa2c480cf56d
2015-10-14cid#1326682 DLS: Dead local storeNoel Grandin
Change-Id: I9dba5d1eb710ab21258ca19789274ca1b75e53ca
2015-10-14cid#1326681 DLS: Dead local storeNoel Grandin
and clean up the return value, no need to return a TypeInfo when all we need is a boolean Change-Id: I0909c2b96762870d753c22ab5056e718af56d75b
2015-10-14cid#1326680 DLS: Dead local storeNoel Grandin
Change-Id: I8e1ffdfe4d20664b7c97eb2a33b570aea9b19ccf
2015-10-14cid#1326131 'Constant' variable guards dead codeNoel Grandin
Change-Id: I832b2fc243404a6ae9796ad994e901880d3b9260
2015-10-09Related tdf#94557: Combo box entries are case-sensitive (sometimes)Julien Nabet
Revert partly http://cgit.freedesktop.org/libreoffice/core/commit/?id=76f33f10309b0ee384a75a7a854858b068d60495 author Julien Nabet <serval2412@yahoo.fr> 2015-03-16 21:31:23 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2015-03-26 14:14:44 (GMT) commit 76f33f10309b0ee384a75a7a854858b068d60495 (patch) tree e12e3b6f2ca46cb9998b93b5c1bb3406408ad3cb parent 6c4100cf81e1678ff386549c0cdaa2f73a154ddc (diff) tdf#67990: Management of case in combobox See comments of tdf#94557 for more information Change-Id: I0432db0c3f76c20e55d8fecb69734952dc0cf53b Reviewed-on: https://gerrit.libreoffice.org/19260 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-04tdf#94743: Web Wizard: Cannot export in ftpJulien Nabet
1) Fix value of constants RES_OK, RES_CANCEL and RES_HELP http://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/awt/PushButtonType.idl#29 2) self.updatePublishUI was wrong because FTP appears in second but there are 2 elements for each module (local dir, zip, ftp) in pubAware vector comment was wrong: - local takes elements 0 and 1 - zip takes elements 2 and 3 - ftp takes elements 4 (that's why "4" is the right value) and 5 see http://opengrok.libreoffice.org/xref/core/wizards/com/sun/star/wizards/web/WWD_Startup.py#509 So fix value passed to self.updatePublishUI + comment Just a bit of history: before fix of tdf#92934: Web Wizard: Cannot Export Zip archive (http://cgit.freedesktop.org/libreoffice/core/commit/?id=e72a4a3c2e1608e301daef0b6e87cc70d814e736), the order seemed to be this one for pubAware: local, ftp, zip (whereas UI order was already local, zip and ftp) Perhaps the fix was wrong since there was a similar pb for tdf#94421: Web Wizard, option shift when loading saved session Anyway now the pubAware order is the same as UI order, it may help for readability. minor a) increase space for lblStatus (there weren't enough room for some locales, eg French) b) replace use of copy3 (deprecated) by copy2 Change-Id: I27d3c2dd699fbe2d51a63e462c7b39e78895d1be Reviewed-on: https://gerrit.libreoffice.org/19115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-03Web Wizard, ftp part: fix logic for dialogJulien Nabet
Comment indicated "If one of these fields is empty, the button is disabled", let's stick to this. Change-Id: I99dd23339d888c33e7706935842a91f5da681ade
2015-10-03Access2Base - new HtmlEncode property of Application objectJean-Pierre Ledure
Change-Id: I6eb68f78d32b1d73969d37f6991ff0ef3e795606
2015-10-01tdf#92553: Web Wizard: Not open FTP Configure on Web Wizard Preview SettingJulien Nabet
Inherit from WizardDialog instead of object Define required constants for buttons Remove or tweak calls to super methods Fix call setDialogProperties which was wrong since unification of this method See ee122cfd36b3af030520f26a6a313bc7cd3156fd With the patch, FTP dialog opens, we can also connect successfully to an ftp server Still there are bugs to fix then, first of them directory selection Change-Id: I86c3c9638114216627d92832c26ad780c12860b4 Reviewed-on: https://gerrit.libreoffice.org/18831 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29Fix typosAndrea Gelmini
Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6 Reviewed-on: https://gerrit.libreoffice.org/18995 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-23tdf#94451: Agenda: Not enough space for date in step 5 (French UI)Julien Nabet
Adjust some values for make room (ok with French, German and English UI) Change-Id: I7600acae64f5ae1110c07798cc950ec73a48deab Reviewed-on: https://gerrit.libreoffice.org/18787 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-23tdf#94450: Web Wizard: Not enough space for date in step 6Julien Nabet
Value of 60 allows to display the selected dates + let a margin if year is in 4 numbers one day. Change-Id: I3d7db50dd318897b0b7a515f9428401c53218c08 Reviewed-on: https://gerrit.libreoffice.org/18786 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-22tdf#94421: Web Wizard, option shift when loading saved sessionJulien Nabet
Just use the right order LOCAL_PUBLISHER first, ZIP_PUBLISHER second, FTP_PUBLISHER third and last one Change-Id: I23ff96785910d62bbb2c221932d0ad2a2e755b3c Reviewed-on: https://gerrit.libreoffice.org/18755 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-21Typo: automaticcally->automaticallyJulien Nabet
Change-Id: I0422965071f3828938b1b1a535f1eb4f2de481f2
2015-09-21tdf#94351: Web Wizard multiselection doesn't workJulien Nabet
Call getSelectedFiles instead of getFiles+adapt behavior so it deals with an array of files with their full path Change-Id: I21b6c32dea85460461925a9b44dac195d79b7eac Reviewed-on: https://gerrit.libreoffice.org/18714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-19tdf#92934: Web Wizard: Cannot Export Zip archiveJulien Nabet
pubAware_ adds 2 elements for each of these: LOCAL_PUBLISHER, ZIP_PUBLISHER, FTP_PUBLISHER and since ZIP_PUBLISHER is added in second positon, the right index is 2 not 4 Change-Id: I0a533fd0cefcbbfca0e95628f64fac6258019600 Reviewed-on: https://gerrit.libreoffice.org/18715 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-01tdf#91022: Incorrect Dates in Report created with legacy report wizardJulien Nabet
Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=5d8ecad569fd7a254902da154ed8057ec61f3a83 Thank you Matthew Francis for having found the root cause! Change-Id: I4128368a5f5df6a9fc5f7668fb1f8f330b5795b9 Reviewed-on: https://gerrit.libreoffice.org/18210 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-30Access2Base - UTF-8 encoding and %-encodingJean-Pierre Ledure
Application to SendMailWithoutAttachment => "mailto: ... " uri Change-Id: I53aa0325c048dca678ff134908d448afab08933d
2015-08-29Access2Base - NewLine distinction Windows - Linux+Jean-Pierre Ledure
Change-Id: I09be5a10ae301b42daf446852e6cf8ba3ed2e51e
2015-08-04tdf#76845: wizards: fix Web wizard XSLT deadlock on WindowsMichael Stahl
The web wizard runs some XSLT over the exported file. It registers a handler that is called when the output stream is closed, and this Process.streamClosedHandler() calls terminate(), which causes the deadlock, because it wants to join() the extra XSLT thread but the handler is actually called from the XSLT thread itself. Fix that by moving the terminate() to another function that runs in the main thread. It does not deadlock on Unixes because osl_joinWithThread() actually detects an attempt to join the calling thread and returns early. Change-Id: Ia176562fa28b97c7e8956c1e8975c9aa6ee23236
2015-08-04wizards: text.TextDocument.getPageCount called as class method onlyMichael Stahl
Change-Id: I9888f8ab7bccdd2902d619487279999f2ff9ab13
2015-08-04wizards: FileAccess.getURL1 is unusedMichael Stahl
Change-Id: I3afde8e7f8b0b88e8f1a5d1ad71429c2aa7d7a94