Examples of Shading


Examples of org.docx4j.model.properties.table.tc.Shading

    ctBrdr.setVal(STBorder.NONE);
    tableProperties.add(new BorderBottom(ctBrdr));
    shd.setColor("auto");
    shd.setFill("auto");
    shd.setVal(STShd.CLEAR);
    tableProperties.add(new Shading(shd));
  }
View Full Code Here

Examples of org.docx4j.model.properties.table.tc.Shading

  CTShd shd = null;
  int resColor = UnitsOfMeasurement.combineColors(fgColor, bgColor, pctFg);
    shd = Context.getWmlObjectFactory().createCTShd();
    shd.setVal(STShd.CLEAR);
    shd.setFill(calcHexColor(resColor));
    return new Shading(shd);
  }
View Full Code Here

Examples of org.docx4j.model.properties.table.tc.Shading

            // FOP doesn't support auto, but it degrades gracefully
        } // otherwise the default 'auto' is implied
    }
   
    if (tblPr.getShd() != null) {
      properties.add(new Shading(tblPr.getShd()));
    }
   
    return properties;   
  }
View Full Code Here

Examples of org.docx4j.model.properties.table.tc.Shading

    }
    if (tcPr.getVAlign()!=null) {
      properties.add(new org.docx4j.model.properties.table.tc.TextAlignmentVertical(tcPr.getVAlign() ) );
    }
    if (tcPr.getShd()!=null) {
      properties.add(new Shading(tcPr.getShd()));
    }
   
  }
View Full Code Here

Examples of org.pdfclown.documents.contents.objects.Shading

  {
    final Operation operation = parseOperation();
    if(operation instanceof PaintXObject) // External object.
      return new XObject((PaintXObject)operation);
    else if(operation instanceof PaintShading) // Shading.
      return new Shading((PaintShading)operation);
    else if(operation instanceof BeginSubpath
      || operation instanceof DrawRectangle) // Path.
      return parsePath(operation);
    else if(operation instanceof BeginText) // Text.
      return new Text(
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.