Home
last modified time | relevance | path

Searched refs:ZLTextParagraph (Results 1 – 20 of 20) sorted by relevance

/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/text/src/area/
H A DZLTextParagraphCursor.cpp158 (myModel[myIndex]->kind() == ZLTextParagraph::END_OF_TEXT_PARAGRAPH) || in isFirst()
159 (myModel[myIndex - 1]->kind() == ZLTextParagraph::END_OF_TEXT_PARAGRAPH); in isFirst()
209 for (ZLTextParagraph::Iterator it = paragraph; !it.isEnd(); it.next()) { in processControlParagraph()
215 const ZLTextParagraph &paragraph = *myModel[myIndex]; in fill()
217 case ZLTextParagraph::TEXT_PARAGRAPH: in fill()
218 case ZLTextParagraph::TREE_PARAGRAPH: in fill()
224 case ZLTextParagraph::EMPTY_LINE_PARAGRAPH: in fill()
228 case ZLTextParagraph::BEFORE_SKIP_PARAGRAPH: in fill()
232 case ZLTextParagraph::AFTER_SKIP_PARAGRAPH: in fill()
236 case ZLTextParagraph::END_OF_SECTION_PARAGRAPH: in fill()
[all …]
H A DZLTextParagraphCursor.h35 class ZLTextParagraph; variable
98 const ZLTextParagraph &paragraph() const;
101 void processControlParagraph(const ZLTextParagraph &paragraph);
123 static void put(const ZLTextParagraph *paragraph, ZLTextParagraphCursorPtr cursor);
124 static ZLTextParagraphCursorPtr get(const ZLTextParagraph *paragraph);
130 static std::map<const ZLTextParagraph*, weak_ptr<ZLTextParagraphCursor> > ourCache;
228 inline const ZLTextParagraph &ZLTextParagraphCursor::paragraph() const { return *myModel[myIndex]; } in paragraph()
H A DZLTextParagraphBuilder.h33 class ZLTextParagraph; variable
48 const ZLTextParagraph &myParagraph;
H A DZLTextParagraphBuilder.cpp79 for (ZLTextParagraph::Iterator it = myParagraph; !it.isEnd(); it.next()) { in fill()
H A DZLTextArea_processTextLine.cpp82 if (paragraphCursor.paragraph().kind() == ZLTextParagraph::TREE_PARAGRAPH) { in processTextLine()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/text/src/model/
H A DZLTextParagraph.h233 class ZLTextParagraph {
239 Iterator(const ZLTextParagraph &paragraph);
265 ZLTextParagraph();
268 virtual ~ZLTextParagraph();
288 class ZLTextSpecialParagraph : public ZLTextParagraph {
303 class ZLTextTreeParagraph : public ZLTextParagraph {
398 inline ZLTextParagraph::ZLTextParagraph() : myEntryNumber(0) {} in ZLTextParagraph() function
399 inline ZLTextParagraph::~ZLTextParagraph() {} in ~ZLTextParagraph()
400 inline ZLTextParagraph::Kind ZLTextParagraph::kind() const { return TEXT_PARAGRAPH; } in kind()
404 inline ZLTextParagraph::Iterator::Iterator(const ZLTextParagraph &paragraph) : myPointer(paragraph.… in Iterator()
[all …]
H A DZLTextModel.h32 class ZLTextParagraph; variable
54 ZLTextParagraph *operator [] (size_t index);
55 const ZLTextParagraph *operator [] (size_t index) const;
77 void addParagraphInternal(ZLTextParagraph *paragraph);
81 std::vector<ZLTextParagraph*> myParagraphs;
97 void createParagraph(ZLTextParagraph::Kind kind);
120 inline ZLTextParagraph *ZLTextModel::operator [] (size_t index) {
124 inline const ZLTextParagraph *ZLTextModel::operator [] (size_t index) const {
H A DZLTextModel.cpp34 …for (std::vector<ZLTextParagraph*>::const_iterator it = myParagraphs.begin(); it != myParagraphs.e… in ~ZLTextModel()
51 std::vector<ZLTextParagraph*>::const_iterator start = in search()
53 std::vector<ZLTextParagraph*>::const_iterator end = in search()
55 for (std::vector<ZLTextParagraph*>::const_iterator it = start; it < end; ++it) { in search()
57 for (ZLTextParagraph::Iterator jt = **it; !jt.isEnd(); jt.next()) { in search()
116 void ZLTextModel::addParagraphInternal(ZLTextParagraph *paragraph) { in addParagraphInternal()
147 void ZLTextPlainModel::createParagraph(ZLTextParagraph::Kind kind) { in createParagraph()
148ZLTextParagraph *paragraph = (kind == ZLTextParagraph::TEXT_PARAGRAPH) ? new ZLTextParagraph() : n… in createParagraph()
H A DZLTextParagraph.cpp77 const shared_ptr<ZLTextParagraphEntry> ZLTextParagraph::Iterator::entry() const { in entry()
115 void ZLTextParagraph::Iterator::next() { in next()
188 size_t ZLTextParagraph::textDataLength() const { in textDataLength()
198 size_t ZLTextParagraph::characterNumber() const { in characterNumber()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/text/include/
H A DZLTextParagraph.h233 class ZLTextParagraph {
239 Iterator(const ZLTextParagraph &paragraph);
265 ZLTextParagraph();
268 virtual ~ZLTextParagraph();
288 class ZLTextSpecialParagraph : public ZLTextParagraph {
303 class ZLTextTreeParagraph : public ZLTextParagraph {
398 inline ZLTextParagraph::ZLTextParagraph() : myEntryNumber(0) {} in ZLTextParagraph() function
399 inline ZLTextParagraph::~ZLTextParagraph() {} in ~ZLTextParagraph()
400 inline ZLTextParagraph::Kind ZLTextParagraph::kind() const { return TEXT_PARAGRAPH; } in kind()
404 inline ZLTextParagraph::Iterator::Iterator(const ZLTextParagraph &paragraph) : myPointer(paragraph.… in Iterator()
[all …]
H A DZLTextModel.h32 class ZLTextParagraph; variable
54 ZLTextParagraph *operator [] (size_t index);
55 const ZLTextParagraph *operator [] (size_t index) const;
77 void addParagraphInternal(ZLTextParagraph *paragraph);
81 std::vector<ZLTextParagraph*> myParagraphs;
97 void createParagraph(ZLTextParagraph::Kind kind);
120 inline ZLTextParagraph *ZLTextModel::operator [] (size_t index) {
124 inline const ZLTextParagraph *ZLTextModel::operator [] (size_t index) const {
H A DZLTextParagraphCursor.h35 class ZLTextParagraph; variable
98 const ZLTextParagraph &paragraph() const;
101 void processControlParagraph(const ZLTextParagraph &paragraph);
123 static void put(const ZLTextParagraph *paragraph, ZLTextParagraphCursorPtr cursor);
124 static ZLTextParagraphCursorPtr get(const ZLTextParagraph *paragraph);
130 static std::map<const ZLTextParagraph*, weak_ptr<ZLTextParagraphCursor> > ourCache;
228 inline const ZLTextParagraph &ZLTextParagraphCursor::paragraph() const { return *myModel[myIndex]; } in paragraph()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/fbreader/src/bookmodel/
H A DBookReader.h52 void beginParagraph(ZLTextParagraph::Kind kind = ZLTextParagraph::TEXT_PARAGRAPH);
81 void insertEndParagraph(ZLTextParagraph::Kind kind);
H A DBookReader.cpp76 void BookReader::beginParagraph(ZLTextParagraph::Kind kind) { in beginParagraph()
191 void BookReader::insertEndParagraph(ZLTextParagraph::Kind kind) { in insertEndParagraph()
202 insertEndParagraph(ZLTextParagraph::END_OF_SECTION_PARAGRAPH); in insertEndOfSectionParagraph()
206 insertEndParagraph(ZLTextParagraph::END_OF_TEXT_PARAGRAPH); in insertEndOfTextParagraph()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/text/src/view/
H A DZLTextView.cpp73 const ZLTextParagraph &para = *(*model)[i]; in setModel()
76 case ZLTextParagraph::END_OF_TEXT_PARAGRAPH: in setModel()
80 case ZLTextParagraph::END_OF_SECTION_PARAGRAPH: in setModel()
474 if ((*model)[paragraphIndex]->kind() == ZLTextParagraph::END_OF_SECTION_PARAGRAPH) { in gotoCharIndex()
521 const ZLTextParagraph &para = *(*textArea().model())[paraIndex]; in gotoPage()
523 case ZLTextParagraph::END_OF_TEXT_PARAGRAPH: in gotoPage()
524 case ZLTextParagraph::END_OF_SECTION_PARAGRAPH: in gotoPage()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/fbreader/src/formats/fb2/
H A DFB2BookReader.cpp122 myModelReader.beginParagraph(ZLTextParagraph::BEFORE_SKIP_PARAGRAPH); in startElementHandler()
212 myModelReader.beginParagraph(ZLTextParagraph::EMPTY_LINE_PARAGRAPH); in startElementHandler()
262 myModelReader.beginParagraph(ZLTextParagraph::AFTER_SKIP_PARAGRAPH); in endElementHandler()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/fbreader/src/formats/tcr/
H A DPPLBookReader.cpp53 myModelReader.beginParagraph(ZLTextParagraph::EMPTY_LINE_PARAGRAPH); in addParagraph()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/
H A DToFix33 MERGED fixed in ZLTextParagraph.cpp
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/fbreader/src/formats/pdb/
H A DPmlBookReader.cpp133 myBookReader.beginParagraph(ZLTextParagraph::EMPTY_LINE_PARAGRAPH); in newLine()
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/fbreader/src/fbreader/
H A DFBReaderActions.cpp389 const ZLTextParagraph *para = textModel[paragraphIndex]; in run()
390 if ((para != 0) && (para->kind() == ZLTextParagraph::END_OF_SECTION_PARAGRAPH)) { in run()