summaryrefslogtreecommitdiff
path: root/sdext/source
AgeCommit message (Collapse)Author
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-11fdo#57422 fixing scroll bar and slides positionAbdulaziz A Alayed
fixing scroll bar position and slides sorter of note view and slides if the interface language is RTL . Change-Id: I80b55dff621d6b994095ad7a4979bcca63371edf
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-04coverity#982282: Resource leak in objectJulien Nabet
Change-Id: Ia7d936c90d7afd4ffa4e22a86289aba47956f576 Reviewed-on: https://gerrit.libreoffice.org/2511 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-03-04remove unused and commented out codeThomas Arnhold
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-25remove some trivial duplicatesThomas Arnhold
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-24log presentation minimizer results as infoCaolán McNamara
Change-Id: I0f68ca75f774dfb18423517b36a1ea4d6071a83b
2013-02-22sdext: fix loplugin warningsMiklos Vajna
Change-Id: I4bca280b352f1df40fe75658e418f2e0cb2430e8
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-18coverity#983173 Resource leakNorbert Thiebaud
Change-Id: I913ce32579ef9045fd3d33b48a653bc4ffc628da Reviewed-on: https://gerrit.libreoffice.org/2206 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-02-18coverity#983175 Resource leakNorbert Thiebaud
Change-Id: I03eadb6f1e7235f03149a386c407066f81473772 Reviewed-on: https://gerrit.libreoffice.org/2207 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-17coverity#984041 Uninitialized scalar variableCaolán McNamara
Change-Id: Ia726b08717d26b439f46f95dedfdb30e27e8499e
2013-02-17coverity: pass by const reference is more efficientMarkus Mohrhard
Change-Id: Iec40176a5dd567e667178f07fecd043fe0aa4344
2013-02-17coverity: pass by const reference is more efficientMarkus Mohrhard
Change-Id: I08cebe4aca8eaa5a2be8c319c2de20de10dbd2d3
2013-02-14Disambiguation for MSCStephan Bergmann
Change-Id: I356af9cebf4779bd5bc4721b0e0e20d7ae4e307e
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-29More fixes to fdo#57422Ahmad Harthi
* Code cleanup + replacing drawText() with drawTextLayout(). This solves mirrored LTR text in an RTL ui Change-Id: Ib89aee7c817811c7b3751dc6f941a34ed763d993 Reviewed-on: https://gerrit.libreoffice.org/1521 Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-14Modify constructor, remove setters + unused defineJulien Nabet
Change-Id: Ibf878c44ae761e59a04b6d5023296c5918cbf85e Reviewed-on: https://gerrit.libreoffice.org/1665 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-10Fix some errors and remove duplicate code on PresenterFaisal M. Al-Otaibi
Fix the toolbar text if the interface were RTL. Remove duplicate code from PresenterToolBar.cxx Change-Id: Icd6f71ce2daa896494c8efe76779d49e16c547bf Reviewed-on: https://gerrit.libreoffice.org/1474 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-01-10fdo#57422 - presenter console RTL support needs completionAbdulelah Alarifi
This patch will fix the text direction of the text that appears when the mouse come over the slide in Slide sorter view. Change-Id: I2d3c5563b22dcd40ae4f70ed0ed06ad17f6c4132 Change-Id: I812e011b4e0aaeeb7ec6114a655240effc8c606a Reviewed-on: https://gerrit.libreoffice.org/1284 Reviewed-by: Faisal al-otaibi <fmalotaibi@kacst.edu.sa> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-01-07Code enhancement remove duplicate code from presenter consoleAbdulmajeed Al-Abaulrazzaq
Change-Id: Ibbb131b64c66307d38a135ac570c1e2ed37bef6c Reviewed-on: https://gerrit.libreoffice.org/1480 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-27Fix Possible inefficient checking for 'm_GlyphsList' emptinessJulien Nabet
Change-Id: I65c30e751fc01b63a54aa9c31b4b2a792b795a79
2012-12-27Sigh, my git grep regexps missed some casesTor Lillqvist
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-24fix postprocess xcu warningPeter Foley
/home/peter/libreoffice/solver/unxlngx6.pro/xml/pdfimport/pdf_types.xcu:2: warning: failed to load external entity "/home/peter/libreoffice/component-update.dtd" <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> Change-Id: I4198341f5c01da5d6f2c3780437eb492717bc58a
2012-12-21Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-19Remove duplicate code from Presenter Help ViewFaisal M. Al-Otaibi
Change-Id: Ie33419ffe04dccc71956f7475d7b7a4acee7df12 Reviewed-on: https://gerrit.libreoffice.org/1391 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-12-13fdo#46808, remove awt::DisplayAccess service.Noel Grandin
This service was never documented in an IDL file. All it did was provide a wrapper around some VCL module API. Now that we can link the VCL stuff into SD and SDEXT, just access the API directly. Change-Id: Ic0ba34c2bca797baa7319878d98cfe3a4ec59d4d
2012-12-12fdo#57422 - presenter console RTL support needs completionFaisal M. Al-Otaibi
Fixing the number problem that on Title on standard view. *Remove duplicate code Change-Id: Ib310be580766a3197e5481c4185f0261fece0906 Reviewed-on: https://gerrit.libreoffice.org/1305 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-12-12fdo#57422 - presenter console RTL support needs completionFaisal M. Al-Otaibi
This patch will fix the RTL layout on Help view Change-Id: I1cba5691649a0494efb9db63b8292525ff0c3656 Reviewed-on: https://gerrit.libreoffice.org/1302 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30Missing includeFridrich Štrba
Change-Id: I55ed111ca1a492fb2467bb1b987ae79120309aaa
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29Isolate PDF Import so it can be made optionally installableStephan Bergmann
...which can be attractive for installation sets that use --with-system-poppler but do not want the LO core package to depend on a poppler package. See the comment at the top of scp2/source/ooo/module_pdfimport.scp for details. The build-time --disable-pdfimport configure switch is gone, PDF Import is built unconditionally for all platforms but Android and iOS now. (The ENABLE_PDFIMPORT variable now uses TRUE/FALSE rather than YES/NO, to increase consistency across those variables.) Change-Id: I6509d0b2e770b276cd54540408fb1ec5a7dda058
2012-11-27fdo#46808: Missing adaptions to XFolderPicker2Stephan Bergmann
c988da288ec473a28f61ebb53aa3ff82bab11ef4 "fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new style" had left some FolderPicker implementations at XFolderPicker, so creating them caused DeploymentExceptions. Change-Id: I3463161f9bb87a69a2777c331eb5b93d487790b0
2012-11-24Turn PDF import from bundled extension to plain codeStephan Bergmann
No need for dirty hacks linking in basegfx objects statically any more. To avoid unnecessary confusion between the newly plain code and any instance of the old extension still installed (per-user or shared), I renamed all relevant UNO implementation identifiers from com.sun.star.comp.documents.* to org.libreoffice.comp.documents.*. Also, existing installations of the extension are explicitly not migrated to new user profiles. The xpdfimport executable is now in program/, its xpdfimport_err.pdf in share/xpdfimport/. To simplify finding the _err.pdf from xpdfimport, its full pathname is now given as additional second argument to xpdfimport. To find xpdfimport executable from CppunitTest, CppunitTest creates a symlink from solver's unittest/installation/program to solver's bin, so that "$BRAND_BASE_DIR/program/xpdfimport" works there (as CppunitTest now sets BRAND_BASE_DIR to solver's unittest/installation). The sdext/source/pdfipmort/dialogs/ Basic stuff appeared to be unused (even though it was included in the .oxt) and has been removed. The --disable-ext-pdfimport configure switch is renamed to --disable-pdfimport. Having it still conditional requires some pdf_Portable_Document_Format vs. pdf_Portable_Document_Format_import foo in module filter. Change-Id: Iee58c2f6187142a418decc9ea3a5df10eb7e0523
2012-11-22move Presenter Console help to main helpAndras Timar
Change-Id: Ic54a0ade61a0c91e158de6afd3f702b9f286cb67
2012-11-21Turn presenter screen from bundled extension to plain codeStephan Bergmann
The immediate trigger was 5e5c11c664f67ff9fd1120905b09a32bea3b2f6c "fdo#42070 Fix RTL support in presenter console" causing build failures on Mac OS X when linking the extension against vcl, but there should be more benefits of going from a bundled-anyway extension to plain code. (Not the least to get rid of the com.sun.star.drawing.XPresenterHelper hack.) To avoid unnecessary confusion between the newly plain code and any instance of the old extension still installed (per-user or shared), I renamed all relevant identifiers as follows: * UNO implementation com.sun.star.comp.Draw.framework.PresenterScreenJob -> org.libreoffice.comp.PresenterScreenJob * UNO implementation com.sun.star.sdext.presenter.PresenterProtocolHandler -> org.libreoffice.comp.PresenterScreenProtocolHandler * protocol handler schema vnd.com.sun.star.comp.PresenterScreen -> vnd.org.libreoffice.presenterscreen * configuration schema /org.openoffice.Office.extension.PresenterScreen -> /org.openoffice.Office.PresenterScreen (it appears this contains little to no user-changeable data anyway, so not migrating it to a new user profile due to the schema name change should not be problematic) * job ID onDocumentOpenedJob -> org.libreoffice.PresenterScreen Even with these precautions, having the presenter screen installed both as plain code and as a (per-user or shared) extension still leads to a crash when activating presentation mode (likely due to how both codes want to take control of the screen). To mitigate this, existing installations of the extension are explicitly not migrated to new user profiles. The sdext/source/presenter/bitmaps/*.png files were moved to icon-themes/galaxy/sd/res/presenterscreen-*.png and are now accessed via SdResId (adding the relevant data to sd/source/ui/inc/res_bmp.hrc and sd/source/ui/app/res_bmp.src; not sure whether these locations are already ideal). The code itself has been left mostly unchanged in sdext/source/presenter/, and it still clumsily communicates with sd core code via XPresenterHelper. There is a lot of room for improvement here. The help data is left untouched at sdext/source/presenter/help/ and needs to be incorporated properly into helpcontent2 in a follow-up commit. The --disable-ext-presenter-console configure switch is gone. Change-Id: I71adb7ae6dcdbd1802151fce6e3871d8a2026332
2012-11-21fix build with poppler-0.21.1Petr Mladek
heh, they put back UTF8.h Change-Id: Id915b1a1e41440a4b53058779355e99e3592e5fa
2012-11-20fdo#42070-Fix RTL support in presenter consoleFaisal M. Al-Otaibi
Problems that still exist: 1-Help layout. 2-Slide sorter view (slides alignment). 3-Note view buttons. 4-Scroll bars. Change-Id: Ie78519358d2f6d847692ee870ecdc1790c5244e6 Reviewed-on: https://gerrit.libreoffice.org/1053 Tested-by: Lior Kaplan <kaplanlior@gmail.com> Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-11-11Merge branch 'master' into feature/killsdfAndras Timar
Conflicts: Repository.mk RepositoryFixes.mk connectivity/prj/build.lst extensions/prj/build.lst filter/prj/build.lst fpicker/prj/build.lst l10ntools/StaticLibrary_transex.mk saxon/build.xml shell/prj/build.lst solenv/gbuild/AllLangResTarget.mk solenv/gbuild/Configuration.mk solenv/gbuild/UI.mk ucb/source/ucp/webdav/webdavcontent.cxx
2012-11-10deduplicate OString std::basic_ostream operatorsMiklos Vajna
I wanted to add one, based on OUString one, and Stephan on IRC agreed it's a good idea. Then it turned out we already had it in sal unit tests, sdext and unodevtools as well. Get rid of all these, and have a single implementation in string.hxx, so it can be used everywhere. Change-Id: Ibb820f20a138d055fd87036253c627fb862a31fe