com.atlassian.confluence.importexport.impl
Class PdfImageProcessingRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.atlassian.confluence.importexport.impl.PdfImageProcessingRule
- All Implemented Interfaces:
- ImageProcessingRule, com.opensymphony.module.sitemesh.html.TagRule
public class PdfImageProcessingRule
- extends com.opensymphony.module.sitemesh.html.BasicRule
- implements ImageProcessingRule
Processes image tags for pdf exports.
It extracts the image tag urls and replaces them with a relative export path in fop notation.
Fields inherited from class com.opensymphony.module.sitemesh.html.BasicRule |
context |
Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule |
currentBuffer, setContext, shouldProcess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.opensymphony.module.sitemesh.html.TagRule |
setContext, shouldProcess |
PdfImageProcessingRule
public PdfImageProcessingRule(java.lang.String exportDir)
process
public void process(com.opensymphony.module.sitemesh.html.Tag tag)
- Specified by:
process
in interface com.opensymphony.module.sitemesh.html.TagRule
- Specified by:
process
in class com.opensymphony.module.sitemesh.html.BasicRule
getExtractedUrls
public java.util.Set<ExportImageDescriptor> getExtractedUrls()
- Description copied from interface:
ImageProcessingRule
- Gets the set of
ExportImageDescriptor
representing the image tag
urls that were extracted during processing.
- Specified by:
getExtractedUrls
in interface ImageProcessingRule
setSettingsManager
public void setSettingsManager(SettingsManager settingsManager)
setAttachmentUrlParser
public void setAttachmentUrlParser(AttachmentUrlParser attachmentUrlParser)
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.