All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kz.greetgo.msoffice.docx.Shd Maven / Gradle / Ivy

There is a newer version: 0.5.9
Show newest version
package kz.greetgo.msoffice.docx;

import kz.greetgo.msoffice.util.UtilOffice;

import java.awt.*;
import java.io.PrintStream;

public class Shd implements XmlWriter {
  private String val;
  private String fill;
  private Color color = null;

  @Override
  public void write(PrintStream out) {
    if (getVal() == null) return;
    if (getFill() == null) return;
    String sColor = "auto";
    if (getColor() != null) {
      sColor = UtilOffice.toHEX(getColor());
    }
    out.print("");
  }

  public String getVal() {
    return val;
  }

  public void setVal(String val) {
    this.val = val;
  }

  public Color getColor() {
    return color;
  }

  public void setColor(Color color) {
    this.color = color;
  }

  public String getFill() {
    return fill;
  }

  public void setFill(String fill) {
    this.fill = fill;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy