summaryrefslogtreecommitdiff
path: root/sw/inc
AgeCommit message (Collapse)Author
2015-11-12sw lok: forward key events to annotation window if necessaryMiklos Vajna
And to allow proper reaction by the annotation windows, inform them when a LOK callback is registered. With this, it's possible to modify the contents of annotations via LOK. Change-Id: I4489941512197880940e20cbaeb0b47a7a6f26fc
2015-11-12sw lok: route SwEditWin::MouseButtonDown to SidebarTextControl if necessaryMiklos Vajna
LOK sends all mouse events to SwEditWin, so add initial hit testing in its mouse handler to forward the mouse events to the right VCL widget. Change-Id: I67e8e19f47156261fd7c7eafd4e63f743e0c4ce9
2015-11-12bin/rename-sw-abbreviations.sh run to fix few re-introduced abbrvtns.Jan Holesovsky
Change-Id: I11d282c3be86feb57f5279220d84d8a121df0dbd
2015-11-12sw: prefix members of SwViewOptionMiklos Vajna
Change-Id: Ia86aac05e67990bd47400dc7aabbedde278e4fd1
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-11Implement LOK_CALLBACK_MOUSE_POINTERAndrzej Hunt
Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10 Reviewed-on: https://gerrit.libreoffice.org/19883 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
2015-11-11remove b_mInDocDTOR flag altogetherBjoern Michaelsen
Change-Id: I09ca56854f23fe1fc452648042990bee29082f88
2015-11-11reduce branch depth in SwModify dtorBjoern Michaelsen
Change-Id: I82046cfc191425dc830125944214293b5b9197f9
2015-11-11remove IsInDocDTOR() as a public memberBjoern Michaelsen
Change-Id: Ic4d29d6904d5631dbf2f755886ac9122c303553f
2015-11-10sw doc model xml dump: show comment textMiklos Vajna
Change-Id: If15ca89f2b7c54441f076eb233c4e1414dac25c0
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-11-10sw: prefix members of SwStyleNameMapperMiklos Vajna
Change-Id: I374caad0258624e9794993a01ab39c60fbb65a1a
2015-11-10sw: prefix members of SwBoxAutoFormatMiklos Vajna
Change-Id: I9849dcd31dae2e5db9ce3178640d2bf605b78238
2015-11-07Misc tweaks and cleanups.Ashod Nakashian
Streamlined a couple of hotspots and some minor cleanups. Change-Id: I85a9423e03f7e20ce78736a44d668da859a443cd Reviewed-on: https://gerrit.libreoffice.org/19720 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-06sw: prefix members of SwHTMLTableLayoutMiklos Vajna
Change-Id: I8a0563551f1ee71e9ab9359c7b75ff5855b436b5
2015-11-06com::sun::star->css in sw/incNoel Grandin
Change-Id: I6ffdb1deaa32156c65f997a1a1056928b7cd863d Reviewed-on: https://gerrit.libreoffice.org/19803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05sw tiled rendering: initial annotation supportMiklos Vajna
Change-Id: I4fcb05f8a58965341cf44a1b7e2367b5cbff981d
2015-11-05fix tdf#95488, crash in report wizardNoel Grandin
This reverts commit bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 "loplugin:mergeclasses" Change-Id: Ib65459ab45cd4cefa859ed75f9ddc4f070879b1d
2015-11-04sw: prefix members of SwRegionRectsMiklos Vajna
Change-Id: Ib59572c45a1404840c379318e4987f5223edca15
2015-11-04sw: prefix members of SwSelUnionMiklos Vajna
Change-Id: I636454036f007dbf568f74b17e1c4c79fb36f40b
2015-11-03sw: prefix members of SwAttrSetMiklos Vajna
Change-Id: I0f38c87d46f913a3bbb5f3e40b6ae71c515a8c9c
2015-11-03sw: prefix members of SwAttrPoolMiklos Vajna
Change-Id: I3f55c4b8b12832b82e071d8cf62b2aa55f8913e7
2015-11-02sw: prefix members of SwViewOptionMiklos Vajna
Also rename nPagePrevRow/Col to nPagePreviewRow/Col, so that it's more clear that they are about the page preview row/col, not about some previous row/col. Change-Id: I5f1f47edde3dbe6bcce14a654398f8a0be2fa79f
2015-11-02sw: prefix members of SwCollConditionMiklos Vajna
Change-Id: Idf7956c2178093bcaba3ad1093b8d0a54e46aaca
2015-11-02sw: prefix members of SwContentNodeMiklos Vajna
Change-Id: Iecb7cd82d88bd1ee82f074e17319e5ce095e2690
2015-11-02sw: prefix members of SwDrawFrameFormatMiklos Vajna
Change-Id: I0d00ca7727e0756030830cd732655b2a22b900d6
2015-11-01tdf#80657 Adding new field to jump to specific page.Gulsah Kose
This patch is not completed. It adds a dropdown field to toolbar. When you click it, the page preview focuses third page (hard coded). This patch's purpose is getting information from developers how to add numbers to dropdown field. -- v2: Removed unnecessary MV_SPECIFIC_PAGE case. v3: Added dropdown field and defined new controller for new field. v4: Implemented page focus who user want. v5: Used NumericField instead of Combobox and added page count control v6: Used nSlotId instead of SID_JUMP_TO_SPECIFIC_PAGE in order to fix macOs build error. Change-Id: I722fbffcc72a1bcee70065e2e9369b73ab27f100 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/19335 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-30sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I95ce84f7e82dc03233878de4324f2cb5c282a8aa
2015-10-30sw: prefix members of SwFindNearestNodeMiklos Vajna
Change-Id: Iea2094f736837f5aecde2d9ff810dffb062d2315
2015-10-30sw: prefix members of SwFormMiklos Vajna
Change-Id: I91c1aa5149bff9c6489ad6f1a68818b502d95966
2015-10-30sw: prefix members of SwModifyMiklos Vajna
Change-Id: Ia8d44e5c8a987aa1c0cc38e885eadd595b70a898
2015-10-30sw: prefix members of SwNodeMiklos Vajna
Change-Id: I3ce33c8ea0c09948785621785d199ece6eda128a
2015-10-29sw: prefix members of SwNodesMiklos Vajna
Change-Id: I51a8161eeaa781ccace08605b97a0092f972b3bf
2015-10-29sw: prefix members of SwNumFormatMiklos Vajna
Change-Id: I71c2004b411831ce869331ab7251683f78428b2b
2015-10-29sw: prefix members of SwPosFlyFrmMiklos Vajna
Change-Id: I08a2c2bb8ebd8cb2adf25b23fa57a5c5441fcfea
2015-10-29sw: prefix members of SwStartNodeMiklos Vajna
Change-Id: Ibb3b33681f4c33794e07b40989709e8f292f2084
2015-10-28vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
2015-10-28sw: prefix members of SwTOXMarkMiklos Vajna
Change-Id: Id8cc41ab9af5d6fe9934f97927c7e3d1e7f6ebf3
2015-10-28sw: prefix members of SwTOXTypeMiklos Vajna
Change-Id: I8500dda538a82a920dd6164251bf193489b12a15
2015-10-28sw: prefix members of SwTableBoxMiklos Vajna
Change-Id: If4c4a043f3d9c2e1e89eb4199d33cd39f502c56e
2015-10-28sw: remove SwDBTreeList_Impl::m_aConnectionsMichael Stahl
... which actually does nothing since commit fca027b0bd76a76b50f4d6d667d2d479417a74a6 but was dutifully converted to a boost::ptr_vector. Change-Id: I69186d6ba7d90fb2f94b417fede3a907811c32c0 Reviewed-on: https://gerrit.libreoffice.org/19518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27Optimised UnoCrsrTbl cleanup for faster doc savingAshod Nakashian
SwDoc has weak_ptr list to notify UnoCrsr instances when the doc is about to die. These were updated when each UnoCrsr instance was destroyed. The first performance issue is the use of a list. This no doubt is done to avoid the overhead of removing items at arbitrary position from a vector. Performance tests show vector is faster with a large document and ~10k UnoCrsr instances. More important, there is no need to clean up the references as frequently as when each UnoCrsr is destroyed as they are rarely referenced at all. Having outdated references is no issue either. The new logic uses a vector and cleans up only after saving a document and before saving UnoCrsr instances. Saving ODT files is now significantly faster for large documents (100s of pages). Change-Id: I3895d9d80d174cda9c94b94837e2149e9fadcb42 Reviewed-on: https://gerrit.libreoffice.org/19604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-27don't allocate uno::Reference on the heapNoel Grandin
There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27sw: prefix members of SwTableFormulaUpdateMiklos Vajna
Change-Id: Id9e18c67a4fa6e3646ac33cd616838819d1f10d8
2015-10-27sw: prefix members of SwTableLineMiklos Vajna
Change-Id: I89c434ba488963fdbaa9025bdd1dd420ab255dac
2015-10-27sw: prefix members of SwTableNodeMiklos Vajna
Change-Id: Ibbcafef60e5074ef8b9e86bd6709bcfa50a5068d
2015-10-27inline SvBaseLinkRef typedefNoel Grandin
Change-Id: I0684db21c260e38d1d2e32eb5924cf7e25212b4d
2015-10-26lok::Document::paste: check if the given mime type is supportedMiklos Vajna
Change-Id: Ib59ea43700815c53cdd4be819e2e9cf35c6f89e9
2015-10-26sw: prefix remaining members of SwTextFormatCollMiklos Vajna
Change-Id: Ife3a2c9dae17d3c8f2972fb7d65682b6d6778ed1
2015-10-26sw: prefix members of SwUnoCollectionMiklos Vajna
Change-Id: I015decadc51f73085b2732fd6702c7c3af18e6e4