congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CTBlip
Code IndexAdd Tabnine to your IDE (free)

How to use
CTBlip
in
org.docx4j.dml

Best Java code snippets using org.docx4j.dml.CTBlip (Showing top 16 results out of 315)

origin: plutext/docx4j

/**
 * Create an instance of {@link CTBlip }
 * 
 */
public CTBlip createCTBlip() {
  return new CTBlip();
}
origin: plutext/docx4j

  /**
   * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
   *
   * @param parent
   *     The parent object in the object tree.
   * @param unmarshaller
   *     The unmarshaller that generated the instance.
   */
  public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
    setParent(parent);
  }
}
origin: com.haulmont.yarg/yarg

blipFillProperties.setStretch(new CTStretchInfoProperties());
blipFillProperties.getStretch().setFillRect(new CTRelativeRect());
blipFillProperties.setBlip(new CTBlip());
blipFillProperties.getBlip().setEmbed("rId" + (currentId + 1));
blipFillProperties.getBlip().setCstate(STBlipCompression.PRINT);
origin: plutext/docx4j

String imgRelId = blip.getEmbed();
if ((imgRelId == null) || (imgRelId.length() == 0)) {
  imgRelId = blip.getLink();
origin: cuba-platform/yarg

blipFillProperties.setStretch(new CTStretchInfoProperties());
blipFillProperties.getStretch().setFillRect(new CTRelativeRect());
blipFillProperties.setBlip(new CTBlip());
blipFillProperties.getBlip().setEmbed("rId" + (currentId + 1));
blipFillProperties.getBlip().setCstate(STBlipCompression.PRINT);
origin: plutext/docx4j

String rId = pic.getBlipFill().getBlip().getEmbed();
if (rId.equals("")) {
  rId = pic.getBlipFill().getBlip().getLink();
origin: plutext/docx4j

String imgRelId = blip.getEmbed();    	
if (imgRelId!=null) {
  converter.handleImageRel(context.getImageHandler(), imgRelId, 
      (Part)context.getResolvedLayout().relationships.getSourceP());
} else if (blip.getLink()!=null) {
  converter.handleImageRel(context.getImageHandler(), blip.getLink(), 
      (Part)context.getResolvedLayout().relationships.getSourceP());
} else {
origin: org.docx4j/docx4j

/**
 * Create an instance of {@link CTBlip }
 * 
 */
public CTBlip createCTBlip() {
  return new CTBlip();
}
origin: org.docx4j/docx4j

  /**
   * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
   *
   * @param parent
   *     The parent object in the object tree.
   * @param unmarshaller
   *     The unmarshaller that generated the instance.
   */
  public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
    setParent(parent);
  }
}
origin: plutext/docx4j

if (blip.getLink()!=null) {
} else if (blip.getEmbed()!=null ) {
  String rId = blip.getEmbed();
  Part embeddedPart = sourcePart.getRelationshipsPart().getPart(rId);
  if (embeddedPart instanceof ImagePngPart
origin: plutext/docx4j

if (blip.getEmbed()!=null) {
  String relId = blip.getEmbed();
} else if  (blip.getLink()!=null) {
origin: org.docx4j/docx4j

String imgRelId = blip.getEmbed();
if ((imgRelId == null) || (imgRelId.length() == 0)) {
  imgRelId = blip.getLink();
origin: org.docx4j/docx4j

String rId = pic.getBlipFill().getBlip().getEmbed();
if (rId.equals("")) {
  rId = pic.getBlipFill().getBlip().getLink();
origin: org.docx4j/docx4j

String imgRelId = blip.getEmbed();    	
if (imgRelId!=null) {
  converter.handleImageRel(context.getImageHandler(), imgRelId, 
      (Part)context.getResolvedLayout().relationships.getSourceP());
} else if (blip.getLink()!=null) {
  converter.handleImageRel(context.getImageHandler(), blip.getLink(), 
      (Part)context.getResolvedLayout().relationships.getSourceP());
} else {
origin: org.docx4j/docx4j

if (blip.getLink()!=null) {
} else if (blip.getEmbed()!=null ) {
  String rId = blip.getEmbed();
  Part embeddedPart = sourcePart.getRelationshipsPart().getPart(rId);
  if (embeddedPart instanceof ImagePngPart
origin: org.docx4j/docx4j

if (blip.getEmbed()!=null) {
  String relId = blip.getEmbed();
} else if  (blip.getLink()!=null) {
org.docx4j.dmlCTBlip

Javadoc

Java class for CT_Blip complex type.

The following schema fragment specifies the expected content contained within this class.

 
<complexType name="CT_Blip"> 
<complexContent> 
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 
<sequence> 
<choice maxOccurs="unbounded" minOccurs="0"> 
<element name="alphaBiLevel" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaBiLevelEffect"/> 
<element name="alphaCeiling" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaCeilingEffect"/> 
<element name="alphaFloor" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaFloorEffect"/> 
<element name="alphaInv" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaInverseEffect"/> 
<element name="alphaMod" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaModulateEffect"/> 
<element name="alphaModFix" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaModulateFixedEffect"/> 
<element name="alphaRepl" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AlphaReplaceEffect"/> 
<element name="biLevel" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BiLevelEffect"/> 
<element name="blur" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BlurEffect"/> 
<element name="clrChange" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorChangeEffect"/> 
<element name="clrRepl" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorReplaceEffect"/> 
<element name="duotone" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_DuotoneEffect"/> 
<element name="fillOverlay" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FillOverlayEffect"/> 
<element name="grayscl" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GrayscaleEffect"/> 
<element name="hsl" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_HSLEffect"/> 
<element name="lum" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LuminanceEffect"/> 
<element name="tint" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TintEffect"/> 
</choice> 
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/> 
</sequence> 
<attGroup ref="{http://schemas.openxmlformats.org/drawingml/2006/main}AG_Blob"/> 
<attribute name="cstate" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_BlipCompression" default="none" /> 
</restriction> 
</complexContent> 
</complexType> 

Most used methods

  • <init>
  • setCstate
    Sets the value of the cstate property.
  • setEmbed
    Sets the value of the embed property.
  • getEmbed
    Embedded Picture Reference
  • getLink
    Linked Picture Reference
  • setParent

Popular in Java

  • Running tasks concurrently on multiple threads
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Reference (javax.naming)
  • JFileChooser (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