|
LibreOffice Module sc (master) 1
|
#include <xlstyle.hxx>#include <com/sun/star/awt/FontFamily.hpp>#include <com/sun/star/awt/FontSlant.hpp>#include <com/sun/star/awt/FontStrikeout.hpp>#include <com/sun/star/awt/FontUnderline.hpp>#include <com/sun/star/i18n/ScriptType.hpp>#include <vcl/svapp.hxx>#include <vcl/settings.hxx>#include <vcl/font.hxx>#include <sal/macros.h>#include <sal/log.hxx>#include <rtl/tencinfo.h>#include <svl/numformat.hxx>#include <svtools/colorcfg.hxx>#include <vcl/unohelp.hxx>#include <editeng/svxfont.hxx>#include <o3tl/unit_conversion.hxx>#include <global.hxx>#include <xlroot.hxx>#include <xltools.hxx>Go to the source code of this file.
Macros | |
| #define | EXC_PALETTE_EGA_COLORS_LIGHT Color(0x000000), Color(0xFFFFFF), Color(0xFF0000), Color(0x00FF00), Color(0x0000FF), Color(0xFFFF00), Color(0xFF00FF), Color(0x00FFFF) |
| Standard EGA colors, bright. More... | |
| #define | EXC_PALETTE_EGA_COLORS_DARK Color(0x800000), Color(0x008000), Color(0x000080), Color(0x808000), Color(0x800080), Color(0x008080), Color(0xC0C0C0), Color(0x808080) |
| Standard EGA colors, dark. More... | |
| #define | EXC_NUMFMT_STRING(nXclNumFmt, pcUtf8) { nXclNumFmt, pcUtf8, NF_NUMBER_STANDARD, 0 } |
| Defines a literal Excel built-in number format. More... | |
| #define | EXC_NUMFMT_OFFSET(nXclNumFmt, eOffset) { nXclNumFmt, nullptr, eOffset, 0 } |
| Defines an Excel built-in number format that maps to an own built-in format. More... | |
| #define | EXC_NUMFMT_REUSE(nXclNumFmt, nXclReuse) { nXclNumFmt, nullptr, PRV_NF_INDEX_REUSE, nXclReuse } |
| Defines an Excel built-in number format that is the same as the specified. More... | |
| #define | EXC_NUMFMT_ENDTABLE() { EXC_FORMAT_NOTFOUND, nullptr, NF_NUMBER_STANDARD, 0 } |
| Terminates an Excel built-in number format table. More... | |
| #define | UTF8_BAHT "\340\270\277" |
| #define | UTF8_EURO "\342\202\254" |
| #define | UTF8_POUND_UK "\302\243" |
| #define | UTF8_SHEQEL "\342\202\252" |
| #define | UTF8_WON "\357\277\246" |
| #define | UTF8_YEN_CS "\357\277\245" |
| #define | UTF8_YEN_JP "\302\245" |
| #define | UTF8_CJ_YEAR "\345\271\264" |
| #define | UTF8_CJ_MON "\346\234\210" |
| #define | UTF8_CJ_DAY "\346\227\245" |
| #define | UTF8_CJ_HOUR "\346\231\202" |
| #define | UTF8_CJ_MIN "\345\210\206" |
| #define | UTF8_CJ_SEC "\347\247\222" |
| #define | UTF8_CS_HOUR "\346\227\266" |
| #define | UTF8_KO_YEAR "\353\205\204" |
| #define | UTF8_KO_MON "\354\233\224" |
| #define | UTF8_KO_DAY "\354\235\274" |
| #define | UTF8_KO_HOUR "\354\213\234" |
| #define | UTF8_KO_MIN "\353\266\204" |
| #define | UTF8_KO_SEC "\354\264\210" |
Functions | |
| bool | operator== (const XclFontData &rLeft, const XclFontData &rRight) |
| bool | operator== (const XclCellProt &rLeft, const XclCellProt &rRight) |
| bool | operator== (const XclCellAlign &rLeft, const XclCellAlign &rRight) |
| bool | operator== (const XclCellBorder &rLeft, const XclCellBorder &rRight) |
| bool | operator== (const XclCellArea &rLeft, const XclCellArea &rRight) |
Variables | |
| const Color | spnDefColorTable2 [] |
| Default color table for BIFF2. More... | |
| const Color | spnDefColorTable3 [] |
| Default color table for BIFF3/BIFF4. More... | |
| const Color | spnDefColorTable5 [] |
| Default color table for BIFF5/BIFF7. More... | |
| const Color | spnDefColorTable8 [] |
| Default color table for BIFF8. More... | |
| #define EXC_NUMFMT_ENDTABLE | ( | ) | { EXC_FORMAT_NOTFOUND, nullptr, NF_NUMBER_STANDARD, 0 } |
Terminates an Excel built-in number format table.
Definition at line 797 of file xlstyle.cxx.
| #define EXC_NUMFMT_OFFSET | ( | nXclNumFmt, | |
| eOffset | |||
| ) | { nXclNumFmt, nullptr, eOffset, 0 } |
Defines an Excel built-in number format that maps to an own built-in format.
Definition at line 789 of file xlstyle.cxx.
| #define EXC_NUMFMT_REUSE | ( | nXclNumFmt, | |
| nXclReuse | |||
| ) | { nXclNumFmt, nullptr, PRV_NF_INDEX_REUSE, nXclReuse } |
Defines an Excel built-in number format that is the same as the specified.
Definition at line 793 of file xlstyle.cxx.
| #define EXC_NUMFMT_STRING | ( | nXclNumFmt, | |
| pcUtf8 | |||
| ) | { nXclNumFmt, pcUtf8, NF_NUMBER_STANDARD, 0 } |
Defines a literal Excel built-in number format.
Definition at line 785 of file xlstyle.cxx.
| #define EXC_PALETTE_EGA_COLORS_DARK Color(0x800000), Color(0x008000), Color(0x000080), Color(0x808000), Color(0x800080), Color(0x008080), Color(0xC0C0C0), Color(0x808080) |
Standard EGA colors, dark.
Definition at line 46 of file xlstyle.cxx.
| #define EXC_PALETTE_EGA_COLORS_LIGHT Color(0x000000), Color(0xFFFFFF), Color(0xFF0000), Color(0x00FF00), Color(0x0000FF), Color(0xFFFF00), Color(0xFF00FF), Color(0x00FFFF) |
Standard EGA colors, bright.
Definition at line 43 of file xlstyle.cxx.
| #define UTF8_BAHT "\340\270\277" |
Definition at line 801 of file xlstyle.cxx.
| #define UTF8_CJ_DAY "\346\227\245" |
Definition at line 812 of file xlstyle.cxx.
| #define UTF8_CJ_HOUR "\346\231\202" |
Definition at line 813 of file xlstyle.cxx.
| #define UTF8_CJ_MIN "\345\210\206" |
Definition at line 814 of file xlstyle.cxx.
| #define UTF8_CJ_MON "\346\234\210" |
Definition at line 811 of file xlstyle.cxx.
| #define UTF8_CJ_SEC "\347\247\222" |
Definition at line 815 of file xlstyle.cxx.
| #define UTF8_CJ_YEAR "\345\271\264" |
Definition at line 810 of file xlstyle.cxx.
| #define UTF8_CS_HOUR "\346\227\266" |
Definition at line 818 of file xlstyle.cxx.
| #define UTF8_EURO "\342\202\254" |
Definition at line 802 of file xlstyle.cxx.
| #define UTF8_KO_DAY "\354\235\274" |
Definition at line 823 of file xlstyle.cxx.
| #define UTF8_KO_HOUR "\354\213\234" |
Definition at line 824 of file xlstyle.cxx.
| #define UTF8_KO_MIN "\353\266\204" |
Definition at line 825 of file xlstyle.cxx.
| #define UTF8_KO_MON "\354\233\224" |
Definition at line 822 of file xlstyle.cxx.
| #define UTF8_KO_SEC "\354\264\210" |
Definition at line 826 of file xlstyle.cxx.
| #define UTF8_KO_YEAR "\353\205\204" |
Definition at line 821 of file xlstyle.cxx.
| #define UTF8_POUND_UK "\302\243" |
Definition at line 803 of file xlstyle.cxx.
| #define UTF8_SHEQEL "\342\202\252" |
Definition at line 804 of file xlstyle.cxx.
| #define UTF8_WON "\357\277\246" |
Definition at line 805 of file xlstyle.cxx.
| #define UTF8_YEN_CS "\357\277\245" |
Definition at line 806 of file xlstyle.cxx.
| #define UTF8_YEN_JP "\302\245" |
Definition at line 807 of file xlstyle.cxx.
| bool operator== | ( | const XclCellAlign & | rLeft, |
| const XclCellAlign & | rRight | ||
| ) |
Definition at line 1657 of file xlstyle.cxx.
References XclCellAlign::mbLineBreak, XclCellAlign::mbShrink, XclCellAlign::mnHorAlign, XclCellAlign::mnIndent, XclCellAlign::mnOrient, XclCellAlign::mnRotation, XclCellAlign::mnTextDir, and XclCellAlign::mnVerAlign.
| bool operator== | ( | const XclCellArea & | rLeft, |
| const XclCellArea & | rRight | ||
| ) |
Definition at line 1712 of file xlstyle.cxx.
References XclCellArea::mnBackColor, XclCellArea::mnForeColor, and XclCellArea::mnPattern.
| bool operator== | ( | const XclCellBorder & | rLeft, |
| const XclCellBorder & | rRight | ||
| ) |
Definition at line 1682 of file xlstyle.cxx.
References XclCellBorder::mbDiagBLtoTR, XclCellBorder::mbDiagTLtoBR, XclCellBorder::mnBottomColor, XclCellBorder::mnBottomLine, XclCellBorder::mnDiagColor, XclCellBorder::mnDiagLine, XclCellBorder::mnLeftColor, XclCellBorder::mnLeftLine, XclCellBorder::mnRightColor, XclCellBorder::mnRightLine, XclCellBorder::mnTopColor, and XclCellBorder::mnTopLine.
| bool operator== | ( | const XclCellProt & | rLeft, |
| const XclCellProt & | rRight | ||
| ) |
Definition at line 1544 of file xlstyle.cxx.
References XclCellProt::mbHidden, and XclCellProt::mbLocked.
| bool operator== | ( | const XclFontData & | rLeft, |
| const XclFontData & | rRight | ||
| ) |
Definition at line 518 of file xlstyle.cxx.
References XclFontData::maComplexColor, XclFontData::maName, XclFontData::mbItalic, XclFontData::mbOutline, XclFontData::mbShadow, XclFontData::mbStrikeout, XclFontData::mnCharSet, XclFontData::mnEscapem, XclFontData::mnFamily, XclFontData::mnHeight, XclFontData::mnUnderline, and XclFontData::mnWeight.
Referenced by ScUserList::operator!=(), ScViewOptions::operator!=(), ScSingleRefToken::operator==(), ScDoubleRefToken::operator==(), ScMatrixToken::operator==(), ScMatrixRangeToken::operator==(), ScJumpMatrixToken::operator==(), ScEmptyCellToken::operator==(), ScMatrixCellResultToken::operator==(), ScHybridCellToken::operator==(), ScSingleRefToken::TextEqual(), and ScDoubleRefToken::TextEqual().
| const Color spnDefColorTable2[] |
Default color table for BIFF2.
Definition at line 50 of file xlstyle.cxx.
Referenced by XclDefaultPalette::XclDefaultPalette().
| const Color spnDefColorTable3[] |
Default color table for BIFF3/BIFF4.
Definition at line 56 of file xlstyle.cxx.
Referenced by XclDefaultPalette::XclDefaultPalette().
| const Color spnDefColorTable5[] |
Default color table for BIFF5/BIFF7.
Definition at line 64 of file xlstyle.cxx.
Referenced by XclDefaultPalette::XclDefaultPalette().
| const Color spnDefColorTable8[] |
Default color table for BIFF8.
Definition at line 77 of file xlstyle.cxx.
Referenced by XclDefaultPalette::XclDefaultPalette().