Commit d4ce8d7b95ae1ce92ee80fdcb22eb049c499b7d9
1 parent
b2d72fcf
KTS-2547
"Test RTF Indexer" Implemented. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7464 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
21 additions
and
0 deletions
search2/indexing/extractors/RTFExtractor.inc.php
0 → 100644
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +require_once('OOTextExtractor.inc.php'); | ||
| 4 | + | ||
| 5 | +class RTFExtractor extends OOTextExtractor | ||
| 6 | +{ | ||
| 7 | + public function getDisplayName() | ||
| 8 | + { | ||
| 9 | + return _kt('RTF Extractor'); | ||
| 10 | + } | ||
| 11 | + | ||
| 12 | + public function getSupportedMimeTypes() | ||
| 13 | + { | ||
| 14 | + return array( | ||
| 15 | + 'text/rtf' | ||
| 16 | + ); | ||
| 17 | + } | ||
| 18 | +} | ||
| 19 | + | ||
| 20 | + | ||
| 21 | +?> | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file |