23#include "TextOutputDev.h"
25#include <tqdatetime.h>
37class Page : public TextPage
42 TQValueVector<DRect> &rects() { return _rects; }
43 bool hasHeader() const;
44 bool hasFooter() const;
49 void beginString(GfxState *, double x0, double y0);
50 void addString(TextString *);
52 void addLink(Link *link) { _links.append(link); }
59 TQValueList<TQDomElement> pictures;
62 FontFamily checkSpecial(TQChar &, const Font &) const;
63 static TextBlock *block(TextLine *, int index);
64 static bool isLastParagraphLine(TextLine *, const Paragraph &);
67 void createParagraphs();
73 void fillParagraph( Paragraph &, double &offset) const;
74 void checkSpecialChars( Paragraph &) const;
81 TQValueList<Paragraph> _pars;
82 TQPtrList<Link> _links;
85 TQValueVector<DRect> _rects;
|