[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Question about Custom Text Objects in KWord
From:       David Faure <faure () kde ! org>
Date:       2005-12-11 19:23:49
Message-ID: 200512112023.50243.faure () kde ! org
[Download RAW message or body]

On Saturday 10 December 2005 18:48, Gary Cramblitt wrote:
> When I call parag->string()->toString(), I sometimes get "#" characters in the 
> returned string.  I understand these are coming from KWAnchor, KoTextCustom 
> objects embedded in the paragraph.  Aside from replace("#", ""), is there a 
> way to strip these out of the string?

Use parag->toString() instead, which takes care of replacing custom items with ' '
and variables by their value.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic