summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2015-12-12No need for a separate <vcl/lstbox.h>Tor Lillqvist
Change-Id: Ib8d0e3d240e693c678d575b4791f69ca760919ec
2015-12-11No need for a separate <vcl/combobox.h>Tor Lillqvist
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
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-07Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_APIMiklos Vajna
Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d
2015-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-28tdf#94088 add import of HTML inline graphicsArmin Le Grand
Related: fdo#63211 for saving. This one adds the import side, plus fallbacks to use the new FillStyle attributes in HTML im/export in a SvxBrushItem. Also added graphic import for inline graphics. Comment markers inserted at places where functionality may be added in the future when the new FillStyle attributes would be more used in this content. Unit test checks PageBackground and ParagraphBaground import. Change-Id: I3f198677db553ad198e0add3162603a4735398f1 Reviewed-on: https://gerrit.libreoffice.org/20129 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-11-26SfxStyleSheetBasePool::Count returns sal_uInt16Stephan Bergmann
Change-Id: I2485fd38d03bd63ae83e3643771767e533c7da83
2015-11-24loplugin:unusedfields in include/comphelper,include/editengNoel Grandin
Change-Id: I619c2cf1765df97159fc52ee84e0e9e8d16a22fe
2015-11-20loplugin:sallogareasStephan Bergmann
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-19editeng lok: invalidate on scrollMiklos Vajna
E.g. when a Witer comment has long enough contents to get scrolled, the desktop case repaints its contents by vcl::Window::Scroll(), followed by a vcl::Window::Update(), i.e. vcl::Window::Invalidate() is not called. The result of this in case of tiled rendering is that no tile is repainted, so call vcl::Window::Invalidate() after scrolling manually. A generic VCL-level invalidate-after-scroll is not wanted, as the scrolling of the document contents and the main document window is not in sync when tiled rendering. Change-Id: I74296a0f0e52c92cf3db6aefa73f28bb2b202871
2015-11-18editeng: wrong default item for EE_PARA_FORBIDDENRULESMichael Stahl
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
2015-11-18editeng: wrong default item for EE_PARA_HANGINGPUNCTUATIONMichael Stahl
Change-Id: Ib23b5847625964c701bda23d7c58ad32c6024c9b
2015-11-18use unique_ptr for pImpl in editeng/Noel Grandin
Change-Id: I43ae9f706db15594b3a0c5cba41436d009588393
2015-11-17Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-17editeng: fix SvxTableField::operator==()Michael Stahl
This was erroneously returning false due to inverted dynamic_cast check, causing "svl/source/items/itempool.cxx:750: unequal items in Put(): no operator==?, with ID/pos 4048" (regression from fa91dd31f39a24329d288d4e1cda28db3a16af0d) Change-Id: I9c5b49150470fc78d58ecd2a2e990637627bd591
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-13editeng lok: respect origin of map mode for TEXT_SELECTIONMiklos Vajna
With this, selections of Writer comment text show up at the correct position, not at the top left corner of the window. Change-Id: If865503d9a02a27730e382d65c42c706dd533a93
2015-11-13editeng lok: respect origin of map mode for INVALIDATE_VISIBLE_CURSORMiklos Vajna
Writer comments are separate widgets, but we want to have coordinates in absolutes twips, so give Writer a chance to inform us about the delta. For now only do this in case the map unit is twips, as Impress sets the origin already. Change-Id: Idf340944165e44b0888c00965d6be7798712ff76
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I49cf179016a0690cb87bc12880da8b1824ac01cc
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Iee1e64d22e799653bc58d6a72c57c55787e45d84
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I2b4cdb3809de0e9c69253d2cd05714e15fdc8913
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I5b3d8e0e20938d8e66045ea6282f37afe29474e2
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I7a49ed58cb20c365308db703c67e43c6687f35e4
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I562b1f7cd1e5e7f7fc03b8f54bd6117255703eb5
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I8fc80274e7eb33c81062f8514f63e6d0682d1b8f
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I212c6b990da655ad7947154ca9e62981b049489e
2015-11-10editeng: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Ifc44041290d44c5e4dcbd9a0882b99fe0f8f62a5
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I9fe00eef7ddcd4a3c87e497a8d62f98e71a0d6d8
2015-11-09EditUndoRemoveChars::GetStr must return a referenceStephan Bergmann
...as ImpEditEngine::ImpRemoveChars (editeng/source/editeng/impedit2.cxx) calls pCurUndo->GetStr() += aStr; Regression introduced with d5e11f5ffb741aabe7e43be78ef764a1f3cafd8e "convert editeng/source/editeng/editundo.hxx from String to OUString." Change-Id: Iab3dd3b861bca715a90e89e3a63a6f298657367d
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: Icf08e69ba327225da816bd57648d4242dcbf3280
2015-11-05fix tdf#95488, crash in report wizardNoel Grandin
This reverts commit bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 "loplugin:mergeclasses" Change-Id: Ib65459ab45cd4cefa859ed75f9ddc4f070879b1d
2015-11-04editeng: Eliminate unecessary padding in classesDaniel Robertson
Edit the order of SvxLRSpaceItem and PaintFirstLineInfo members to remove unecessary padding due to data alignment. Change-Id: Icf2c92ef86a32384e51d1cb6f1a079b10995dfd5 Reviewed-on: https://gerrit.libreoffice.org/19763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-03dynamic_cast fixed againOliver Specht
changes commit 5ae015fc74330ac4c24b67370c59518084f1d201 to check the SvxFieldItem Change-Id: I2c327a0a16fdd3e9341365554e10fb6fe04e1efe Reviewed-on: https://gerrit.libreoffice.org/19757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-03Wrong dynamic_castJulien Nabet
EditCharAttrib doesn't inherit from or related to SvxFieldItem Moreover, we can see lines like this: const SvxFieldItem* pFieldItem = dynamic_cast<const SvxFieldItem*>(pAttr->GetItem()); Change-Id: I9f5710dc4a9a4e71d31538620a9ddc1dedee063f Reviewed-on: https://gerrit.libreoffice.org/19575 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-10-31use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I150f213ab033f5fc1b50abe4e1529292206c9feb Reviewed-on: https://gerrit.libreoffice.org/19689 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-27loplugin:unusedmethodsNoel Grandin
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27Replace boost::bind by lambdas in editeng tree.Mario J. Rugiero
Change-Id: I3e0383757fb50e9223b5b87558e880859de7f396 Reviewed-on: https://gerrit.libreoffice.org/19619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23get rid of erroneous 0x7ff language maskCaolán McNamara
Change-Id: I2b3501967fc0088e0bebf6c366e033c61b652921
2015-10-23more tdf#76964 fall back to primary language via getLanguageCaolán McNamara
Change-Id: I7718ff6f93f704e37e9a046cb07c497b2d533a2a
2015-10-23Resolves: tdf#76964 fall back to primary language via getLanguageCaolán McNamara
instead of bittwiddling which ends up trying to resolve the system language Change-Id: I545bd5e39f99003ddedf3c90031e8b818edc1de2
2015-10-21more removal of com::sun::star typedefsNoel Grandin
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: Id5e399309144b99757e172e69e8e6dbc5fbff365
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I62e0ec63ff09c200e0b621c8b042a976e8ce630e
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19WaE: loplugin:defaultparamsTor Lillqvist
Change-Id: I65f4cc10c4a3dc5ffc21b64d76dc32f1613a0062