summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2012-04-17ExecuteQuerySaveDocument: return NO when headless instead of CANCELMichael Stahl
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-04-17re-open output file on save to fsync to improve first-start performanceMichael Meeks
(cherry picked from commit a0b5ba2e821091b8053bfc1d2f9c99aca7431907) Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-04-14Resolves: fdo#48640 handle various busted rtf docs without hangingCaolán McNamara
(cherry picked from commit 234f150f30d881b2691288c5f5581306bd4d3d18) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2012-04-06fdo#43895 lp#905355: fix the fix so it doesn't crashMichael Stahl
rtl::OUString rtl::OUString::copy(sal_Int32) const: Assertion `beginIndex >= 0 && beginIndex <= getLength()' failed. (regression from dd2fe95cce75f1157bd1c75d286a0047b2e4175e) Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
2012-04-04fdo#43895 lp#905355: Never let users save in /tmp by defaultAndrzej J. R. Hunt
(cherry picked from commit dd2fe95cce75f1157bd1c75d286a0047b2e4175e)
2012-04-03Introduced SystemShellExecuteFlags::URIS_ONLYStephan Bergmann
(cherry-picked from commit d4b67611c421ebe9b75284106fe389b434419961) Conflicts: extensions/source/update/check/updatecheck.cxx filter/source/xsltdialog/xmlfiltertestdialog.cxx sfx2/source/view/viewsh.cxx shell/source/unix/exec/shellexec.cxx Replaced master's new MSG_ERR_NO_ABS_URI_REF with re-using RID_SECURITY_WARNING_NO_HYPERLINKS, to avoid introducing new resources into the LO 3.5 series that require localization. New css.system.SystemShellExecuteFlags.URIS_ONLY remains @since LibreOffice 3.6. Officially, new features are only added when bumping the minor revision number, not the micro one (but backporting does not hurt here). Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-04-02fdo#34324 - fix colorspace conversion for greyscale bitmapsMichael Meeks
Signed-off-by: Andras Timar <timar74@gmail.com>
2012-03-19fix semantic error in layout calculationAndras Timar
(cherry picked from commit cc32ce47cef1a72a820a9475a9a2753490a019f2) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-08Fix controls size and position on the document information dialogWilliam Gathoye
(cherry picked from commit 21d85dabe5d780571ad8ca39c8e6d30be90a0bf4) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-02-10fdo#45330 Improving layout of Confirm File Format dialogTomcsik Bence
Although fdo#45330 was a duplicate of fdo#45117 which was fixed earlier, this patch makes the layout look better when the button text is very long, because it resizes the boundary boxes of fixed text and ruler, too. I've changed the sequence of the functions in InitSize() and the size calculations. Signed-off-by: Andras Timar <atimar@suse.com>
2012-02-08add the "Send Feedback..." help menu itemIvan Timofeev
Signed-off-by: Thorsten Behrens <tbehrens@suse.com> Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com> Signed-off-by: Michael Meeks <MMeeks@suse.com>
2012-02-08Fix fdo#45117 - Alien save dialog buttons run off the edgeJosh Heidenreich
Adjusts the width of the dialog to be wider, if required. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-01-24fdo#37740 remove duplicate icons from soffice.bin/soffice.exeAndras Timar
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-01-17don't create lock files for unit testsMarkus Mohrhard
special thanks to Stephan for the configuration part Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-01-11Hide bogus "Untitled already exists" errors...Stephan Bergmann
...when adding multiple new template regions in a row in SfxOrganizeDlg_Impl. (cherry picked from commit d6b26b85cf8ca9d925b13ee3379516dabba61f90)
2012-01-11fdo#43532 Partial revert of "...template names appear... correct word order"Stephan Bergmann
Sorting the sfx2-based list boxes does not work as SfxDocumentTemplates uses a different collating order (plain Unicode code points) than the list boxes, so that e.g. "en-US" comes last in SfxDocumentTemplates but not in the list boxes. Even with that fixed, insertions into SfxOrganizeDlg_Impl would still not work right. This reverts the sfx2 parts of commits 50b7733fa41879a62d35cab64da59b109e1a8502 and df59068902b294b7b344af0c20da196cc64aaced. (cherry picked from commit 2c4d00f509bbb8333124d443f4cbfa085216a38b)
2012-01-09Make the title of foreign file format warning translatableStefan Knorr (astron)
Also, change the contained text slightly. Thanks to William Gathoye for noticing and producing a first patch Signed-off-by: Andras Timar <atimar@suse.com>
2012-01-09autoresize 'Use ODF format' button, tooAndras Timar
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen
2011-12-07Removed unnessecary tools/table.hxx includesMarcel Metz
2011-12-06Revert "Install a Cancel callback, don't rely on vcl searching for a parent ↵Caolán McNamara
to close" This reverts commit 5d846ebeb55b1e295fb53f473f0fb2b88712e001, fixed the offending writer field dialog in master, but don't need this infrastucture for 3-5, so take safer option and use tranditional behaviour
2011-12-03Revert "fdo#41865: Make macro recording work without experimental features"August Sodora
This reverts commit f4b3bd91ca177101d90f522e81163dc6421e14c9.
2011-12-03fdo#41865: Make macro recording work without experimental featuresAugust Sodora
2011-12-03WaE : missing return value on one code pathNorbert Thiebaud
2011-12-03sfx2::FileDialogHelper: the punchline:Michael Stahl
Now that we have removed all the pointless clutter, we can finally make it possible to create a file dialog that has a link checkbox but not dozens of graphic filters pre-registered: only add them if SFXWB_GRAPHIC is given.
2011-12-03sfx2::FileDialogHelper: refactor construction:Michael Stahl
There are currently 2 different ways to specify what kind of file dialog should be created: the nDialogType and nFlags ctor parameters. Simplify that by using the nDialogType for the API specified variety, and the nFlags only for options that cannot be specified by the API. This allows to get rid of 3 constructors, and the following constants: WB_OPEN, WB_SAVEAS, WB_PASSWORD, SFXWB_PASSWORD, SFXWB_SHOWSTYLES
2011-12-03sfx2::DocumentInserter: remove nFlags ctor paramMichael Stahl
2011-12-03SvBaseLink::GetFileDialog renamed GetInsertFileDialogMichael Stahl
2011-12-03sfx2::FileDialogHelper: remove obsolete flagsMichael Stahl
2011-12-03sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODALMichael Stahl
2011-12-03sfx2::FileDialogHelper: remove use of WB_OPENMichael Stahl
This can really be derived from the dialog type, don't duplicate it.
2011-12-03remove unused #include sfx2/filedlghelper.hxxMichael Stahl
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke
2011-11-30renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptionsEike Rathke
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-29fs34c: #i117625# when assigning events, only throw if there is an invalid ↵mst
type given, *not* if the type is correct, but the sequence is merely empty * found as LGPLv3-only fix at svn rev 1172123 (http://svn.apache.org/viewvc?view=revision&revision=1172123)
2011-11-29move reconfigure into gbuildBjoern Michaelsen
2011-11-29Replace formattings with formattingLior Kaplan
2011-11-29Install a Cancel callback, don't rely on vcl searching for a parent to closeCaolán McNamara
If there is no cancel callback for a Cancel button, it's monstrous to dig around the hierarchy looking for a parent to call EndDialog/Close on. Really messes up attempts to refactor dialogs.
2011-11-28SfxInterfaces may legally have no translatable ui nameCaolán McNamara
2011-11-28s/weather/whether/ where appropriateKorrawit Pruegsanusak
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud
2011-11-27remove pch from the include listNorbert Thiebaud
2011-11-27remove include of pch header from sfx2Norbert Thiebaud
2011-11-27remove pre-compiled header support in gbuild and gbuildified moduleNorbert Thiebaud
2011-11-27typos fixingKorrawit Pruegsanusak
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-25gsl_getSystemTextEncoding -> osl_getThreadTextEncodingDavid Tardon
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-23Enable :first-letter CSS pseudo-class for all browsers in HTML exportHarri Pitkänen
Previously when drop caps were specified in a paragraph style (not as direct formatting) export to HTML was implemented with :first-letter pseudo-class for "LibreOffice Writer" and through styling individual characters for other browsers. Since all browsers used these days (even obsolete ones like IE 5.5) support :first-letter there seems to be no reason to maintain this difference. This patch unifies all export modes to use :first-letter in such cases.
2011-11-23add stripStart, can replace EraseTrailingCharsCaolán McNamara