if (null == this.getWidthReference()) {
throw new MNullPropertyWebException("Invalid width: reference null.");
}
- return this.getWidthReference().getFormattedValue();
+ return this.getWidthReference().getCssValue();
}
/* Height */
if (null == this.getHeightReference()) {
throw new MNullPropertyWebException("Invalid height: reference null.");
}
- return this.getHeightReference().getFormattedValue();
+ return this.getHeightReference().getCssValue();
}
/* Foreground color */
if (null == this.getForegroundColorReference()) {
throw new MNullPropertyWebException("Invalid foreground color: reference null.");
}
- return this.getForegroundColorReference().getFormattedValue();
+ return this.getForegroundColorReference().getCssValue();
}
/* Background color */
if (null == this.getBackgroundColorReference()) {
throw new MNullPropertyWebException("Invalid background color: reference null.");
}
- return this.getBackgroundColorReference().getFormattedValue();
+ return this.getBackgroundColorReference().getCssValue();
}
/* Borders */
if (null == this.getTopBorderReference()) {
throw new MNullPropertyWebException("Invalid top border: reference null.");
}
- return this.getTopBorderReference().getFormattedValue();
+ return this.getTopBorderReference().getCssValue();
}
protected MWebBorder getRightBorderReference() {
if (null == this.getRightBorderReference()) {
throw new MNullPropertyWebException("Invalid right border: reference null.");
}
- return this.getRightBorderReference().getFormattedValue();
+ return this.getRightBorderReference().getCssValue();
}
protected MWebBorder getBottomBorderReference() {
if (null == this.getBottomBorderReference()) {
throw new MNullPropertyWebException("Invalid bottom border: reference null.");
}
- return this.getBottomBorderReference().getFormattedValue();
+ return this.getBottomBorderReference().getCssValue();
}
protected MWebBorder getLeftBorderReference() {
if (null == this.getLeftBorderReference()) {
throw new MNullPropertyWebException("Invalid left border: reference null.");
}
- return this.getLeftBorderReference().getFormattedValue();
+ return this.getLeftBorderReference().getCssValue();
}
/* Font */
if (null == this.getFontReference()) {
throw new MNullPropertyWebException("Invalid font: reference null.");
}
- return this.getFontReference().getFormattedValue();
+ return this.getFontReference().getCssValue();
}
/* Paddings */
if (null == this.getTopPaddingReference()) {
throw new MNullPropertyWebException("Invalid top padding: reference null.");
}
- return this.getTopPaddingReference().getFormattedValue();
+ return this.getTopPaddingReference().getCssValue();
}
protected MWebMeasure getRightPaddingReference() {
if (null == this.getRightPaddingReference()) {
throw new MNullPropertyWebException("Invalid right padding: reference null.");
}
- return this.getRightPaddingReference().getFormattedValue();
+ return this.getRightPaddingReference().getCssValue();
}
protected MWebMeasure getBottomPaddingReference() {
if (null == this.getBottomPaddingReference()) {
throw new MNullPropertyWebException("Invalid bottom padding: reference null.");
}
- return this.getBottomPaddingReference().getFormattedValue();
+ return this.getBottomPaddingReference().getCssValue();
}
protected MWebMeasure getLeftPaddingReference() {
if (null == this.getLeftPaddingReference()) {
throw new MNullPropertyWebException("Invalid left padding: reference null.");
}
- return this.getLeftPaddingReference().getFormattedValue();
+ return this.getLeftPaddingReference().getCssValue();
}
/* Text direction */