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

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

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

origin: org.apache.poi/poi-ooxml

@Override
public int getShapeId() {
  return (int)getCNvPr().getId();
}
origin: org.apache.poi/poi-ooxml

/**
 * Gets the frame id.
 */
public long getId() {
  return graphicFrame.getNvGraphicFramePr().getCNvPr().getId();
}
origin: org.apache.poi/poi-ooxml

@Override
public int getShapeId() {
  return (int) ctShape.getNvSpPr().getCNvPr().getId();
}
origin: org.apache.poi/poi-ooxml

/*package*/ XSLFDrawing(XSLFSheet sheet, CTGroupShape spTree){
  _sheet = sheet;
  _spTree = spTree;
  XmlObject[] cNvPr = sheet.getSpTree().selectPath(
      "declare namespace p='http://schemas.openxmlformats.org/presentationml/2006/main' .//*/p:cNvPr");
  for(XmlObject o : cNvPr) {
    // powerpoint generates AlternateContent elements which cNvPr elements aren't recognized
    // ignore them for now
    if (o instanceof CTNonVisualDrawingProps) {
      CTNonVisualDrawingProps p = (CTNonVisualDrawingProps)o;
      sheet.registerShapeId((int)p.getId());
    }
  }
}
origin: org.apache.poi/poi-ooxml

for (CTAnchor anchor : ctDrawing.getAnchorArray()) {
  if (anchor.getDocPr() != null) {
    getDocument().getDrawingIdManager().reserve(anchor.getDocPr().getId());
    getDocument().getDrawingIdManager().reserve(inline.getDocPr().getId());
origin: org.apache.poi/poi-ooxml

/**
 * @return the CTOleObject associated with the shape 
 */
public CTOleObject getOleObject() {
  if (oleObject == null) {
    long shapeId = getCTShape().getNvSpPr().getCNvPr().getId();
    oleObject = getSheet().readOleObject(shapeId);
    if (oleObject == null) {
      throw new POIXMLException("Ole object not found in sheet container - it's probably a control element");
    }
  }
  return oleObject;
}

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

@Override
public int getShapeId() {
  return (int)getCNvPr().getId();
}
origin: org.openl.rules/org.openl.lib.poi.dev

@Override
public int getShapeId() {
  return (int) getNvPr().getId();
}
origin: org.openl.rules/org.openl.lib.poi.dev

/*package*/ XSLFDrawing(XSLFSheet sheet, CTGroupShape spTree){
  _sheet = sheet;
  _spTree = spTree;
  XmlObject[] cNvPr = sheet.getSpTree().selectPath(
      "declare namespace p='http://schemas.openxmlformats.org/presentationml/2006/main' .//*/p:cNvPr");
  for(XmlObject o : cNvPr) {
    CTNonVisualDrawingProps p = (CTNonVisualDrawingProps)o;
    _shapeId = (int)Math.max(_shapeId, p.getId());
  }
}
origin: org.openl.rules/org.openl.lib.poi.dev

@Override
public int getShapeId(){
  return (int)_shape.getNvGrpSpPr().getCNvPr().getId();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

/**
 * Gets the frame id.
 */
public long getId() {
  return graphicFrame.getNvGraphicFramePr().getCNvPr().getId();
}
origin: org.openl.rules/org.openl.lib.poi.dev

/**
 * Gets the frame id.
 */
public long getId() {
  return graphicFrame.getNvGraphicFramePr().getCNvPr().getId();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

@Override
public int getShapeId() {
  return (int) ctShape.getNvSpPr().getCNvPr().getId();
}
origin: org.openl.rules/org.openl.lib.poi.dev

public int getShapeId(){
  return (int)_shape.getNvGraphicFramePr().getCNvPr().getId();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

/*package*/ XSLFDrawing(XSLFSheet sheet, CTGroupShape spTree){
  _sheet = sheet;
  _spTree = spTree;
  XmlObject[] cNvPr = sheet.getSpTree().selectPath(
      "declare namespace p='http://schemas.openxmlformats.org/presentationml/2006/main' .//*/p:cNvPr");
  for(XmlObject o : cNvPr) {
    // powerpoint generates AlternateContent elements which cNvPr elements aren't recognized
    // ignore them for now
    if (o instanceof CTNonVisualDrawingProps) {
      CTNonVisualDrawingProps p = (CTNonVisualDrawingProps)o;
      sheet.registerShapeId((int)p.getId());
    }
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

for (CTAnchor anchor : ctDrawing.getAnchorArray()) {
  if (anchor.getDocPr() != null) {
    getDocument().getDrawingIdManager().reserve(anchor.getDocPr().getId());
    getDocument().getDrawingIdManager().reserve(inline.getDocPr().getId());
origin: org.openl.rules/org.openl.lib.poi.dev

for (CTAnchor anchor : anchorList) {
  if (anchor.getDocPr() != null) {
    getDocument().getDrawingIdManager().reserve(anchor.getDocPr().getId());
for (CTInline inline : inlineList) {
  if (inline.getDocPr() != null) {
    getDocument().getDrawingIdManager().reserve(inline.getDocPr().getId());
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

/**
 * @return the CTOleObject associated with the shape 
 */
public CTOleObject getOleObject() {
  if (oleObject == null) {
    long shapeId = getCTShape().getNvSpPr().getCNvPr().getId();
    oleObject = getSheet().readOleObject(shapeId);
    if (oleObject == null) {
      throw new POIXMLException("Ole object not found in sheet container - it's probably a control element");
    }
  }
  return oleObject;
}

org.openxmlformats.schemas.drawingml.x2006.mainCTNonVisualDrawingPropsgetId

Popular methods of CTNonVisualDrawingProps

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

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JFrame (javax.swing)
  • From CI to AI: The AI layer in your organization
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