summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-05-13Support IMR_QUERYCHARPOSITION in Writer and Calc.Yohei Yukawa
IMR_QUERYCHARPOSITION is one of optional but fundamental request message sent from IMEs to application. This message is used for retrieving the positional information for each character in a composition text especially when the composition text is drawn by the application. This information is critical for IMEs to align suggestion window with the composition text. Change-Id: I53a344a78688060004cc8bcbbf1127f22a468e20 Reviewed-on: https://gerrit.libreoffice.org/3849 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-12Remove old scale convolution methods from Bitmap.Tomaž Vajngerl
Change-Id: I0265a4b4c7b2fda267eb56ef719fd6a53d49d460
2013-05-12bnc#758621: Kill unused aPlacementId, it is never set.Jan Holesovsky
Based on work of Felix Zhang <fezhang@suse.com>, thank you! Change-Id: I733a2b69d01f86bcaf0fa401671d475d9b4641a6
2013-05-12Revert "bnc#758621: show preset texts in slide placeholder"Jan Holesovsky
This reverts commit 95bb951826c7fbaafb055008416f4f1d5cfc95dc. Mid-air collision :-) I've been working on an improvement based on this patch when Muthu pushed it - the following commits are based on the Felix's work, thank you Felix! Change-Id: I12d649219911815e6b97d62f4584fa4d258d8917
2013-05-12commit subforms before moving in parent formLionel Elie Mamane
else, all pending changes in the subforms are lost Change-Id: I82b0967729c71a4f01eff9f823a1961fad999679
2013-05-11added N'ko [nqo-GN] to language list, fdo#64331Eike Rathke
RTL and CTL Change-Id: Ifdce9e3e08a715dcf493c4103479c5fd64a42d74
2013-05-10Resolves: #i121445# Added transparency support to the galleryArmin Le Grand
(cherry picked from commit cf417aec41decab94b5f1e82f6409e97a6c02fb5) Conflicts: extras/source/gallery/gallery_system/sg2.sdg extras/source/gallery/gallery_system/sg2.thm svx/inc/galtheme.hrc svx/inc/svx/fontworkgallery.hxx svx/inc/svx/gallery.hxx svx/inc/svx/galtheme.hxx svx/source/gallery2/galctrl.cxx svx/source/gallery2/galexpl.cxx svx/source/gallery2/galobj.cxx svx/source/tbxctrls/fontworkgallery.cxx vcl/inc/vcl/outdev.hxx vcl/source/gdi/outdev6.cxx Change-Id: I519a2cf4e16bb42ecfd9c4b48094e65adcc35599 (cherry picked from commit ddec662e8dc234b7196c1b3c28db5da743557ec6)
2013-05-10Resolves: #i121407# Gallery reorganizations...Armin Le Grand
and additions of new themes (cherry picked from commit 8ccf0e00b5c67f17427d041321baaa5ade488e7c) Conflicts: extras/prj/build.lst extras/source/gallery/bullets/makefile.mk extras/source/gallery/gallery_system/sg2.sdg extras/source/gallery/gallery_system/sg2.sdv extras/source/gallery/gallery_system/sg2.thm extras/util/target.pmk scp2/source/ooo/directory_ooo.scp scp2/source/ooo/file_extra_ooo.scp svx/inc/galtheme.hrc svx/source/gallery2/gallery1.cxx svx/source/gallery2/galobj.cxx svx/source/gallery2/galtheme.src vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/alpha.cxx vcl/source/gdi/bitmap.cxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/bitmapex.cxx (cherry picked from commit 8012fae6cedcf325130d70adf0a486e8918f452f) Conflicts: vcl/source/gdi/bitmap3.cxx Change-Id: If4b2397b889f914487f2135679250c175181e1df
2013-05-11sal_Bool to boolTakeshi Abe
Change-Id: I7e69466f189b845a807edbf3ca4422b0fb2aec94
2013-05-10minor spelling fix for comphelper's comparison functorsHerbert Dürr
(cherry picked from commit e4a739338fc31b632f89a81198e0b4a16f98dbc3) Conflicts: comphelper/inc/comphelper/stl_types.hxx Change-Id: I18587958e7458cdd6847f48e8ea41ca92afd7815
2013-05-10typoCaolán McNamara
Change-Id: I66de69f3ca4ff92abb0583cd330087d59a037a0f
2013-05-10make some important single-parameter constructors explicitHerbert Dürr
for symmetry also the other constructors in the same class and mark their destructors as virtual if they are anyway (cherry picked from commit 870349eada8c0e56d58c8d2ee40ad561a9f982fe) Conflicts: vcl/inc/vcl/button.hxx vcl/inc/vcl/combobox.hxx vcl/inc/vcl/ctrl.hxx vcl/inc/vcl/dialog.hxx vcl/inc/vcl/dockingarea.hxx vcl/inc/vcl/event.hxx vcl/inc/vcl/field.hxx vcl/inc/vcl/fixed.hxx vcl/inc/vcl/floatwin.hxx vcl/inc/vcl/fontmanager.hxx vcl/inc/vcl/group.hxx vcl/inc/vcl/lstbox.hxx vcl/inc/vcl/menu.hxx vcl/inc/vcl/menubtn.hxx vcl/inc/vcl/metaact.hxx vcl/inc/vcl/morebtn.hxx vcl/inc/vcl/pngread.hxx vcl/inc/vcl/scrbar.hxx vcl/inc/vcl/spin.hxx vcl/inc/vcl/spinfld.hxx vcl/inc/vcl/split.hxx vcl/inc/vcl/syschild.hxx vcl/inc/vcl/tabpage.hxx vcl/inc/vcl/virdev.hxx vcl/inc/vcl/wrkwin.hxx Change-Id: I8c29f74208cf382a9baa01c2e2d0757688cb4641
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-10bnc#758621: show preset texts in slide placeholderFelix Zhang
2013-05-10Enhancements to VCL metafile handlingChris Sherlock
* Remove EMFP_DEBUG with OSL_DEBUG conditional defines and SAL_INFO * While we are about it, to help with troubleshooting metafile issues, add another vcl.emf area to log-areas.dox * Improve error handling when processing an EMF header: + replace variable name nsal_uInt32 (!!) with sane variables to make the code more readable + check to ensure that type field is 0x1, which is all it can be for metafiles + check that signature field is set to ASCII-encoded value "FME" + loose check of version field to see if it is 0x00010000 + warn if record count is zero - that really shouldn't be possible + check bytes field in header to make sure it correlates to the actual size of the metafile + additional check - [MS-EMF] states that reserved field should be zero, and ignored... but we can use this to check for file corruption - not 0, not correct! * Quite a few more comments in the code to clarify the intended structure of a metafile, per [MS-EMF] documentation Change-Id: Id4ed486b2dd0c6e7bdee67cb344aaaf8e8d98f84 Reviewed-on: https://gerrit.libreoffice.org/3839 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-10Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqualHerbert Dürr
unify the various c-string compares and hashes. (cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92) Conflicts: oox/inc/oox/export/shapes.hxx oox/source/export/shapes.cxx sal/inc/rtl/string.hxx sdext/source/minimizer/pppoptimizertoken.cxx svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx vcl/source/glyphs/gcach_ftyp.cxx writerfilter/source/resourcemodel/TagLogger.cxx xmloff/source/draw/EnhancedCustomShapeToken.cxx Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
2013-05-09HAVE_CXX11_PERFECT_FORWARDING doesn't seem to work against libc++Tor Lillqvist
(Just one small fix for building against libc++, an unknown amount of more difficult issues left to solve.) Change-Id: I9789b8d76aa214558ab4baad823b6650ebc640d3
2013-05-09WaE: clang warningsCaolán McNamara
Change-Id: Id18a1f1053ec55f910152440a7e7a2eea4d44b3a
2013-05-09Resolves: #i121233# Added bitmap scaling methods BMP_SCALE_SUPERArmin Le Grand
added from symphony, also BMP_SCALE_LANCZOS, BMP_SCALE_BICUBIC, BMP_SCALE_BILINEAR and BMP_SCALE_BOX. Changed defaults for internal scalings, enhanced PDF export when reduched DPI is used, added BMP_SCALE_BESTQUALITY and BMP_SCALE_FASTESTINTERPOLATE as new default for Bitmap::Scale (cherry picked from commit bf734a151dc5169b65cf5d2a127e4142b765326c) Conflicts: canvas/source/vcl/canvasbitmaphelper.cxx canvas/source/vcl/canvashelper.cxx sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/pdfwriter_impl2.cxx vcl/source/helper/canvasbitmap.cxx (cherry picked from commit 593c86280b64d97725adde0c0a0cc4f090fb2310) Change-Id: I41cf0a7e11bdbc6510e22e762486420995ba739b
2013-05-09fix userform data aware control importNoel Power
Change-Id: I86f5cc0c60bba48eaaf40a3471cc0fb22e5e4b9c
2013-05-09Parse workbook name correctly, don't fall over spaces etc.Noel Power
Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
2013-05-09support Shape.AlternativeNoel Power
Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037
2013-05-09handle various ReturnXXXX types for formsNoel Power
Change-Id: Idcbfbebafb02c734b42428c5b1d6df8d0d4a23d6
2013-05-09make conversions between BitmapColor and sal_uInt8 explicitHerbert Dürr
Implicit conversions are a dangerous cause of confusion as seen in http://markmail.org/thread/a4copx2di7cxeowg and require tricky rewrites to work around them, this change cleans them up and disables them. (cherry picked from commit 2d9d5c8d6beb7fb0a7dafa0c1c4d10a25d7200fd) Conflicts: filter/source/graphicfilter/egif/egif.cxx filter/source/graphicfilter/epbm/epbm.cxx filter/source/graphicfilter/epgm/epgm.cxx filter/source/graphicfilter/ipbm/ipbm.cxx filter/source/graphicfilter/ipsd/ipsd.cxx sd/source/ui/slidesorter/view/SlsButtonBar.cxx svtools/source/filter/igif/gifread.cxx svtools/source/filter/jpeg/jpeg.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/graphic/grfmgr2.cxx vcl/inc/vcl/bmpacc.hxx vcl/inc/vcl/salbtype.hxx vcl/source/gdi/bitmap.cxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/outdev2.cxx Change-Id: I1d163c66782c2750aeee00725dbb2b614507c0d4 (cherry picked from commit ff80c37b18b941712fb967a0c1d48813b47c0583)
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-08fix signatures for copy-ctor and assignment for the propertysetmixin classesHerbert Dürr
the canonic way to disallow copy construction and assignment of an object is to declare unimplemented methods for them taking const references. (cherry picked from commit 0fabc9a7be629ca150e83b5b69dc5e44b4b2a476) Conflicts: cppuhelper/inc/cppuhelper/propertysetmixin.hxx Change-Id: I7332d6eedaaf208f64cfe421983171ba436a4050
2013-05-07fix doxygen tagLuboš Luňák
No idea what the nonsense about cargo-cult in the previous two commits was about though. Change-Id: I97a7a39ad431e5ab9eab4de6de2b08d4d6889307
2013-05-07Better loggingStephan Bergmann
Change-Id: Ic3dca6f1f0c0f7de7070801793938569e76e1907
2013-05-07Up-cast conversion constructor for css::uno::ReferenceStephan Bergmann
Based on a previous patch by Noel Grandin, <https://gerrit.libreoffice.org/#/c/3613/>, and borrowing from boost::is_base_and_derived (see comment in include/com/sun/star/uno/Reference.h) to avoid including Boost headers in URE headers. Change-Id: Iade5af144dd73ef03bd7d96000134c7a66a5e591 Reviewed-on: https://gerrit.libreoffice.org/3699 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-07helpcompiler: remove Package_incMichael Stahl
Change-Id: Iddafa9068edcc20135c08ed205b8fb7fb5382eba
2013-05-07dbaccess: remove Package_incMichael Stahl
Change-Id: I8e6748eef04f25603851a33d049cb9585fa04cc6
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06Revert "Blind fix for MSVC"Stephan Bergmann
9041dac37f912a6f183be9f6b6558f1ef44280c0. The correct fix was f4227c822c7f5a4e1e1b3b4e096cb63cf710a3f1 "Blind fix for MSVC, take two." Change-Id: I6c319a0f7a1d3dbcffbd4be8ac02682e5fdd7802
2013-05-04Show type of graphic in CompressGraphicDialog.Tomaž Vajngerl
Change-Id: I4066a26fb93e9a97707a249f08c4c67459c8abb2
2013-05-03fdo#48056 treat report chart as draw chartLionel Elie Mamane
Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2
2013-05-03fixing mistake of no following cargo-cult correctlyFridrich Štrba
Change-Id: Ied0d8d6fd01ab5106b901355a7c5002719b07ffa
2013-05-03Don't know what to do, but cargo-cult is the official religionFridrich Štrba
Change-Id: I7e73bbd6e83da0606dc0fee99a33cb7130cafdff
2013-05-03add a warningDavid Tardon
Change-Id: I0baf90cfe8d3caa96f826695c1be4bc563864c00
2013-05-03unset WB_GROUP on non-initial buttons in groupsCaolán McNamara
Change-Id: I8846318e8d7fef862bb105af878b2df17045d7ff
2013-05-03implement native button order for messageboxesCaolán McNamara
Change-Id: I85d0991da3d2a1efa9d5c15569164d8bd2194356
2013-05-03fdo#60075 open drawings with connector attached to SVGDavid Tardon
This problem arises when there is a connector attached to draw:frame element with multiple draw:image elements in it. The import code expects that they are different representations of the same image (I have not found if this is specified in ODF), so it only selects the most "suitable" for import. To do that, it imports them all and then removes all but the selected one. The image import context, SdXMLGraphicObjectShapeContext, shares the parent frame's attributes, which means that all the images in a frame have got the same ID. in SdXMLGraphicObjectShapeContext::AddShape, the created css::draw::XShape is registered with its ID... That means that anything that refers to the frame's ID, like a draw:connector, will always get the _first_ image in the frame. Solution is to extend comphelper::UnoInterfaceToUniqueIdentifierMapper to allow reserving an identifier and setting an interface for it later. That way, SdXMLFrameShapeContext can reserve its own ID before it starts importing the first draw:image, and then set the selected XShape at the end. Change-Id: I2e11cfd38e1e3534df2b3c01d85da0d755a266c3
2013-05-02Resolves: #i120230# Adapt hatch processing for a more pleasant visualisationArmin Le Grand
Adapt hatch processing to keep a view-dependent minimal distance for a more pleasant visualisation (cherry picked from commit 6a036e7ac17a1d4394d60471bd8931d9b16b7bb4) Conflicts: drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx drawinglayer/inc/drawinglayer/primitive2d/fillhatchprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive2d/primitivetools2d.hxx drawinglayer/source/attribute/fillhatchattribute.cxx Change-Id: I15cd784ef7d3e47a20308f16d370c24ef46d2f22
2013-05-02rather nutso, just drop the XubString variantCaolán McNamara
Change-Id: Iebff2bc517e3b6422a6b410f44d78cee1b6d971d
2013-05-02fdo#60780, refactor Save a Copy and fixÁdám Csaba Király
Refactor Save a Copy, basing it on Export functionality. SID_SAVEACOPY takes its parameters, and sends a SID_EXPORTDOC request with them, using SID_SAVEACOPYITEM to differentiate Save a Copy from regular Export. Fix storing docx to url, by preventing finalizeFilter method, in filterbase.cxx, from writing back to the original file's MediaDescriptor. Change-Id: I876dbe17e43b26a43f29e797fdb157e31889ee1e Reviewed-on: https://gerrit.libreoffice.org/3355 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-05-02Show only filename in "Recent Files" listSamuel Mehrbrodt
As discussed here: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Recent-files-dropdown-td4052945.html#a4052996 The changes are (inspired by Gedit): * Display only the filename, not the (abbreviated) path * Show the protocol name before the file, if not local (e.g. "ftp: myfile.odt") * After the keyboard shortcut (a number from 1 to 10) display a '.' instead of a ':' (because the protocol has a ':') * FIX: Display whitespace as whitespace, not "%20" Change-Id: I47472c901aa866adb76c7c7ab36bc871f82ad8df Reviewed-on: https://gerrit.libreoffice.org/3700 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-05-02Convert from EMFP_DEBUG to SAL_INFOChris Sherlock
* Change to SAL_INFO instead of EMFP_DEBUG in implrenderer.cxx * Add new log area cppcanvas.emf * Update comment in log.hxx to reference the new location of log-areas.dox Change-Id: I5d710725339f58a111a2f3494c3a72f685624322 Reviewed-on: https://gerrit.libreoffice.org/3726 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-01use new MessageDialogCaolán McNamara
Change-Id: I4fdc54d5a6e0f133c53588e255274b9f103269b4
2013-05-01create a HIG compliant MessageDialog and map to GtkMessageDialogCaolán McNamara
Change-Id: If86387619ff00a652ea418292fbb0026b867a431
2013-05-01convert message box return types to an enumCaolán McNamara
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335