19 package org.openoffice.xmerge.converter.xml.sxc;
21 import java.awt.Color;
39 final public static int BOLD = 0x01;
41 final public static int ITALIC = 0x02;
92 public Format(
int attributes,
int fontSize, String fontName) {
95 sizeInPoints = fontSize;
128 formatSpecifier =
"";
151 attributes &= ~flags;
165 if ((mask & attribute) == 0)
167 return ((attributes & attribute) != 0);
181 category = newCategory;
220 formatSpecifier = formatString;
238 decimalPlaces = precision;
274 sizeInPoints = fontSize;
329 foreground =
new Color(c.getRGB());
348 background =
new Color(c.getRGB());
385 if (background!=rhs.background)
388 if (rhs.
align!= align)
403 if (rhs.getClass() != this.
getClass())
412 if (fontName == null ? rhs.
fontName != null : !fontName.equals(rhs.
fontName))
418 if (background!=rhs.background)
421 if (rhs.
align!= align)
exports com.sun.star. java
PyRef getClass(const OUString &name, const Runtime &runtime)