summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
AgeCommit message (Collapse)Author
2015-04-21StyleManager & StylePreviewRenderer + common implementationTomaž Vajngerl
StyleManager is a new class responsible to handle document styles. The current implementation has only the responsibility to provide a implementation of StylePreviewReneder, but the idea is to move all style related functionallity to this class (and relieve the SfxObjectShell a bit). CommonStyleMAnager is the common impl. StylePreviewRenderer is responsible to render a preview of a style. As styles can be handled differently by each component it is possible to provide component specific StylePreviewRendered, but currently only the common one is implemented and used by sw. Change-Id: Id271485f571a777a3e94f855d3c614a2efc14628
2015-04-16sfx2: warning C4100 unreferenced formal parameterMichael Stahl
Change-Id: I4613071807bdedeb2058af12f0f808bdffc0e5cd
2015-04-15sfx2: silence bogus SfxObjectShell::isTiledRendering() warningsMiklos Vajna
It's expected that e.g. the basic ide doesn't override these methods. Change-Id: Ie32002c8416c5c0cd81ddf010fa5156b0698560e
2015-04-15convert LOCKFILE_ constants to scoped enum and cleanupNoel Grandin
Change-Id: I9a2339cc953a718403b3cd0960d5d8d34abae455 Reviewed-on: https://gerrit.libreoffice.org/15304 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SIGNATURESTATE_ constants to scoped enumNoel Grandin
Change-Id: I715e39599464a199a8b78ec274bfe47b90fc4bb7 Reviewed-on: https://gerrit.libreoffice.org/15301 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-14implement SfxObjectShell subclasses' LOK interfaceSiqi Liu
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
2015-04-13LOK_STATE_CHANGED callback implemented with sfx events interception.Siqi Liu
2015-04-13tdf#90478: Hide explanation on ODF when default format is alienJacobo Aragunde Pérez
When saving a file that is not in ODF format (the default format), there is a dialog asking if should keep the original format or rather use ODF. But the default format can be changed to a different one than ODF, and the dialog will let users choose between saving in the default format or the one they chose in the save as dialog. In this case, the explanation about ODF shown in the dialog is pointless, so this commit hides it. Change-Id: I91cf95d35b70cb46e7667025a4a649b390205f0b Reviewed-on: https://gerrit.libreoffice.org/15234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-04-13tdf#90478: Show the right default format when savingJuan A. Suarez Romero
When saving a file that is not in ODF format (the default format), there is a dialog asking if should keep the original format or rather use ODF. But the default format can be changed to a different one than ODF. And the dialog will still assume the ODF is the default one. This commit fixes the wording in the dialog to use the the default format instead of hard-coded ODF. In order to keep the text simple, instead of using the long name for the default format, it uses the proper file extension. So if for example changes from ODF to Microsoft Word 97 default format, and saving a non-Word document, the dialog will ask user if document should be saved in default DOC format. Change-Id: I0b259af9eca61161ec8a3d7e72d4722b5afdf4b4 Reviewed-on: https://gerrit.libreoffice.org/15170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-04-13convert SHOWEXTRAS constants to scoped enumNoel Grandin
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
2015-04-13convert HiddenWarningFact to scoped enumNoel Grandin
Change-Id: I23579d746a3c612de68345794731f1ff2cbdf605
2015-04-13convert HIDDENINFORMATION_ constants into scoped enumNoel Grandin
Change-Id: I94136c926fc8fa69ce2ce2b97fa34dc984dbe095
2015-04-13convert SFX_LOADED_ to scoped enumNoel Grandin
Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea
2015-04-10convert SFXOBJECTSHELL_ constants to scoped enumNoel Grandin
Change-Id: I5a159be0c342b778730cedb0fe35843c2c368c97
2015-04-10convert SFXMODEL_ to scoped enumNoel Grandin
and fix up some confusion in SC and STARMATH about which constants to use Change-Id: Ib75bc78a24bd2fad6ec6d7c94c4c1ad7dc222c1a
2015-04-10convert SfxObjectCreateMode to scoped enumNoel Grandin
and fix some dodgy usage in /sc in the process Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
2015-04-09convert SFX_LOAD constants to scoped enumNoel Grandin
Change-Id: If0a2eeeabbb0bea48d2f2f86dc04266812c0ecd2
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
2015-04-07convert SvtModuleOptions::EModule to scoped enumNoel Grandin
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
2015-04-07convert SvtModuleOptions::EFactory to enum classNoel Grandin
and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-02Kill INetProtocol::NewsTor Lillqvist
Change-Id: I393edc816aaf189b1001e630c76f67dd53fd5be3
2015-04-02Kill INetProtocol::Imap and Pop3Tor Lillqvist
I doubt very much these actually get used. Couldn't find in any of the sample bug docs collected from bugzillas, for instance. Change-Id: I47a586fabb1efdf8315ed5f7bd09cbaea4c860b5
2015-04-02tdf#72337: sfx2: make the SfxMedium stream-reuse hack runtime-optionalMichael Stahl
SfxMedium::GetOutStream() does something different on WNT to solve sharing issues on one kind of file server but that causes issues with some other kind of file server that worked before. Make this runtime-changeable with (undocumented) env variable SFX_MEDIUM_REUSE_STREAM. (regression from 3d12549335229aca1a6a57575292111274709992) Change-Id: Id7a1fc8169dbf09c67a109b36ffa312ef33231c5
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I1fee5879bbf0293dc765247f0587ce52c1570a3e
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I872e6010b1068fe0f19f5f934c1124c7073160e1
2015-03-28Bin a few SAL_INFOs that basically just say "we are here"Tor Lillqvist
Such are fairly pointless to keep permanently in the code. Use a temporary SAL_DEBUG if you need tracing output when you reach a certain lines while hacking. Change-Id: I13a898486731c6d2995e92e2c5dcd0d1429e47cc
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I59526bea5104def80e98902e4cf16e7bcfaa250c
2015-03-24SkipImages option for document importLászló Németh
This option allows images and drawings to be skipped while importing DOC and DOCX, for text-only conversion or indexing. Change-Id: Id4bfbbe48d8a8e970b1cb5922187768bf94dc918 Reviewed-on: https://gerrit.libreoffice.org/14733 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
2015-03-24convert SFX_PRINTER constants to enum classNoel Grandin
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24convert FILTER_APPLICATION to enum classNoel Grandin
Change-Id: I9ad1d1c9a2d9d538a4cc95f0b65f45f631116916
2015-03-24convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-24convert SvxZoomType to enum classNoel Grandin
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-23tdf#90095 Fixed wrong behavior of template delete dialogMichael Horn
The template delete dialog was coded in such a way that the default behavior was to delete the template/folder unless the user pressed no. This caused the template to be deleted if the dialog was closed using the "x" button. I changed the logic so that the dialog will only delete the template if the user presses yes. Any other button press will do nothing but close the dialog. Change-Id: I7977fd48b3e0cc440cc1e15056b448e7ae23476f Reviewed-on: https://gerrit.libreoffice.org/14937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-19loplugin:constantfunction: sfx2Noel Grandin
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17loplugin: add Dialog to unusedvariablecheckNoel Grandin
so that we find dialog that have been instantiated but not actually executed Change-Id: Ia308e832780627c0a8de71a9d64dabcb3b861a9c
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-06Timer/Idle: adapted inherited funktionsTobias Madl
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
2015-03-06Idle: Changed to new enum nameTobias Madl
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-03TyposJulien Nabet
Change-Id: I64995f15e8367412f345c6505668a1c560eef1ef
2015-02-18boost->stdCaolán McNamara
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-14related tdf#89004 move to std:set instead of std::vectorUrsache Vladimir
Conflicts: sc/source/core/data/document10.cxx sw/source/core/doc/docfmt.cxx Change-Id: I1312f476607ea3a78b162a7e59323b0a142f6629