SpecialChars Class Reference
#include <specialchars.h>
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] |
Definition at line 34 of file specialchars.h.
Referenced by ScPageOutput::DrawItem_PathText(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), PageItem_PathText::DrawObj_Item(), Scribus13Format::GetItemText(), Scribus134Format::GetItemText(), StoryText::getNamedResources(), StoryText::insert(), StoryText::insertObject(), PageItem_TextFrame::layout(), PSLib::ProcessItem(), StoryText::saxx(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), PDFLibCore::setTextSt(), SEditor::updateAll(), StoryEditor::updateTextFrame(), Scribus134Format::writeITEXTs(), and Scribus13Format::WriteObjects().
QChar SpecialChars::TAB = QChar(9) [static] |
Definition at line 35 of file specialchars.h.
Referenced by StoryText::desaxeRules(), ScPageOutput::DrawItem_PathText(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), PageItem_PathText::DrawObj_Item(), ScFace::emulateGlyph(), fillInTabLeaders(), ScriXmlDoc::GetItemText(), Scribus13Format::GetItemText(), Scribus134Format::GetItemText(), Scribus12Format::GetItemText(), LineControl::getLineAscent(), LineControl::getLineHeight(), PageItem_TextFrame::handleModeEditKey(), PageItem_TextFrame::layout(), Scribus134Format::loadFile(), Scribus134Format::loadPage(), ScribusView::PasteItem(), ScriXmlDoc::ReadElem(), StoryText::saxx(), PSLib::setTextSt(), PDFLibCore::setTextSt(), Scribus134Format::writeITEXTs(), and Scribus13Format::WriteObjects().
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] |
Definition at line 37 of file specialchars.h.
Referenced by StoryText::desaxeRules(), ScPageOutput::DrawItem_PathText(), PageItem_PathText::DrawObj_Item(), ScFace::emulateGlyph(), ContentReader::endElement(), LineControl::getLineAscent(), LineControl::getLineHeight(), ActionManager::initUnicodeActions(), isBreak(), PageItem_TextFrame::layout(), Scribus134Format::loadFile(), Scribus134Format::loadPage(), AIPlug::processData(), StoryText::saxx(), PDFLibCore::setTextSt(), SEditor::updateAll(), and Scribus134Format::writeITEXTs().
QChar SpecialChars::COLBREAK = QChar(26) [static] |
Definition at line 38 of file specialchars.h.
Referenced by StoryText::desaxeRules(), ScFace::emulateGlyph(), LineControl::getLineAscent(), LineControl::getLineHeight(), ActionManager::initUnicodeActions(), isBreak(), PageItem_TextFrame::layout(), Scribus134Format::loadFile(), Scribus134Format::loadPage(), StoryText::saxx(), PDFLibCore::setTextSt(), SEditor::updateAll(), and Scribus134Format::writeITEXTs().
QChar SpecialChars::FRAMEBREAK = QChar(27) [static] |
Definition at line 39 of file specialchars.h.
Referenced by StoryText::desaxeRules(), ScFace::emulateGlyph(), LineControl::getLineAscent(), LineControl::getLineHeight(), ActionManager::initUnicodeActions(), isBreak(), PageItem_TextFrame::layout(), Scribus134Format::loadFile(), Scribus134Format::loadPage(), StoryText::saxx(), PDFLibCore::setTextSt(), SEditor::updateAll(), and Scribus134Format::writeITEXTs().
QChar SpecialChars::SHYPHEN = QChar(0xAD) [static] |
Definition at line 40 of file specialchars.h.
Referenced by ScFace::char2CMap(), ScFace::emulateGlyph(), Scribus134Format::GetItemText(), ActionManager::initUnicodeActions(), PageItem_TextFrame::layout(), Hyphenator::slotHyphenate(), Hyphenator::slotHyphenateWord(), ScribusMainWindow::specialActionKeyEvent(), and textWithSmartHyphens().
QChar SpecialChars::OLD_NBHYPHEN = QChar(24) [static] |
Definition at line 41 of file specialchars.h.
Referenced by Scribus13Format::GetItemText(), Scribus12Format::GetItemText(), and LoremParser::LoremParser().
QChar SpecialChars::OLD_NBSPACE = QChar(29) [static] |
Definition at line 42 of file specialchars.h.
Referenced by Scribus13Format::GetItemText(), Scribus12Format::GetItemText(), and LoremParser::LoremParser().
QChar SpecialChars::NBHYPHEN = QChar(0x2011) [static] |
Definition at line 43 of file specialchars.h.
Referenced by ScPageOutput::DrawGlyphs(), ScFace::emulateGlyph(), Scribus13Format::GetItemText(), Scribus12Format::GetItemText(), LineControl::getLineAscent(), LineControl::getLineHeight(), ActionManager::initUnicodeActions(), LoremParser::LoremParser(), PSLib::setTextCh(), PDFLibCore::setTextCh(), and SEditor::updateAll().
QChar SpecialChars::NBSPACE = QChar(0xA0) [static] |
Definition at line 44 of file specialchars.h.
Referenced by ContentReader::characters(), ScPageOutput::DrawGlyphs(), ScFace::emulateGlyph(), Scribus13Format::GetItemText(), Scribus12Format::GetItemText(), ActionManager::initUnicodeActions(), isExpandingSpace(), LoremParser::LoremParser(), PSLib::setTextCh(), PDFLibCore::setTextCh(), and SEditor::updateAll().
QChar SpecialChars::ZWNBSPACE = QChar(0x2060) [static] |
Definition at line 45 of file specialchars.h.
Referenced by ScFace::emulateGlyph(), ActionManager::initUnicodeActions(), and PageItem_TextFrame::layout().
QChar SpecialChars::ZWSPACE = QChar(0x200B) [static] |
Definition at line 46 of file specialchars.h.
Referenced by ScFace::emulateGlyph(), ActionManager::initUnicodeActions(), and isBreakingSpace().
QChar SpecialChars::PAGENUMBER = QChar(30) [static] |
Definition at line 47 of file specialchars.h.
Referenced by StoryText::desaxeRules(), ScPageOutput::DrawItem_PathText(), PageItem_PathText::DrawObj_Item(), LineControl::getLineAscent(), ActionManager::initUnicodeActions(), Scribus134Format::loadFile(), Scribus134Format::loadPage(), StoryText::saxx(), SEditor::updateAll(), and Scribus134Format::writeITEXTs().
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:
