Class MSOfficeDocumentPropertiesRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.opensymphony.module.sitemesh.html.BlockExtractingRule
com.opensymphony.module.sitemesh.html.rules.MSOfficeDocumentPropertiesRule
- All Implemented Interfaces:
TagRule
Extracts the extra properties saved in HTML from MS Office applications (Word and Excel),
such as Author, Company, Version, etc.
- Author:
- Joe Walnes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opensymphony.module.sitemesh.html.BlockExtractingRule
createBuffer
Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule
currentBuffer, setContext
-
Field Details
-
page
-
inDocumentProperties
private boolean inDocumentProperties
-
-
Constructor Details
-
MSOfficeDocumentPropertiesRule
-
-
Method Details
-
shouldProcess
Description copied from interface:TagRule
Called by the HTMLProcessor to determine if a rule should be called for a given tag. The name parameter will always be passed in lowercase.- Specified by:
shouldProcess
in interfaceTagRule
- Overrides:
shouldProcess
in classBasicRule
-
process
- Specified by:
process
in interfaceTagRule
- Overrides:
process
in classBlockExtractingRule
-
start
- Overrides:
start
in classBlockExtractingRule
-
end
- Overrides:
end
in classBlockExtractingRule
-