return _format.isLocked();
}
+ /**
+ * Turn on or off "Quote Prefix" or "123 Prefix" for the style,
+ * which is used to tell Excel that the thing which looks like
+ * a number or a formula shouldn't be treated as on.
+ */
+ @Override
+ public void setQuotePrefixed(boolean quotePrefix) {
+ _format.set123Prefix(quotePrefix);
+ }
+
+ /**
+ * Is "Quote Prefix" or "123 Prefix" enabled for the cell?
+ */
+ @Override
+ public boolean getQuotePrefixed() {
+ return _format.get123Prefix();
+ }
+
/**
* set the type of horizontal alignment for the cell
* @param align - the type of alignment
*/
boolean getLocked();
+
+ /**
+ * Turn on or off "Quote Prefix" or "123 Prefix" for the style,
+ * which is used to tell Excel that the thing which looks like
+ * a number or a formula shouldn't be treated as on.
+ * Turning this on is somewhat (but not completely, see {@link IgnoredErrorType})
+ * like prefixing the cell value with a ' in Excel
+ */
+ void setQuotePrefixed(boolean quotePrefix);
+
+ /**
+ * Is "Quote Prefix" or "123 Prefix" enabled for the cell?
+ * Having this on is somewhat (but not completely, see {@link IgnoredErrorType})
+ * like prefixing the cell value with a ' in Excel
+ */
+ boolean getQuotePrefixed();
/**
* set the type of horizontal alignment for the cell
import org.openxmlformats.schemas.spreadsheetml.x2006.main.STBorderStyle;
import org.openxmlformats.schemas.spreadsheetml.x2006.main.STPatternType;
-
/**
*
* High level representation of the the possible formatting information for the contents of the cells on a sheet in a
return _cellXf.getProtection().getLocked();
}
+ /**
+ * Is "Quote Prefix" or "123 Prefix" enabled for the cell?
+ */
+ @Override
+ public boolean getQuotePrefixed() {
+ return _cellXf.getQuotePrefix();
+ }
+
/**
* Get the color to use for the right border
*
}
_cellXf.getProtection().setLocked(locked);
}
+
+ /**
+ * Turn on or off "Quote Prefix" or "123 Prefix" for the style,
+ * which is used to tell Excel that the thing which looks like
+ * a number or a formula shouldn't be treated as on.
+ */
+ @Override
+ public void setQuotePrefixed(boolean quotePrefix) {
+ _cellXf.setQuotePrefix(quotePrefix);
+ }
/**
* Set the color to use for the right border