Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

SpecialChars Class Reference

#include <specialchars.h>

List of all members.

Static Public Member Functions

static bool isBreak (QChar c, bool includeColBreak=true)
static bool isBreakingSpace (QChar c)
static bool isExpandingSpace (QChar c)

Static Public Attributes

static QChar OBJECT = QChar(25)
static QChar TAB = QChar(9)
static QChar PARSEP = QChar(13)
static QChar LINEBREAK = QChar(28)
static QChar COLBREAK = QChar(26)
static QChar FRAMEBREAK = QChar(27)
static QChar SHYPHEN = QChar(0xAD)
static QChar OLD_NBHYPHEN = QChar(24)
static QChar OLD_NBSPACE = QChar(29)
static QChar NBHYPHEN = QChar(0x2011)
static QChar NBSPACE = QChar(0xA0)
static QChar ZWNBSPACE = QChar(0x2060)
static QChar ZWSPACE = QChar(0x200B)
static QChar PAGENUMBER = QChar(30)
static QChar BLANK = QChar(32)


Detailed Description

Definition at line 32 of file specialchars.h.


Member Function Documentation

bool SpecialChars::isBreak ( QChar  c,
bool  includeColBreak = true 
) [static]

Definition at line 53 of file specialchars.cpp.

References COLBREAK, FRAMEBREAK, LINEBREAK, and PARSEP.

Referenced by PageItem_TextFrame::layout(), opticalRightMargin(), and PSLib::setTextCh().

bool SpecialChars::isBreakingSpace ( QChar  c  )  [static]

Definition at line 43 of file specialchars.cpp.

References BLANK, and ZWSPACE.

Referenced by PageItem_TextFrame::layout(), and opticalRightMargin().

bool SpecialChars::isExpandingSpace ( QChar  c  )  [static]

Definition at line 48 of file specialchars.cpp.

References BLANK, and NBSPACE.

Referenced by justifyLine(), PageItem_TextFrame::layout(), and LineControl::rememberShrinkStretch().


Member Data Documentation

QChar SpecialChars::OBJECT = QChar(25) [static]

QChar SpecialChars::TAB = QChar(9) [static]

QChar SpecialChars::PARSEP = QChar(13) [static]

Definition at line 36 of file specialchars.h.

Referenced by StoryText::applyCharStyle(), StoryText::applyStyle(), Paragraph_body::begin(), StoryText::charStyle(), LoremParser::createLorem(), ScPageOutput::DrawItem_PathText(), PageItem_PathText::DrawObj_Item(), LegacyMode::drawTextCursor(), ScFace::emulateGlyph(), StoryText::endOfLine(), StoryText::endOfParagraph(), StoryText::eraseCharStyle(), StoryText::eraseStyle(), ScriXmlDoc::GetItemText(), Scribus13Format::GetItemText(), Scribus134Format::GetItemText(), Scribus12Format::GetItemText(), LineControl::getLineAscent(), LineControl::getLineHeight(), StoryText::getNamedResources(), AIPlug::getStrings(), StoryText::insert(), StoryText::insertChars(), isBreak(), ScribusDoc::itemSelection_ApplyParagraphStyle(), ScribusDoc::itemSelection_EraseParagraphStyle(), ScribusDoc::itemSelection_SetParagraphStyle(), SEditor::keyPressEvent(), PageItem_TextFrame::layout(), Scribus134Format::loadFile(), Scribus134Format::loadPage(), StoryText::nextParagraph(), StoryText::nrOfParagraph(), StoryText::nrOfParagraphs(), StoryText::paragraphStyle(), OODPlug::parseTextP(), SEditor::paste(), ScribusView::PasteItem(), StoryText::prevParagraph(), AIPlug::processData(), ScriXmlDoc::ReadElem(), StoryText::removeChars(), StoryText::replaceChar(), ScText_Shared::replaceCharStyleContextInParagraph(), StoryText::saxx(), StoryText::setCharStyle(), PDFLibCore::setTextCh(), PDFLibCore::setTextSt(), StoryText::startOfParagraph(), WordAndPara(), gtAction::write(), Scribus134Format::writeITEXTs(), ScriXmlDoc::WriteObject(), and Scribus13Format::WriteObjects().

QChar SpecialChars::LINEBREAK = QChar(28) [static]

QChar SpecialChars::COLBREAK = QChar(26) [static]

QChar SpecialChars::FRAMEBREAK = QChar(27) [static]

QChar SpecialChars::SHYPHEN = QChar(0xAD) [static]

QChar SpecialChars::OLD_NBHYPHEN = QChar(24) [static]

QChar SpecialChars::OLD_NBSPACE = QChar(29) [static]

QChar SpecialChars::NBHYPHEN = QChar(0x2011) [static]

QChar SpecialChars::NBSPACE = QChar(0xA0) [static]

QChar SpecialChars::ZWNBSPACE = QChar(0x2060) [static]

QChar SpecialChars::ZWSPACE = QChar(0x200B) [static]

QChar SpecialChars::PAGENUMBER = QChar(30) [static]

QChar SpecialChars::BLANK = QChar(32) [static]

Definition at line 48 of file specialchars.h.

Referenced by isBreakingSpace(), and isExpandingSpace().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.