summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-08SwWW8ImplReader: unused membersMiklos Vajna
Leftover from commit 0ec0ec267986644084baaa5bda5ba917dc5744df (i#93570 DOC import: handle commented text ranges via RES_FLTR_ANNOTATIONMARK, 2014-12-30). Change-Id: Ifc2547ccb6bc91687ad61896b72367320210a837
2015-12-08Access2Base - Dynamic combo list in PromptFormat()Jean-Pierre Ledure
to refelect various list of output formats in DoCmd.OutputTo() action Change-Id: Ibb95020efa2995cde168efbd516f9b1e49d832a3
2015-12-08tdf#96202 Revert accelerator back to 'I'Yousuf Philips
Change-Id: Ie07d0b27c18a9cd66e6afd32163f773340967a6b Reviewed-on: https://gerrit.libreoffice.org/20437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-12-08SVG: Revert previous commits for tdf#95332 and tdf#95733Xisco Fauli
I was wrong for thinking that there was a problem when elements inside def elements were not written. Actually, Cristina's commit ( 5e27d23d7e665cc0aeac8fc9ea2236bf8bc088ff ) was correct as elements inside defs don't have to be written at least they're refered by <use> element, which isn't supported in Libo right now. Working on implementing support for use element Change-Id: Id0b8d8e9b27887f75cc961881daeb82089b2e62b Reviewed-on: https://gerrit.libreoffice.org/20333 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-12-08writerfilter: loplugin:stringconstantMiklos Vajna
Change-Id: Idb0865f4d0db6c4eda33810ab2ef4cff49bc85d1
2015-12-08DOC import: handle smart tags via RES_FLTR_RDFMARKMiklos Vajna
The idea is that a subset of the smart tags will be mapped to RDF statements, as done already in the DOCX importer. Change-Id: I46e0dad37a3905fe591cba0f710156f27be05ff4
2015-12-08DOC import: tokenize PlcfBkfFactoid and PlcfBklFactoidMiklos Vajna
So that later SwWW8ImplReader can read these smart tag position structures in a way similar to bookmarks. Change-Id: I0e1dc30d48bbb6641a82d777f6569f59dd922e16
2015-12-08sw: add RES_FLTR_RDFMARKMiklos Vajna
This is similar to RES_FLTR_ANNOTATIONMARK, except that it'll be used for WW8 import's smart tag bookmark needs. First just add code so that WW8 import can put this this attribute on the import stack, the actual handling of the attribute has to be implemented later. Change-Id: I92e3fac02496e3f5e7a6ea27f0da91dcd47769cc
2015-12-08Remove apparently unnecessary checksStephan Bergmann
...they don't cause any change in behavior, likely they predated Noel's figuring out the template part of containsWindowSubclass Change-Id: I0d5b6bd7f228acef9a0ce1c85fe98fbab89bd7a8
2015-12-08Move icon rotation/flip handling from ToolbarManager to vcl's ToolbarSamuel Mehrbrodt
This enables rotatad/flipped icons in the Sidebar and other non-toolbar places (tdf#85767) Change-Id: I034394ae6f9b8d91ef5a376a43eda587098f064e Reviewed-on: https://gerrit.libreoffice.org/20403 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-08tdf#54584: adjust skip-slash condition, allow unterminated quoteMike Kaganski
Experimenting with different non-alpha characters in front of field, most of them aren't allowed and result in field not recognized by MS Word: #$%&'()*+,-./:;<>?@[]^_`{|}~ Besides, if backslash "\" is followed by another backslash or space, it is illegal, too. This patch takes care of it. On the other side, not closing quotes is allowed by MS Word. This patch allows this, too. The patch does not handle another allowed field code "=2+2". This should be done in another commit. Change-Id: I842fe59c026b68977e61a7ae0b5495c02803ad83 Reviewed-on: https://gerrit.libreoffice.org/20435 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-08Related: tdf#94377 RTF export: support multiple paragraphs in editeng textMiklos Vajna
Write a \par at the end of each paragraph instead of writing one at the end of the whole text only. Change-Id: I984b31d4ae3d2e728c993b25bfde761dcad063ae
2015-12-08loplugin:nullptrStephan Bergmann
Change-Id: I8a1678d1677dbff82b6785834e63007c2c3e9924
2015-12-08unused GenericSalLayout::GetTextRect()Juergen Funk
is removed here: 449d272daf5e99f039cdfdd25f020bd798fb9e1d Change-Id: I2c49d39c5e596f4462d3c29a215c715d9927cf6f Reviewed-on: https://gerrit.libreoffice.org/20448 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-08cid#1326591, cid#1326590 useless calljan iversen
The call does not do anything, removed. Change-Id: I24e37ec47551f7dc47a4be6f717f95800624500f Reviewed-on: https://gerrit.libreoffice.org/20392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-08Fix "missing member of radiobutton group" for selecttypepage.uiJulien Nabet
Regression from 4e3086da3e9873f53b5b9e1d5e511f9f77aaf62f Change-Id: I7ab6df12b8cc0eb952771f1631640dce52d7dee1 Reviewed-on: https://gerrit.libreoffice.org/20460 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-12-08Related: tdf#71622 compress more gfx in odf streamsThorsten Behrens
Except for jpeg and png, most natively-stored image fileformats compress rather well with zlib. adding a number of vector and pixel formats. Change-Id: I97407a98f620520b0d11552911d2339bf004dc5b Reviewed-on: https://gerrit.libreoffice.org/20461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-07merge libmwaw type/filter defs (Calc)David Tardon
Change-Id: Ic0f01d2f71cad69bea0944c62fb0832bc6caa252
2015-12-07last arg of SetOutputSizePixelScaleOffsetAndBuffer no longer usedCaolán McNamara
Change-Id: I65e7e82e46c5751617b00a39df47d864b29b6ce1 Reviewed-on: https://gerrit.libreoffice.org/20441 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-07Resolves: tdf#96224 don't fiddle around with a separate alpha bufferCaolán McNamara
use a format that supports alpha directly now we can unify the android and linux cases as well and drop the BGRX support Change-Id: I3c845913691d8194822423005d308cfa7ef13ec3 Reviewed-on: https://gerrit.libreoffice.org/20440 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-07Revert "svg export: no more an experimental feature"Andras Timar
This reverts commit 59cd3f4ddb88ef1326166902ffe61d6050bfcd99.
2015-12-07Revert "svg-export: fix wrong conflict resolution"Andras Timar
This reverts commit 7485ea8b917c1e4da7982611c70b0f3d0a46b27a.
2015-12-07svg-export: fix wrong conflict resolutionMarco Cecchetti
Change-Id: Ibf3d054558c1fbf208b6d1a4683d52837b2bc183 Reviewed-on: https://gerrit.libreoffice.org/20447 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-07svg export: no more an experimental featureMarco Cecchetti
Removed experimental feature check. Single slide exporting works as for multi slides exporting. Conflicts: filter/source/svg/svgexport.cxx Change-Id: I3b4f100f5ab9c76896e7f52d65ec27c364216c21
2015-12-07Revert "svg-export: fix wrong conflict resolution"Andras Timar
This reverts commit ab794090190e12daa4dab209889c084cd8e8b6f9.
2015-12-07svg-export: fix wrong conflict resolutionMarco Cecchetti
Change-Id: Ibf3d054558c1fbf208b6d1a4683d52837b2bc183 Reviewed-on: https://gerrit.libreoffice.org/20447 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-07fix build, don't pass int as sal_uInt16, tdf#34449 follow-upEike Rathke
Change-Id: Ia813b4d4296235f273c826444fcce3e9217cdee7
2015-12-07loplugin:defaultparamsStephan Bergmann
Change-Id: I1a55166217ace26c95f73f710d88d787fdc4e007
2015-12-07Avoid -fsanitize=signed-integer-overflowStephan Bergmann
...later on during loading of (a local copy of) <https://wiki.documentfoundation.org/images/5/50/BH40-BaseHandbook.odt> at > sw/inc/swrect.hxx:249:48: runtime error: signed integer overflow: 1080100 + 9223372036853697509 cannot be represented in type 'long' > SwRect::Bottom() const sw/inc/swrect.hxx:249:48 > SwTextFly::CalcMinBottom() const sw/source/core/text/txtfly.cxx:996:31 > SwTextFly::GetMinBottom() const sw/source/core/inc/txtfly.hxx:339:45 > SwTextFormatter::CalcBottomLine() const sw/source/core/text/itrform2.cxx:1917:20 > SwTextFrame::FormatAdjust(SwTextFormatter&, WidowsAndOrphans&, int, bool) sw/source/core/text/frmform.cxx:1092:26 > SwTextFrame::_Format(SwTextFormatter&, SwTextFormatInfo&, bool) sw/source/core/text/frmform.cxx:1552:13 > SwTextFrame::_Format(OutputDevice*, SwParaPortion*) sw/source/core/text/frmform.cxx:1662:5 > SwTextFrame::Format(OutputDevice*, SwBorderAttrs const*) sw/source/core/text/frmform.cxx:1809:17 > SwContentFrame::MakeAll(OutputDevice*) sw/source/core/layout/calcmove.cxx:1391:17 > SwFrame::PrepareMake(OutputDevice*) sw/source/core/layout/calcmove.cxx:307:21 > SwFrame::Calc(OutputDevice*) const sw/source/core/layout/trvlfrm.cxx:1798:9 > SwObjectFormatterTextFrame::FormatAnchorFrameAndItsPrevs(SwTextFrame&) sw/source/core/layout/objectformattertxtfrm.cxx:753:9 > SwFlyAtContentFrame::MakeAll(OutputDevice*) sw/source/core/layout/flycnt.cxx:419:21 > SwFrame::PrepareMake(OutputDevice*) sw/source/core/layout/calcmove.cxx:341:5 > SwFlyFrame::Calc(OutputDevice*) const sw/source/core/layout/fly.cxx:2665:9 > SwLayAction::FormatLayoutFly(SwFlyFrame*) sw/source/core/layout/layact.cxx:1428:9 > SwObjectFormatter::_FormatObj(SwAnchoredObject&) sw/source/core/layout/objectformatter.cxx:331:17 > SwObjectFormatterTextFrame::DoFormatObj(SwAnchoredObject&, bool) sw/source/core/layout/objectformattertxtfrm.cxx:134:9 > SwObjectFormatter::_FormatObjsAtFrame(SwTextFrame*) sw/source/core/layout/objectformatter.cxx:453:19 > SwObjectFormatterTextFrame::DoFormatObjs() sw/source/core/layout/objectformattertxtfrm.cxx:336:20 > SwObjectFormatter::FormatObjsAtFrame(SwFrame&, SwPageFrame const&, SwLayAction*) sw/source/core/layout/objectformatter.cxx:193:20 > SwLayAction::FormatContent(SwPageFrame const*) sw/source/core/layout/layact.cxx:1651:19 > SwLayAction::InternalAction(OutputDevice*) sw/source/core/layout/layact.cxx:572:31 > SwLayAction::Action(OutputDevice*) sw/source/core/layout/layact.cxx:352:5 > SwLayIdle::SwLayIdle(SwRootFrame*, SwViewShellImp*) sw/source/core/layout/layact.cxx:2159:13 > SwViewShell::LayoutIdle() sw/source/core/view/viewsh.cxx:728:19 > sw::DocumentTimerManager::DoIdleJobs(Idle*) sw/source/core/doc/DocumentTimerManager.cxx:119:17 > sw::DocumentTimerManager::LinkStubDoIdleJobs(void*, Idle*) sw/source/core/doc/DocumentTimerManager.cxx:81:1 > Link<Idle*, void>::Call(Idle*) const include/tools/link.hxx:84:45 > Idle::Invoke() vcl/source/app/idle.cxx:25:5 > ImplSchedulerData::Invoke() vcl/source/app/scheduler.cxx:40:5 > Scheduler::ProcessTaskScheduling(bool) vcl/source/app/scheduler.cxx:170:9 > ImplYield(bool, bool, unsigned long) vcl/source/app/svapp.cxx:519:5 > Application::Yield() vcl/source/app/svapp.cxx:535:5 > Application::Execute() vcl/source/app/svapp.cxx:471:9 > desktop::Desktop::DoExecute() desktop/source/app/app.cxx:1284:5 > desktop::Desktop::Main() desktop/source/app/app.cxx:1609:17 > ImplSVMain() vcl/source/app/svmain.cxx:170:19 > SVMain() vcl/source/app/svmain.cxx:207:16 > soffice_main desktop/source/app/sofficemain.cxx:96:12 > sal_main desktop/source/app/main.c:48:15 > main desktop/source/app/main.c:47 ...whatever those hardcoded odd values used here, the code is the same ever since 84a3db80b4fd66c6854b3135b5f69b61fd828e62 "initial import" Change-Id: I7f10034f97c52256d873b86a683c9204b944e704
2015-12-07No, "rtl::Reference<VclStatusListener<Button>> mpStatusListener;" is fineStephan Bergmann
...as a member of ImplCommandButtonData (vcl/source/control/button.cxx), no need to falsly warn "OutputDevice subclass 'rtl::Reference<VclStatusListener<Button>>' declared as a pointer member, should be wrapped in VclPtr [loplugin:vclwidgets]" Probably loplugin:vclwidgets should enable shouldVisitTemplateInstantiations() and not try to second-guess whether an OutputDevice can be a template argument. Change-Id: Ia8feb1b1d7504941c35dfbf0aa02dc6a7dd818a0
2015-12-07svg-export: added a new bullet typeMarco Cecchetti
The new bullet type is used in a pptx document. Change-Id: I0bf970c2a25fb21b666e263b67023c299041e4cf Reviewed-on: https://gerrit.libreoffice.org/20439 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-07Do turn on GL_BLEND for the GLyphy crackTor Lillqvist
That is what GLyphy's demo_glstate_setup() does, and it does seems to help a bit. Change-Id: I03703def86558a8689c427bcbb62cd218b9a111f
2015-12-07DOC import: tokenize smart-tag bookmark offsets/sizesMiklos Vajna
Change-Id: I4a37651c3cf78ae818d1018abb6cc8e69ffd71b0
2015-12-07tdf#84909 Improvements to impress and draw toolbarsYousuf Philips
Change-Id: I50f1ee5fc0ff9a53532954dfc4939a7d5f18f575 Reviewed-on: https://gerrit.libreoffice.org/20280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-12-07tdf#91909 Add shortcuts to slide navigationYousuf Philips
Change-Id: If9819ec8065d0bdce9604ed74b7b0571b24580b0 Reviewed-on: https://gerrit.libreoffice.org/20070 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-12-07tdf#81475 Improvements to writer's toolbarsYousuf Philips
Hide entries in the standard and table toolbars and add useful entries into the formatting, object, and bullets toolbars. Also make bullets and table toolbars appear on a different line than the drawing toolbar. Change-Id: I307e8f289fc5b1d8c7dd074989ffc0500697073f Reviewed-on: https://gerrit.libreoffice.org/20279 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-12-07Breeze Icons: add displaymode_** iconsandreas kainz
Change-Id: I45929bd334ed73df425f8e256429acf9b60a8c98 Reviewed-on: https://gerrit.libreoffice.org/20351 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-12-07unused Picture::Type()Juergen Funk
and removed unused TxtBox::Type(), too Change-Id: I4a1d7f1cbbc5bb4d929fe7420db8f827dd8b142d Reviewed-on: https://gerrit.libreoffice.org/20424 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-12-07tdf#96250 desktop: empty str is the same as 0 str in jsonToPropertyValues()Miklos Vajna
Change-Id: I77306dc998afc53bb1d5710a8d1ae68717f945d1
2015-12-07tdf#34449 : ability of deleting borders of a cell from adjacent cellDennis Francis
Change-Id: Ieb13a9ea88faa220d1ee352b0e47268a7fda5f38 Reviewed-on: https://gerrit.libreoffice.org/19715 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-12-07tdf#74834 Expert Configuration option to disable thumbnails in StartCenterPierre Sauter
If Office::Common::History::RecentDocsThumbnail is set to false, no new thumbnails will be created and stored to registrymodifications.xcu. Existing thumbnails in registrymodifications.xcu or the documents will not be read and displayed. Change-Id: If9527aa0d336a6b77b4c9bb0cc09143ffa1725d8 Reviewed-on: https://gerrit.libreoffice.org/20338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-07Undef RGB where it was defined, not where it gets usedStephan Bergmann
Change-Id: I1e122bb7c32850dfdd74de029c8d92a328207a95 Reviewed-on: https://gerrit.libreoffice.org/20430 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-07improve error message for nonexist. pathDavid Tardon
... which is currently somewhat misleading, because it mentions libmerged.so. Change-Id: I1ab21ce0fe2f94eba1831c2c977d900827f320f1
2015-12-07tdf#96243 don't crash if LibO install. wasn't foundDavid Tardon
Change-Id: I538e7238feb711a7d71faf745033264894f688f4
2015-12-07tdf#96070: Just give up on glyph caching for non-horizontal textTor Lillqvist
Change-Id: I60f54523f927e97d739a4c735e54b2cc3400aff3
2015-12-07fix typoDavid Tardon
Change-Id: I2889ea7e0ca266675b05b8d9aff6113c8f6e9634
2015-12-07update the appstream files to most recent version of the specDavid Tardon
Change-Id: I6b23be2af3ab28431266075da389b62372508961
2015-12-07Make buttonstatuslistener a generic listener for any widgetsSamuel Mehrbrodt
Change-Id: I966b06e1169f8a06d08be811f78e98a2e3d7580c Reviewed-on: https://gerrit.libreoffice.org/20401 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-07Clean up use of libxml2 BAD_CASTStephan Bergmann
Change-Id: Ia48681f1be4fb3c51ea6805a2dab1b8b957540d0
2015-12-07tdf#54584: allow backslash before field type in RTF and DOCXMike Kaganski
In some RTF and DOCX files, field type may be prepended with backslash. It seems not strictly standard-conformant (at least not to [MS-RTF]). Still, MS Word reads these fields OK. This patch allows LO to read them, too. Change-Id: I1f6bbdd9d57adbea8882d078761dd97298ca03b3 Reviewed-on: https://gerrit.libreoffice.org/20420 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>