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;
124 #endif // NCWordWrapper_h static std::wstring normalizeWhitespace(const std::wstring &orig)
Definition: NCWordWrapper.cc:103
const std::wstring & origText() const
Definition: NCWordWrapper.h:70
void setText(const std::wstring &origText)
Definition: NCWordWrapper.cc:48
void wrap()
Definition: NCWordWrapper.cc:145
void ensureWrapped()
Definition: NCWordWrapper.cc:94
std::wstring nextLine(std::wstring &unwrapped)
Definition: NCWordWrapper.cc:172
const std::wstring & wrappedText()
Definition: NCWordWrapper.cc:86
int lines()
Definition: NCWordWrapper.cc:78
NCWordWrapper()
Definition: NCWordWrapper.cc:39
Definition: NCWordWrapper.h:38
void setLineWidth(int width)
Definition: NCWordWrapper.cc:58
void clear()
Definition: NCWordWrapper.cc:68
int lineWidth() const
Definition: NCWordWrapper.h:75