Format Class
| Header: | #include <Format> |
| Inherits: | ExcelObject |
Public Functions
- 31 public functions inherited from QObject
Public Slots
| QString | getAlignH() const |
| QString | getAlignV() const |
| QString | getBorder(const QString &edge) const |
| QString | getBorderColor(const QString &edge) const |
| QString | getBorderDiagnoal() const |
| QString | getBorderDiagnoalColor() const |
| QString | getBorderDiagnoalStyle() const |
| QString | getFillPattern() const |
| Font * | getFont() |
| int | getIndent() const |
| QString | getNumFormat() const |
| QString | getPatternBackgroundColor() const |
| QString | getPatternForegroundColor() const |
| int | getRotation() const |
| bool | isHidden() const |
| bool | isLocked() const |
| bool | isShrinkToFit() const |
| bool | isWraped() const |
| void | setAlignH(const QString &align) |
| void | setAlignV(const QString &align) |
| void | setBorder(const QString &style, const QString &edge = QString( "ALL" )) |
| void | setBorderColor(const QString &color, const QString &edge = QString( "ALL" )) |
| void | setBorderDiagnoal(const QString &border) |
| void | setBorderDiagnoalColor(const QString &color) |
| void | setBorderDiagnoalStyle(const QString &style) |
| void | setFillPattern(const QString &pattern) |
| void | setFont(const Font *font) |
| void | setHidden(bool hidden = true) |
| void | setIndent(int indent) |
| void | setLocked(bool locked = true) |
| void | setNumFormat(const QString &numFormat) |
| void | setNumFormatCode(int formatCode) |
| void | setPatternBackgroundColor(const QString &color) |
| void | setPatternForegroundColor(const QString &color) |
| bool | setRotation(int rotation) |
| void | setShrinkToFit(bool shrinkToFit = true) |
| void | setWrap(bool wrap = true) |
- 1 public slot inherited from QObject
Protected Functions
| Format(Book *book, QObject *parent) |
- 2 protected functions inherited from ExcelObject
- 9 protected functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
Member Function Documentation
Format::Format(QObject *parent = nullptr)
Default constructs an instance of Format.
[protected] Format::Format(Book *book, QObject *parent)
Default constructs an instance of Format.
Format::~Format()
Destroys the instance of Format.
[slot] QString Format::getAlignH() const
Format::getAlignH Returns
[slot] QString Format::getAlignV() const
Format::getAlignV Returns
[slot] QString Format::getBorder(const QString &edge) const
Format::getBorder edge Returns
[slot] QString Format::getBorderColor(const QString &edge) const
Format::getBorderColor edge Returns
[slot] QString Format::getBorderDiagnoal() const
Format::getBorderDiagnoal Returns
[slot] QString Format::getBorderDiagnoalColor() const
Format::getBorderDiagnoalColor Returns
[slot] QString Format::getBorderDiagnoalStyle() const
Format::getBorderDiagnoalStyle Returns
[slot] QString Format::getFillPattern() const
Format::getFillPattern Returns
[slot] Font *Format::getFont()
Format::getFont Returns
[slot] int Format::getIndent() const
Format::getIndent Returns
[slot] QString Format::getNumFormat() const
Format::getNumFormat Returns
[slot] QString Format::getPatternBackgroundColor() const
Format::getPatternBackgroundColor Returns
[slot] QString Format::getPatternForegroundColor() const
Format::getPatternForegroundColor Returns
[slot] int Format::getRotation() const
Format::getRotation Returns
[slot] bool Format::isHidden() const
Format::isHidden Returns
[slot] bool Format::isLocked() const
Format::isLocked Returns
[slot] bool Format::isShrinkToFit() const
Format::isShrinkToFit Returns
[slot] bool Format::isWraped() const
Format::isWraped Returns
[slot] void Format::setAlignH(const QString &align)
Format::setAlignH align
[slot] void Format::setAlignV(const QString &align)
Format::setAlignV align
[slot] void Format::setBorder(const QString &style, const QString &edge = QString( "ALL" ))
Format::setBorder style edge
[slot] void Format::setBorderColor(const QString &color, const QString &edge = QString( "ALL" ))
Format::setBorderColor color edge
[slot] void Format::setBorderDiagnoal(const QString &border)
Format::setBorderDiagnoal border
[slot] void Format::setBorderDiagnoalColor(const QString &color)
Format::setBorderDiagnoalColor color
[slot] void Format::setBorderDiagnoalStyle(const QString &style)
Format::setBorderDiagnoalStyle style
[slot] void Format::setFillPattern(const QString &pattern)
Format::setFillPattern pattern
[slot] void Format::setFont(const Font *font)
Format::setFont font
[slot] void Format::setHidden(bool hidden = true)
Format::setHidden hidden
See also isHidden().
[slot] void Format::setIndent(int indent)
Format::setIndent indent
[slot] void Format::setLocked(bool locked = true)
Format::setLocked locked
See also isLocked().
[slot] void Format::setNumFormat(const QString &numFormat)
Format::setNumFormat numFormat
[slot] void Format::setNumFormatCode(int formatCode)
Format::setNumFormatCode formatCode
[slot] void Format::setPatternBackgroundColor(const QString &color)
Format::setPatternBackgroundColor color
[slot] void Format::setPatternForegroundColor(const QString &color)
Format::setPatternForegroundColor color
[slot] bool Format::setRotation(int rotation)
Format::setRotation rotation Returns
[slot] void Format::setShrinkToFit(bool shrinkToFit = true)
Format::setShrinkToFit shrinkToFit
See also isShrinkToFit().
[slot] void Format::setWrap(bool wrap = true)
Format::setWrap wrap