Commit 5d933709e4636725b26a1e3ddc8aee3675058626
1 parent
f07a0f3e
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 | 22 | \ No newline at end of file | ... | ... |