Examples of JRBasePrintHyperlink


Examples of net.sf.jasperreports.engine.base.JRBasePrintHyperlink

    if (hyperlink == null)
    {
      return null;
    }
   
    JRBasePrintHyperlink printHyperlink = new JRBasePrintHyperlink();
    printHyperlink.setLinkType(hyperlink.getLinkType());
    printHyperlink.setLinkTarget(hyperlink.getLinkTarget());
    printHyperlink.setHyperlinkReference((String) expressionEvaluator.evaluate(hyperlink.getHyperlinkReferenceExpression(), evaluationType));
    printHyperlink.setHyperlinkAnchor((String) expressionEvaluator.evaluate(hyperlink.getHyperlinkAnchorExpression(), evaluationType));
    printHyperlink.setHyperlinkPage((Integer) expressionEvaluator.evaluate(hyperlink.getHyperlinkPageExpression(), evaluationType));
    printHyperlink.setHyperlinkTooltip((String) expressionEvaluator.evaluate(hyperlink.getHyperlinkTooltipExpression(), evaluationType));
    printHyperlink.setHyperlinkParameters(evaluateHyperlinkParameters(hyperlink, expressionEvaluator, evaluationType));
    return printHyperlink;
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintHyperlink

          {
            RunElement runElement = (RunElement)element;
            AttributeSet attrSet = (AttributeSet)runElement.getAttribute(Tag.A);
            if (attrSet != null)
            {
              hyperlink = new JRBasePrintHyperlink();
              hyperlink.setHyperlinkType(HyperlinkTypeEnum.REFERENCE);
              hyperlink.setHyperlinkReference((String)attrSet.getAttribute(HTML.Attribute.HREF));
              hyperlink.setLinkTarget((String)attrSet.getAttribute(HTML.Attribute.TARGET));
            }
          }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintHyperlink

        {
          NamedNodeMap nodeAttrs = node.getAttributes();

          Map styleAttrs = new HashMap();

          hyperlink = new JRBasePrintHyperlink();
          hyperlink.setHyperlinkType(HyperlinkTypeEnum.REFERENCE);
          styleAttrs.put(JRTextAttribute.HYPERLINK, hyperlink);
         
          if (nodeAttrs.getNamedItem(ATTRIBUTE_href) != null)
          {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.