Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


From Muhammad Haggag <mhaggag@gmail.com>:

Muhammad Haggag has uploaded a new change for review.

Change subject: fdo#32773 LibO thinks comments separate words
......................................................................

fdo#32773 LibO thinks comments separate words

Commments are represented by post-it note fields. When a comment is inserted, a marker character 
(CH_TXTATR_INWORD = 0x2) is inserted in the text node. This marker is not a word character, so it 
results in splitting any word it's inserted into.

This change updates SwTxtNode::BuildConversionMap so that it eliminates post-it note field markers 
when expanding strings. It also updates the ModelToViewHelper functions to work properly with the 
new change, since it's now possible for expanded strings to be smaller than the original node text.

Change-Id: Ia516e6b612becb2dfc2a5922306b89e2d8dd65d3
---
M sw/source/core/txtnode/modeltoviewhelper.cxx
M sw/source/core/txtnode/ndtxt.cxx
2 files changed, 35 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/11/311/1
--
To view, visit https://gerrit.libreoffice.org/311
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia516e6b612becb2dfc2a5922306b89e2d8dd65d3
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Muhammad Haggag <mhaggag@gmail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.