summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann2015-04-1366-67/+109
| | | | Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
* android: hide the keyboard when scrolling velocity exceeds 18Tomaž Vajngerl2015-04-131-1/+5
| | | | Change-Id: Ibc3c1e384e73f0ecdd10f5a0c8972a04e4101a59
* android: transition first, then move the viewport to the cursorTomaž Vajngerl2015-04-131-4/+4
| | | | Change-Id: Iabc9b45dc3198472adda9b6fad1d531c41635f00
* loplugin:cstylecastStephan Bergmann2015-04-131-1/+1
| | | | Change-Id: Id0b6e889652094a75bf9d3590c375491bed0a79a
* tdf#90478: Hide explanation on ODF when default format is alienJacobo Aragunde Pérez2015-04-134-7/+20
| | | | | | | | | | | | | | | | | 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>
* tdf#90478: Show the right default format when savingJuan A. Suarez Romero2015-04-135-16/+51
| | | | | | | | | | | | | | | | | | | | | | | 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>
* tdf#90255 FILESAVE:PPTX 'startAt' tag for bullet numbering is not exportedPriyankaGaikwad2015-04-133-0/+32
| | | | | | | | | | | | | | | | | | | Problem Description : XML Difference Original : <a:buAutoNum type="arabicPeriod" startAt="3"/> Roundtrip : <a:buAutoNum type="arabicPeriod"/> Solution : Added export support for 'startAt' tag of <a:buAutoNum> for pptx. Change-Id: If86bce98e222795d851d4a5b3cbb65da5cee85fc Reviewed-on: https://gerrit.libreoffice.org/15028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* loplugin:staticmethodsNoel Grandin2015-04-1345-107/+107
| | | | Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
* loplugin:staticmethodsNoel Grandin2015-04-1325-49/+61
| | | | Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
* loplugin:staticmethodsNoel Grandin2015-04-1336-179/+128
| | | | Change-Id: I33a8ca28b0c3bf1c31758d93238e74927bebde9c
* convert SHOWEXTRAS constants to scoped enumNoel Grandin2015-04-1310-26/+34
| | | | Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
* remove unused constantsNoel Grandin2015-04-131-7/+1
| | | | Change-Id: Ib467f1326b224dbf87282174559c7076d834b7b7
* convert HiddenWarningFact to scoped enumNoel Grandin2015-04-135-11/+11
| | | | Change-Id: I23579d746a3c612de68345794731f1ff2cbdf605
* convert HIDDENINFORMATION_ constants into scoped enumNoel Grandin2015-04-136-30/+38
| | | | Change-Id: I94136c926fc8fa69ce2ce2b97fa34dc984dbe095
* convert SFX_LOADED_ to scoped enumNoel Grandin2015-04-1313-55/+61
| | | | Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea
* Related tdf#34467: Fit to Frame for text boxes is brokenJulien Nabet2015-04-131-1/+1
| | | | | | | | | Wrong Copy-paste Change-Id: Ice000b072a39efc3adc9133b8599c43a93559862 Reviewed-on: https://gerrit.libreoffice.org/15224 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
* DocxAttributeOutput::m_postponedOLE: use std::unique_ptr<>Miklos Vajna2015-04-132-14/+11
| | | | Change-Id: I4b8c6d59f024c2319ab14200118416b0ff23d7f5
* android: move strikeout button after underlineMiklos Vajna2015-04-131-6/+6
| | | | | | So that it matches the order we show on the desktop. Change-Id: Ia5be2a233bc4ab3adc37b013b22784032d58a174
* Add SdXImpressDocument::postKeyEvent() testcase.Miklos Vajna2015-04-131-0/+28
| | | | Change-Id: I87edb9c4693b1634942d8dbda4050920f439cbbf
* Fix failing SdTiledRenderingTest::testSetTextSelection().Miklos Vajna2015-04-131-1/+4
| | | | Change-Id: Ieaeaef249ea15de7cebc1cdb60b4d6130a6b5616
* EditView::SetCursorLogicPosition: first deselect, then get the selectionMiklos Vajna2015-04-131-1/+1
| | | | | | | | | | | | | If you tap to nearly the end of an editeng paragraph, then drag the cursor using EditView::SetCursorLogicPosition(bPoint=true, bClearMark=true) to the end of the paragraph, finally hit enter, the text between the tap position and the end of the paragraph gets deleted. Fix this by calling GetEditSelection() after DeselectAll(), so that the original cursor position (before the drag started) never survives, which gives back the lost text, too. Change-Id: I777256765f1c8f1a7f22c549eaca19e575fdae21
* sw: SetCursorLogicPosition -> SetCursorTwipPositionMiklos Vajna2015-04-133-5/+5
| | | | | | Again, to be consistent with SetGraphicTwipPosition. Change-Id: Id2134de9ec8467b890ff6f26a3d538fbb45ad3e0
* sd: SetCursorLogicPosition -> SetCursorMm100PositionMiklos Vajna2015-04-133-5/+5
| | | | | | To be consistent with SetGraphicMm100Position. Change-Id: Ic6775f9f1350ceb41381b4090cd32c4bd4393e67
* android: tune the viewport moving to cursor position on key inputTomaž Vajngerl2015-04-133-10/+43
| | | | Change-Id: Ie420307f28cc05ca03fabe47f46712f67c6f18fa
* Add SwXTextDocument::postKeyEvent() testcase.Miklos Vajna2015-04-131-0/+18
| | | | Change-Id: I76904ed9596dcb0b6aa70bccd19279573687d30c
* android: hide keyboard on scrolling at a more correct locationTomaž Vajngerl2015-04-132-2/+1
| | | | | | | | | When animation happens the scrollbars appear. This hides the keyboard when the user types and the viewport is repositioned. With this change, trigger the keyboard hiding only when we really do scrolling (panning). Change-Id: I17dc651a6641e807a386d5184868412dd6710a28
* android: reposition the viewport to the cursor at key eventTomaž Vajngerl2015-04-132-0/+13
| | | | Change-Id: I9b18001d0629e203bee41ebbf4a3bd57adfea88e
* android: don't need the cursor position from DocumentOverlayTomaž Vajngerl2015-04-132-8/+0
| | | | Change-Id: I79155f9c5c8df211b35137cc61430cebccb4cfe3
* android: add possibility to move the viewport and zoom + animationTomaž Vajngerl2015-04-133-0/+46
| | | | Change-Id: I294ad30b1fdd7f1a3d5099304cc4f077034567b7
* android: separate layer functionality to DocumentOverlayLayerTomaž Vajngerl2015-04-131-43/+52
| | | | Change-Id: Ie69259dbc5826dafbaebc8eec08163256b459337
* android: rename TextCursorLayer{View} -> DocumentOverlay{View}Tomaž Vajngerl2015-04-136-58/+55
| | | | Change-Id: I53a55e2d30c298e7c34f18b7713de91f3c77d5f2
* android: get cursor position from TextCursorLayer/ViewTomaž Vajngerl2015-04-132-0/+8
| | | | Change-Id: I7629deb6e01ace052ac8bec70202844bc627ea85
* android: add Cursor class for drawing the cursor to the canvasTomaž Vajngerl2015-04-132-23/+57
| | | | Change-Id: I5d8191ffb3d3dd3d3ab11c757a3b7d5dc3fb2e82
* BASIC: Merge BasicLibs with BasicManagerImpl and use boost::ptr_vector.Arnaud Versini2015-04-132-187/+84
| | | | | | | Change-Id: I36fc3ce26b129b11fc2d6d2829a146b3fa57b783 Reviewed-on: https://gerrit.libreoffice.org/15267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
* WaE: variable 'i' is uninitialized when used hereTor Lillqvist2015-04-121-1/+1
| | | | Change-Id: I6c8dc01f5fb81557e3be5289ccd171037e69ae79
* WaE: variable 'i' is uninitialized when used hereTor Lillqvist2015-04-121-1/+1
| | | | Change-Id: Icddd80f9cdc71671061cc430a4c9224e74d06d25
* sal_uInt16 to sal_Int32Matteo Casalin2015-04-123-7/+7
| | | | Change-Id: I163c88ff2d6e8ac2ac14b7ff585bf09f6262270e
* Use size() on array filled by SwEditShell::GetINetAttrs to get number of itemsMatteo Casalin2015-04-124-8/+8
| | | | Change-Id: I10d05c6b635c220f2ec833e4207afbd46651aec8
* Group common codeMatteo Casalin2015-04-121-34/+27
| | | | Change-Id: I9ad05054d40b283042b9775333f8e103668ae7a6
* USHRT_MAX ==> COMPLETE_STRINGMatteo Casalin2015-04-121-2/+2
| | | | Change-Id: Ie8ba1fee144177d48a91143da8bdf6f2ab05e295
* Use more proper integer typesMatteo Casalin2015-04-121-2/+2
| | | | Change-Id: I62235badde4d7b108f7545e07c1afe96df6a3114
* Use auto instead of sal_uInt16Matteo Casalin2015-04-121-1/+1
| | | | Change-Id: Iaaf71bd7e1137ef0536c46c7fa4e78d2a6e6e162
* Simplify by early bail-outMatteo Casalin2015-04-121-15/+9
| | | | Change-Id: Ia98b0712de66315b42fac4bb2978cfa206932523
* return value of SwEditShell::GetGlobalDocContent is always discardedMatteo Casalin2015-04-122-4/+3
| | | | Change-Id: Ib1d6ff89f378aa1e1e311cce5aaf186d843b0bef
* Use more proper integer types and reduce scopeMatteo Casalin2015-04-121-3/+2
| | | | Change-Id: Ib5483f857c4bddd7d0ece6b54e4d57a0347ee13a
* Use more proper integer types and range-for loopsMatteo Casalin2015-04-122-38/+29
| | | | Change-Id: Ie32cef06ecb742e8545e4081d7f99181f5289397
* Avoid else branches after return statementsMatteo Casalin2015-04-121-18/+14
| | | | Change-Id: Ia64d2b6c94c8ead92a2f44a3c554acae5a54917f
* getMaxLookup() can return by value and also be local inlineMatteo Casalin2015-04-121-3/+2
| | | | Change-Id: Ic8975e931992f9010dcb86761d0716c0dffb84ba
* Fix indentation and simplifyMatteo Casalin2015-04-121-7/+9
| | | | Change-Id: I7557fa22ffe14dd62cf6c0a3ab99323118d97b29
* Use range-for loopMatteo Casalin2015-04-121-2/+2
| | | | Change-Id: I971bdbe38b78a9d0cba2ddbf189171fb9a21013f