org.apache.poi.xwpf.model
Class XWPFHyperlinkDecorator
java.lang.Object
org.apache.poi.xwpf.model.XWPFParagraphDecorator
org.apache.poi.xwpf.model.XWPFHyperlinkDecorator
public class XWPFHyperlinkDecorator
- extends XWPFParagraphDecorator
Decorator class for XWPFParagraph allowing to add hyperlinks
found in paragraph to its text.
TODO - add the hyperlink text in the right place, and not just
at the end
Method Summary |
java.lang.String |
getText()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWPFHyperlinkDecorator
public XWPFHyperlinkDecorator(XWPFParagraphDecorator nextDecorator,
boolean outputHyperlinkUrls)
- Parameters:
nextDecorator
- The next decorator to useoutputHyperlinkUrls
- Should we output the links too, or just the link text?
XWPFHyperlinkDecorator
public XWPFHyperlinkDecorator(XWPFParagraph prgrph,
XWPFParagraphDecorator nextDecorator,
boolean outputHyperlinkUrls)
- Parameters:
prgrph
- The paragraph of text to work onoutputHyperlinkUrls
- Should we output the links too, or just the link text?
getText
public java.lang.String getText()
- Overrides:
getText
in class XWPFParagraphDecorator
Copyright 2012 The Apache Software Foundation or
its licensors, as applicable.