summaryrefslogtreecommitdiff
path: root/sw/inc/modeltoviewhelper.hxx
AgeCommit message (Collapse)Author
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-08convert EXPAND constants to scoped enumCaolán McNamara
Change-Id: I98a0fecf15337db729b39b80aa9c664abcdd3daa
2014-11-03Resolves: fdo#68347 fix word count with recorded changesCaolán McNamara
also see fdo#46757 a) We need to ignore redline-deleted text, but count redline-added text b) each block of text is denoted by its end position in the model and where that maps to in the view so a hidden portion should record its end point not its starting point, and a non-hidden deleted portion should always record its end point c) when mapping a model position to the view we take the offset of the model pos arg from the block end and use that to offset the mapped block-end view pos to get the final view pos. But for hidden portions that won't make a whole lot of sense, and end up offsetting into prior portions, so map all positions within a hidden portion to the same block-end view pos add regression tests for these cases Change-Id: I45c76bba47fd430bc3bccb5f919502660d415d9e
2014-04-08fdo#69416: make footnote positions available to XProofreaderMichael Stahl
- ModelToViewHelper: add new flag REPLACEMODE, which causes fields and footnotes to be replaced with ZWSP instead of expanding them - SwXFlatParagraph: add FootnotePositions and FieldPositions properties - GrammarCheckingIterator: invoke XProofreader::doProofreading with properties FootnotePositions and FieldPositions Change-Id: I9b66a37aac94f940546e812d8b85a35aebd8181a
2014-03-28Related: fdo#73936 allow ModelToViewHelper to not expand footnotes..Caolán McNamara
but continue to expand fields. No change to anything yet, but should allow this to be reused in SwTxtNode::GetExpandText Change-Id: I4dbfc454d498fc85a918b0e43e68c219cbc37a21
2013-12-02Move functions to right file, prefer sal_Int32 to sal_uInt32 as indexMatteo Casalin
Change-Id: Ie5dca349acf2e163fdb6a47b0ba7af27220f2b2d
2013-11-05fixincludeguards.sh: swThomas Arnhold
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2012-08-03Related: fdo#46757 extend ModelToViewHelper for more casesCaolán McNamara
beef up ModelToViewHelper to be able to optionally expand fields, collapse hidden text and collapse/expand redline deleted text Change-Id: I6d4d0969102ad9699f7fafe091b2eff6a5707bc4
2012-07-26refactor ModelToViewHelper, should have unchanged resultsCaolán McNamara
Change-Id: Ib57f0d6f9491d12ffacada5ec0ae8bc68874c25b
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-10INTEGRATION: CWS changefileheader (1.3.242); FILE MERGEDRüdiger Timm
2008/04/01 15:56:15 thb 1.3.242.2: #i85898# Stripping all external header guards 2008/03/31 16:52:39 rt 1.3.242.1: #i87441# Change license header to LPGL v3.
2007-09-27INTEGRATION: CWS swwarnings (1.2.84); FILE MERGEDJens-Heiner Rechtien
2007/08/24 08:55:51 tl 1.2.84.1: #i69287# warning-free code
2007-06-27INTEGRATION: CWS smarttags3 (1.1.2); FILE ADDEDJens-Heiner Rechtien
2007/04/16 11:14:13 fme 1.1.2.1: #i75130# SmartTags - New API