Tabnine Logo
CTNonVisualDrawingProps.getHlinkClick
Code IndexAdd Tabnine to your IDE (free)

How to use
getHlinkClick
method
in
org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps

Best Java code snippets using org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps.getHlinkClick (Showing top 5 results out of 315)

origin: org.apache.poi/poi-ooxml

@Override
public XSLFHyperlink getHyperlink() {
  CTNonVisualDrawingProps cNvPr = getCNvPr();
  if (!cNvPr.isSetHlinkClick()) {
    return null;
  }
  return new XSLFHyperlink(cNvPr.getHlinkClick(), getSheet());
}

origin: apache/tika

private void extractHyperLinksFromShape(CTShape ctShape, XHTMLContentHandler xhtml) throws SAXException {
  if (ctShape == null)
    return;
  CTShapeNonVisual nvSpPR = ctShape.getNvSpPr();
  if (nvSpPR == null)
    return;
  CTNonVisualDrawingProps cNvPr = nvSpPR.getCNvPr();
  if (cNvPr == null)
    return;
  CTHyperlink ctHyperlink = cNvPr.getHlinkClick();
  if (ctHyperlink == null)
    return;
  String url = drawingHyperlinks.get(ctHyperlink.getId());
  if (url != null) {
    xhtml.startElement("a", "href", url);
    xhtml.characters(url);
    xhtml.endElement("a");
  }
  CTHyperlink ctHoverHyperlink = cNvPr.getHlinkHover();
  if (ctHoverHyperlink == null)
    return;
  url = drawingHyperlinks.get(ctHoverHyperlink.getId());
  if (url != null) {
    xhtml.startElement("a", "href", url);
    xhtml.characters(url);
    xhtml.endElement("a");
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

@Override
public XSLFHyperlink getHyperlink() {
  CTNonVisualDrawingProps cNvPr = getCNvPr();
  if (!cNvPr.isSetHlinkClick()) {
    return null;
  }
  return new XSLFHyperlink(cNvPr.getHlinkClick(), getSheet());
}

origin: com.github.lafa.tikaNoExternal/tika-parsers

private void extractHyperLinksFromShape(CTShape ctShape, XHTMLContentHandler xhtml) throws SAXException {
  if (ctShape == null)
    return;
  CTShapeNonVisual nvSpPR = ctShape.getNvSpPr();
  if (nvSpPR == null)
    return;
  CTNonVisualDrawingProps cNvPr = nvSpPR.getCNvPr();
  if (cNvPr == null)
    return;
  CTHyperlink ctHyperlink = cNvPr.getHlinkClick();
  if (ctHyperlink == null)
    return;
  String url = drawingHyperlinks.get(ctHyperlink.getId());
  if (url != null) {
    xhtml.startElement("a", "href", url);
    xhtml.characters(url);
    xhtml.endElement("a");
  }
  CTHyperlink ctHoverHyperlink = cNvPr.getHlinkHover();
  if (ctHoverHyperlink == null)
    return;
  url = drawingHyperlinks.get(ctHoverHyperlink.getId());
  if (url != null) {
    xhtml.startElement("a", "href", url);
    xhtml.characters(url);
    xhtml.endElement("a");
  }
}
origin: org.apache.tika/tika-parsers

private void extractHyperLinksFromShape(CTShape ctShape, XHTMLContentHandler xhtml) throws SAXException {
  if (ctShape == null)
    return;
  CTShapeNonVisual nvSpPR = ctShape.getNvSpPr();
  if (nvSpPR == null)
    return;
  CTNonVisualDrawingProps cNvPr = nvSpPR.getCNvPr();
  if (cNvPr == null)
    return;
  CTHyperlink ctHyperlink = cNvPr.getHlinkClick();
  if (ctHyperlink == null)
    return;
  String url = drawingHyperlinks.get(ctHyperlink.getId());
  if (url != null) {
    xhtml.startElement("a", "href", url);
    xhtml.characters(url);
    xhtml.endElement("a");
  }
  CTHyperlink ctHoverHyperlink = cNvPr.getHlinkHover();
  if (ctHoverHyperlink == null)
    return;
  url = drawingHyperlinks.get(ctHoverHyperlink.getId());
  if (url != null) {
    xhtml.startElement("a", "href", url);
    xhtml.characters(url);
    xhtml.endElement("a");
  }
}
org.openxmlformats.schemas.drawingml.x2006.mainCTNonVisualDrawingPropsgetHlinkClick

Popular methods of CTNonVisualDrawingProps

  • setDescr
  • setId
  • setName
  • getDescr
  • getId
  • getName
  • addNewExtLst
  • addNewHlinkClick
  • getExtLst
  • getHlinkHover
  • isSetHlinkClick
  • isSetHlinkClick

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now