27#ifndef NCWordWrapper_h
28#define NCWordWrapper_h
70 const std::wstring &
origText()
const {
return _origText; }
111 std::wstring
nextLine( std::wstring & unwrapped );
117 std::wstring _origText;
118 std::wstring _wrappedText;
Definition NCWordWrapper.h:39
static std::wstring normalizeWhitespace(const std::wstring &orig)
Definition NCWordWrapper.cc:103
void setLineWidth(int width)
Definition NCWordWrapper.cc:58
void setText(const std::wstring &origText)
Definition NCWordWrapper.cc:48
int lines()
Definition NCWordWrapper.cc:78
void wrap()
Definition NCWordWrapper.cc:145
std::wstring nextLine(std::wstring &unwrapped)
Definition NCWordWrapper.cc:172
NCWordWrapper()
Definition NCWordWrapper.cc:39
int lineWidth() const
Definition NCWordWrapper.h:75
const std::wstring & wrappedText()
Definition NCWordWrapper.cc:86
const std::wstring & origText() const
Definition NCWordWrapper.h:70
void ensureWrapped()
Definition NCWordWrapper.cc:94
void clear()
Definition NCWordWrapper.cc:68