dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31aa33
)
generic method to extract text layer of a document
author
ThomasV
<thomasv@users.mediawiki.org>
Wed, 23 Sep 2009 12:28:19 +0000
(12:28 +0000)
committer
ThomasV
<thomasv@users.mediawiki.org>
Wed, 23 Sep 2009 12:28:19 +0000
(12:28 +0000)
includes/media/Generic.php
patch
|
blob
|
history
diff --git
a/includes/media/Generic.php
b/includes/media/Generic.php
index
a9c681e
..
b1c6394
100644
(file)
--- a/
includes/media/Generic.php
+++ b/
includes/media/Generic.php
@@
-179,6
+179,14
@@
abstract class MediaHandler {
);
}
+ /**
+ * Generic getter for text layer.
+ * Currently overloaded by PDF and DjVu handlers
+ */
+ function getPageText( $image, $page ) {
+ return false;
+ }
+
/**
* Get an array structure that looks like this:
*