summaryrefslogtreecommitdiff
path: root/sdext/source
AgeCommit message (Collapse)AuthorFilesLines
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens34-65/+0
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 Štrba1-0/+1
Change-Id: I55ed111ca1a492fb2467bb1b987ae79120309aaa
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens1-5/+5
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 Bergmann3-2/+37
...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 Bergmann1-1/+0
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 Bergmann16-336/+54
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 Timar2-191/+0
Change-Id: Ic54a0ade61a0c91e158de6afd3f702b9f286cb67
2012-11-21Turn presenter screen from bundled extension to plain codeStephan Bergmann114-2078/+31
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 Mladek1-1/+6
heh, they put back UTF8.h Change-Id: Id915b1a1e41440a4b53058779355e99e3592e5fa
2012-11-20fdo#42070-Fix RTL support in presenter consoleFaisal M. Al-Otaibi6-196/+591
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 Timar12-71/+48
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 Vajna1-10/+0
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
2012-11-07Delete unused filesZolnai Tamás1-29/+0
Belong to extensions which become unneeded because of treex Change-Id: I86ca7494a9022c1e72d64b2ec5cbd41d6e292a00
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin1-4/+3
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-10-31fix sdext build with poppler >= 0.19.xRene Engelhard2-4/+8
Change-Id: I655e8e15c7f7a8c292b3a1820ee48c29e847d05a
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin2-36/+24
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31fix build with system poppler-0.21.0Petr Mladek1-0/+4
UTF8.h is split and renamed to UTF.h Change-Id: I3c0c271324f79189aa2d10b9f159d2cb5743eb64
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin2-6/+4
Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-23gbuild: let ExtensionTarget expect manifest below META-INFMichael Stahl3-0/+0
Change-Id: Ia07d3fd856578ab6976c02f8a0ec96273db19a2c
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin2-11/+5
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
2012-10-02re-base on ALv2 code. Includes:Michael Meeks134-2299/+1954
#i118662# remove berkeleyDB from module l10tools Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1213189 reportdesign: remove extra items from Help menu Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1201215
2012-10-02Use prefixTor Lillqvist6-7/+10
Change-Id: I80de62d3afd461bc51a33d427794c86c4a6bc32c
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini3-4/+2
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01Fail early if getPackageLocation fails; plus clean-upStephan Bergmann1-18/+15
Change-Id: Ifa7d589e7854fed9cd9ca2a3f3c987179b60199f
2012-10-01Revert "take out @PLATFORM@ from extension ID"Andras Timar4-4/+4
This reverts commit 21a82f4f91eb9940e5dd01c75e2f68721a431f09.
2012-10-01drop unused includeDavid Tardon1-1/+0
Change-Id: I21360e2d65b64bc27f02d677eda05f9d9d765367
2012-09-29Some clean upStephan Bergmann1-39/+35
Change-Id: Ia17a714b55da06bd38c7b5d60881f1b3838da992
2012-09-28rhbz#826526 Inform user about unsupported PDF encryption formatsStephan Bergmann5-32/+95
...with a crudely reused "Version Incompatibility" message box (TODO: improve), rather than keeping asking for a password. Change-Id: I8239232704a4426af7a14a729840d184a502d2df
2012-09-26followup patch to recent changes for sal_Bool -> boolNoel Power1-1/+1
Change-Id: I867934b4d0589d4e395fee471e1cfab236c0540f
2012-09-26sal_Bool -> boolNoel Grandin1-2/+2
Change-Id: I3a7cdd6fd488af20b15a205515fc6ee593371f0a
2012-09-25take out @PLATFORM@ from extension IDAndras Timar4-4/+4
There is <platform> tag for that in description.xml... It just caused complications, e.g. in help.tree. Change-Id: Iee51fc62f314972d8cc08b63c0c8dc2ab8dd8f16
2012-09-24drop unused headersDavid Tardon1-3/+0
Change-Id: I4659664bd0c4172d2935c15ef2170715a3519b24
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+1
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-11Revert "Temporary workaround for failing XPDF tests"Fridrich Štrba1-2/+0
This tests were failing with system poppler 0.20.0. They are OK with internal xpdf. This reverts commit a9b7c8ba65d74d7ee5fef2750ae9e81945b9e1e3.
2012-09-10add help.tree files to extensions' helpBence Babati2-0/+47
Change-Id: I2decf0178dea2722a752291f21e97cae4aab8074
2012-09-02Replace usage of rtl/memory.h in PDF Import with equivalent from string.hArnaud Versini3-17/+19
Change-Id: I13f88bdfa6fc7d2b39fb2fd6a686b5364c20d6b5
2012-08-31Temporary workaround for failing XPDF testsFridrich Štrba1-0/+2
Change-Id: Ic5a0a60068c871dfbe154e8f5fc7a0f622eaad30
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2-2/+0
Change-Id: Icb3d354ff73df2eea04f1248bb160c252f7a4f5b
2012-08-27Remove ineffective password erasing security in PDF ImportArnaud Versini2-10/+0
Change-Id: Ic49101733f034cc1165bd3c7704481a569f8a75c Reviewed-on: https://gerrit.libreoffice.org/489 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin3-9/+10
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-12fix typoDavid Tardon1-1/+1
Change-Id: I6391bc2ba130fb2b30a28c6378aa3c373ef57b51
2012-08-12drop #include of itselfDavid Tardon1-1/+0
Change-Id: I75bb211d45af8a83a6990fa38cc94afc01ec4d0f
2012-07-16fdo#521512 - fix presenter console display switchingMichael Meeks1-3/+3
The new, clearer names for external displays need to be in-sync. Change-Id: Id78d359b08f956579e9226d00515cd959d81a17f
2012-07-07removed unnecessary forward declarations of classTakeshi Abe10-21/+0
except moving 'class SfxStringItem' to cui/source/inc/acccfg.hxx Change-Id: I11d3803ebcfa02658d376bacf28b3d6030ee9d1b
2012-06-30Some cppcheck cleaningJulien Nabet2-2/+2
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-28impress211: #i110990# Fixed remaining problems with display ids and indices.Andre Fische1-0/+7
2012-06-27targetted re-work of cppunit pieces.Michael Meeks1-4/+0
2012-06-22.map files don't need executable bitsMichael Stahl1-0/+0
Change-Id: I2d3120a173097208bd29eb52ab3dea3af870f6ae
2012-06-22re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks48-1138/+704
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce