summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2013-05-11gallery: make transparency backgrounds look more attractive.Michael Meeks1-2/+2
Change-Id: Id9bd1905f7608c54861ff3931e56b94afc5688ba
2013-05-11Resolves: #i119889# .pptx table vertical text directionJürgen Schmidt1-0/+10
Set property to cell object if the cell has vertical property. And fix in svx module by setting cell's vertical property. Patch By: companycy Found By: Shan Zu Review By: jsc (cherry picked from commit bb8bf7bde59c22776199e791b8cfcbf07992de8e) Conflicts: oox/source/drawingml/table/tablecell.cxx Change-Id: I58bb1548617c4c1e231280a405d6071ea8813039
2013-05-10Resolves: #i121445# Added transparency support to the galleryArmin Le Grand7-99/+134
(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 Grand4-6/+77
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-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl1-0/+2
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke17-94/+93
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-10Related: #i115922# Fontwork alignment and spacing controlsHerbert Dürr2-59/+59
Capitalize them consistently with the reference being their UNO names defined in main/helpcontent2/helpers/uno-commands.csv (cherry picked from commit 6a2ea0d81349d3bf6e3ce71cd60288e70b34e198) Conflicts: svx/source/tbxctrls/fontworkgallery.cxx Change-Id: I3400c68bf121f4a95cf1068c62be9864257c8ac2
2013-05-10Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqualHerbert Dürr1-15/+2
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-10Resolves: #i122142# use simple text hilight framesArmin Le Grand2-0/+9
use simple text hilight frame when captions are in TextEdit mode (cherry picked from commit bdcd01c39324f5c74e0f696f2afc3449243e6c4b) Conflicts: svx/source/svdraw/svdmrkv.cxx svx/source/svdraw/svdorect.cxx Change-Id: Id570a220873d1bbd0f9caed4db44f90ca2f67d9e
2013-05-09Resolves: #i121233# Added bitmap scaling methods BMP_SCALE_SUPERArmin Le Grand2-2/+2
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-09wrong scale nameCaolán McNamara1-1/+1
Change-Id: I1be967057155c1cf4fa98cf0651a0388ef845558
2013-05-09fdo#63311: Unable to delete text from Shape.Muthu Subramanian1-7/+4
This avoids setting null as text to the shape. [empty_text seems to be the initial value of text for shape rather than null - something recent? We also seem to export empty <text> entries because of this]
2013-05-09make conversions between BitmapColor and sal_uInt8 explicitHerbert Dürr4-19/+17
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-08svx: remove Package_sdiMichael Stahl3-30/+0
Change-Id: I0c648ca1b1f3cc22244d660e032bacbdbe0f642e
2013-05-08sfx2: remove Package_sdiMichael Stahl2-2/+3
There are just a handful of sdi files in sfx2 anyway so just put sfx2/sdi on include path. Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
2013-05-07connectivity: remove Package_generatedMichael Stahl1-0/+1
This one is ugly, the Yacc generated header is used in lots of places; the dependencies are already right because using the header requires using the dbtools library which builds the YaccTarget, so just yet another include path has to be added. Change-Id: I031fde80ac326551d4719533305b1ae35351ca43
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-06fix typos (wich instead of which)Philipp Riemer2-2/+2
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák18-47/+47
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-04Show type of graphic in CompressGraphicDialog.Tomaž Vajngerl2-9/+75
Change-Id: I4066a26fb93e9a97707a249f08c4c67459c8abb2
2013-05-02Resolves: #i120230# Adapt hatch processing for a more pleasant visualisationArmin Le Grand3-0/+3
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-01debugging assert for unlocked solarmutex in launching find dialogCaolán McNamara1-0/+1
Change-Id: Iee89ae367d5c282cc1d06889765376982a7d37ed
2013-05-01convert message box return types to an enumCaolán McNamara1-2/+2
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
2013-04-30Make uno any types explicit.Thorsten Behrens1-3/+3
This was previously sticking long types into Any - which yields different sal types on different archs. Change-Id: Ifc7a60a052b57f8a83739ec11a97ab32aaa2ee7c
2013-04-30remove unused RestoreXViewGraphics classMatúš Kukan1-24/+0
Change-Id: I5b4075623631a4c3148a53e80fe6c011ccabdc37
2013-04-30rework background page to balance the preview and controlsCaolán McNamara1-2/+6
a) expand to fit the available space b) make the controls and the preview the same size c) reorganize the three options of color, gradient and bitmap to all put the preview in the same place and adjust so the preview is the same size in each case, i.e. switching between views gives the impression of a single shared preview element d) put a border around the gradient list so its area is visually noticable to be the same size as its preview area Change-Id: I88735778bb482f9dd011f890d170be127877367a
2013-04-30i#120015# Let SdrUndoAttrObj remember a reference to the used style to surviveArmin Le Grand1-10/+43
removal of the style by UI (which creates no undo actions). Re-add the style when undoing if needed. Change-Id: I6069a1cb42dfaeb0dd35fdc15687fd307f2b641e
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-20/+5
2013-04-30Convert find & replace dialog to .uiCaolán McNamara5-1287/+1668
Change-Id: Ib5637a3601fc77588b2bd581f17dc6bcb36290db
2013-04-30Clang cleanup, unused mutex variablesNoel Grandin1-1/+3
Some of these were doing nothing useful at all. I removed those. A couple were protecting static data, and I fixed those to use Mutex and MutexGuard properly. Change-Id: I444d13f8b6c50e526cce8d69d09aeaf240e5c6ca Reviewed-on: https://gerrit.libreoffice.org/3678 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29UpdateTableShape() is called when we call SetAttrToSelectedCells methodGokul1-1/+0
IMO Calling this method again is not required. The If Blocks returns false when User Clicks "Cancel" Button in "Format Cell" Widget, IMO on Cancel Their is no need to Update the table. And on Ok SetAttrToSelectedCells method is called which inturn calls UpdateTableShape() method. Change-Id: I2bb0bb616cc978717a1494e01f257631aadd613c Reviewed-on: https://gerrit.libreoffice.org/3391 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-28fdo#60910: discard UNO shape object in SdrObject::SetPageLuke Deller2-1/+12
The creation of the UNO shape in SdrObject::getUnoShape is influenced by pPage, so when the page changes we need to discard the cached UNO shape so that a new one will be created with the new page. This replaces my first shot at a fix for fdo#60910 which reinstated a line to discard the custom shape engine (and consequently the UNO shape) in SdrObjCustomShape::InvalidateRenderGeometry. That worked but did more discarding than was necessary. Change-Id: I665fb6f9e1563bbc4eced046f027a53991a7e45f Reviewed-on: https://gerrit.libreoffice.org/3642 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-27some eco-activismThomas Arnhold1-2/+0
Change-Id: Ib447cd8633c3102ee78c919cfbeabcc88018b130
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist11-18/+0
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-26QueryDesign: in criteria, remove column_ref when table *and* column name matchLionel Elie Mamane3-2/+6
As opposed to only the column name Change-Id: I261d13f23214f950daa55a5b63cd486e59a0e127
2013-04-26XubString->OUStringCaolán McNamara2-3/+3
Change-Id: I32c867e43bfb50a57261414107caae60f616d703
2013-04-26Resolves fdo#62673 Table cells non-editable on cell mergekarth1-0/+12
Change-Id: I2d9244115d08e31b46dbe1a4998e6a763ee38361 Reviewed-on: https://gerrit.libreoffice.org/3273 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-25add borders to category and format listboxesCaolán McNamara1-2/+6
Change-Id: Ic53084ded75f9c9000d5768de12953e3b339908e
2013-04-25fdo#62088: Fix crash on master page switch too.Jan Holesovsky1-0/+3
This is actually a regression caused by 1165aac95b8e44f41fc16a44bfec4c1c05801ac8, where a confusing code was removed, that should have stayed there. Re-introduced in a readable way. Change-Id: Ib99c19c04cf3b098097cef8da5da63b8cc7dd130
2013-04-25Rumanian->Romanian, former now considered archaicCaolán McNamara1-1/+1
Change-Id: I9a47317bf7251dfef5f5d7f2cd6b817792114289
2013-04-25update pchThomas Arnhold2-2/+5
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-25Fix warning: unused variable 'assignment' [loplugin]Tor Lillqvist1-1/+0
Change-Id: I0bf331044d8971cc39ee22b909649aecff1611c3
2013-04-24adapt code to protect sheet .uiCaolán McNamara1-1/+12
Change-Id: Ic3c375e87cf89a3956f3703c6facbcbe5ffd5d58
2013-04-24fix fdo#60910 FILESAVE loses fontwork/shape objectsLuke Deller1-0/+1
This reinstates one line of code which was removed by 7fec8dfcaca4efc92516f9af51a3157f1a11ccd7. Change-Id: Ie2af33914d17a46b7118b8b804aadc0aa3bc5d90 Reviewed-on: https://gerrit.libreoffice.org/3596 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-24gbuild: do not deliver UNO API headersDavid Tardon1-3/+2
There is no reason to copy 1000s of files to $(OUTDIR)/inc when we can easily include them from $(WORKDIR). Change-Id: I133ab6506ba76af132143b982f056e652c09d8f5 Reviewed-on: https://gerrit.libreoffice.org/3505 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop empty use_packages callsDavid Tardon5-15/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon6-20/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon1-1/+0
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen529-65174/+3
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23fdo#46808, remove unnecessary XMultiServiceFactory fieldsNoel Grandin2-29/+22