public final class CmsExtractorMsPowerPoint extends A_CmsTextExtractorMsOfficeBase implements java.io.Serializable
cp, ENCODING_CP1252, ENCODING_UTF16, m_documentSummary, m_summary, POWERPOINT_EVENT_NAME, PPT_TEXTBYTE_ATOM, PPT_TEXTCHAR_ATOM, versionm_inputBuffer| Constructor and Description |
|---|
CmsExtractorMsPowerPoint(java.lang.String version)
Hide the public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
extractPPTContent(java.io.InputStream in) |
I_CmsExtractionResult |
extractText(java.io.InputStream in,
java.lang.String encoding)
Extracts the text and meta information from the document on the input stream, using the specified content encoding.
|
java.lang.String |
readPowerPoint(java.io.InputStream in)
处理ppt
|
java.lang.String |
readPowerPoint2007(java.io.InputStream in)
处理ppt
|
cleanup, extractMetaInformation, extractMetaInformation2003, extractMetaInformation2007, processPOIFSReaderEventextractText, extractText, extractText, getStreamCopy, removeControlCharspublic CmsExtractorMsPowerPoint(java.lang.String version)
public I_CmsExtractionResult extractText(java.io.InputStream in, java.lang.String encoding) throws java.lang.Exception
I_CmsTextExtractor
The encoding is a hint for the text extractor, if the value given is null then
the text extractor should try to figure out the encoding itself.
extractText in interface I_CmsTextExtractorextractText in class A_CmsTextExtractorin - the input stream for the document to extract the text fromencoding - the encoding to usejava.lang.Exception - if the text extration failsorg.opencms.search.extractors.I_CmsTextExtractor#extractText(java.io.InputStream, java.lang.String)public java.lang.String readPowerPoint(java.io.InputStream in)
path - public java.lang.String readPowerPoint2007(java.io.InputStream in)
path - protected java.lang.String extractPPTContent(java.io.InputStream in)
throws java.lang.Exception
java.lang.Exception