summaryrefslogtreecommitdiff
path: root/poppler/TextOutputDev.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-02-28 23:24:59 +0000
committerKristian Høgsberg <krh@redhat.com>2006-02-28 23:24:59 +0000
commit50ecfadab36a9769b09e4c2c1670d86448a0e1ee (patch)
tree0a28dc89cfc8cd772e9c54036e005cde9bd85a3e /poppler/TextOutputDev.h
parentb9e951ac68b9977ab7217ad0346bcf46a3fa3dfe (diff)
2006-02-28 Kristian Høgsberg <krh@redhat.com>poppler-0.5.1
* configure.ac: Bump release to 0.5.1. * NEWS: Sum up 0.5.1 changes so far. * TextOutputDev.h: add getters for a couple of attributes. * glib/Makefile.am: * poppler/Makefile.am: Move cairo link dependency to glib bindings.
Diffstat (limited to 'poppler/TextOutputDev.h')
-rw-r--r--poppler/TextOutputDev.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/poppler/TextOutputDev.h b/poppler/TextOutputDev.h
index ba9146fa..fd052df8 100644
--- a/poppler/TextOutputDev.h
+++ b/poppler/TextOutputDev.h
@@ -101,7 +101,7 @@ public:
#if TEXTOUT_WORD_LIST
int getLength() { return len; }
- Unicode getChar(int idx) { return text[idx]; }
+ const Unicode *getChar(int idx) { return &text[idx]; }
GooString *getText();
GooString *getFontName() { return font->fontName; }
void getColor(double *r, double *g, double *b)
@@ -113,7 +113,10 @@ public:
int getCharPos() { return charPos; }
int getCharLen() { return charLen; }
#endif
-
+ double getEdge(int i) { return edge[i]; }
+ double getBaseline () { return base; }
+ GBool hasSpaceAfter () { return spaceAfter; }
+ TextWord* nextWord () { return next; };
private:
int rot; // rotation, multiple of 90 degrees