Patch level : 10.0 no patch
Files correlati : pd6342.exe Ricompilazione Demo : [ ] Commento : Sheet Habilita 1 versione git-svn-id: svn://10.65.10.50/branches/R_10_00@21097 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3bf286a50b
commit
dac1a8ba94
@ -167,6 +167,11 @@ bool TRecordset::save_as_html(const char* path)
|
||||
for (unsigned int c = 0; c < cols; c++)
|
||||
{
|
||||
const TRecordset_column_info& ci = column_info(c);
|
||||
TAttributes attr;
|
||||
|
||||
if (get_attr(c, attr))
|
||||
out << " <td style=\"color : #" << format("%06x", attr.get_foreground() & 0xFFFFFF) << "; background-color : #" << format("%06x", attr.get_background() & 0xFFFFFF) << "\">" ;
|
||||
else
|
||||
out << " <td>";
|
||||
switch (ci._type)
|
||||
{
|
||||
@ -177,15 +182,19 @@ bool TRecordset::save_as_html(const char* path)
|
||||
val.cut(0);
|
||||
if (r != 0)
|
||||
val << r;
|
||||
else
|
||||
get(c).as_string(val);
|
||||
}
|
||||
break;
|
||||
case _realfld:
|
||||
{
|
||||
const real r = get(c).as_real();
|
||||
if (r.is_zero())
|
||||
val.cut(0);
|
||||
else
|
||||
get(c).as_string(val);
|
||||
|
||||
if (real::is_real(val))
|
||||
{
|
||||
const real r(val);
|
||||
val = r.stringe();
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
@ -13,6 +13,10 @@
|
||||
#include <variant.h>
|
||||
#endif
|
||||
|
||||
#ifndef __XVT_H
|
||||
#include <xvt.h>
|
||||
#endif
|
||||
|
||||
struct TRecordset_column_info : public TObject
|
||||
{
|
||||
TString _name; // Table.Column
|
||||
@ -26,6 +30,29 @@ struct TRecordset_column_info : public TObject
|
||||
TRecordset_column_info() : _width(0), _pos(0), _type(_alfafld) {}
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// TAttributes
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
struct TAttributes : public TObject
|
||||
{
|
||||
XVT_FNTID _font;
|
||||
COLOR _back;
|
||||
COLOR _fore;
|
||||
|
||||
public:
|
||||
XVT_FNTID get_font() const{ return _font; }
|
||||
COLOR get_background() const { return _back; }
|
||||
COLOR get_foreground() const { return _fore; }
|
||||
void set_font(XVT_FNTID font) { _font = font; }
|
||||
void set_background(COLOR back) { _back = back; }
|
||||
void set_foreground(COLOR fore) { _fore = fore; }
|
||||
|
||||
TAttributes() : _font(NULL), _back(COLOR_INVALID), _fore(COLOR_INVALID) {}
|
||||
virtual ~TAttributes() {}
|
||||
};
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// TRecordset
|
||||
///////////////////////////////////////////////////////////
|
||||
@ -40,13 +67,12 @@ class TRecordset : public TObject
|
||||
char _text_separator;
|
||||
|
||||
protected:
|
||||
bool save_as_html(const char* path);
|
||||
bool save_as_silk(const char* path);
|
||||
bool save_as_text(const char* path);
|
||||
bool save_as_as400(const char* path) { set_text_separator(' '); return save_as_text(path);}
|
||||
bool save_as_csv(const char* path) { set_text_separator(';'); return save_as_text(path);}
|
||||
bool save_as_campo(const char* path);
|
||||
bool save_as_dbf(const char* table, int mode);
|
||||
virtual bool save_as_html(const char* path);
|
||||
virtual bool save_as_text(const char* path);
|
||||
virtual bool save_as_as400(const char* path) { set_text_separator(' '); return save_as_text(path);}
|
||||
virtual bool save_as_csv(const char* path) { set_text_separator(';'); return save_as_text(path);}
|
||||
virtual bool save_as_campo(const char* path);
|
||||
virtual bool save_as_dbf(const char* table, int mode);
|
||||
|
||||
void find_and_reset_vars();
|
||||
void parsed_text(TString& sql) const;
|
||||
@ -84,6 +110,8 @@ public: // Absolutely needed methods
|
||||
|
||||
virtual int find_column(const char* column_name) const;
|
||||
virtual const TVariant& get(const char* column_name) const;
|
||||
virtual bool get_attr(int column, TAttributes & attr) const { return false; }
|
||||
bool get_attr(const char* column_name, TAttributes & attr) const { return get_attr(column_name, attr); }
|
||||
virtual const TToken_string& sheet_head() const;
|
||||
|
||||
// mode = 0|1=append 2=update 3=update|append 4=zap before writing
|
||||
|
631
ps/pd6342500.cpp
631
ps/pd6342500.cpp
@ -10,6 +10,7 @@
|
||||
#include "../ca/calib01.h"
|
||||
#include "../ca/calib02.h"
|
||||
#include "../ca/commesse.h"
|
||||
#include "../ca/fasi.h"
|
||||
#include "../ca/pconana.h"
|
||||
#include "../ca/saldana.h"
|
||||
#include "../ve/velib.h"
|
||||
@ -17,585 +18,12 @@
|
||||
|
||||
#define FIRST_ROW 5
|
||||
#define FIRST_COL 2
|
||||
#define COLOR_GREY 0x545454
|
||||
#define COLOR_SILVER 0xC0C0C0
|
||||
#define COLOR_GREY00 0xBEBEBE
|
||||
#define COLOR_LIGHTGRAY 0xD3D3D3
|
||||
#define COLOR_LIGHTSLATEGREY 0x778899
|
||||
#define COLOR_SLATEGRAY 0x708090
|
||||
#define COLOR_SLATEGRAY1 0xC6E2FF
|
||||
#define COLOR_SLATEGRAY2 0xB9D3EE
|
||||
#define COLOR_SLATEGRAY3 0x9FB6CD
|
||||
#define COLOR_SLATEGRAY4 0x6C7B8B
|
||||
#define COLOR_GREY0 0x000000
|
||||
#define COLOR_GREY1 0x030303
|
||||
#define COLOR_GREY2 0x50505
|
||||
#define COLOR_GREY3 0x80808
|
||||
#define COLOR_GREY4 0x0A0A0A
|
||||
#define COLOR_GREY5 0x0D0D0D
|
||||
#define COLOR_GREY6 0x0F0F0F
|
||||
#define COLOR_GREY7 0x121212
|
||||
#define COLOR_GREY8 0x141414
|
||||
#define COLOR_GREY9 0x171717
|
||||
#define COLOR_GREY10 0x1A1A1A
|
||||
#define COLOR_GREY11 0x1C1C1C
|
||||
#define COLOR_GREY12 0x1F1F1F
|
||||
#define COLOR_GREY13 0x212121
|
||||
#define COLOR_GREY14 0x242424
|
||||
#define COLOR_GREY15 0x262626
|
||||
#define COLOR_GREY16 0x292929
|
||||
#define COLOR_GREY17 0x2B2B2B
|
||||
#define COLOR_GREY18 0x2E2E2E
|
||||
#define COLOR_GREY19 0x303030
|
||||
#define COLOR_GREY20 0x333333
|
||||
#define COLOR_GREY21 0x363636
|
||||
#define COLOR_GREY22 0x383838
|
||||
#define COLOR_GREY23 0x3B3B3B
|
||||
#define COLOR_GREY24 0x3D3D3D
|
||||
#define COLOR_GREY25 0x404040
|
||||
#define COLOR_GREY26 0x424242
|
||||
#define COLOR_GREY27 0x454545
|
||||
#define COLOR_GREY28 0x474747
|
||||
#define COLOR_GREY29 0x4A4A4A
|
||||
#define COLOR_GREY30 0x4D4D4D
|
||||
#define COLOR_GREY31 0x4F4F4F
|
||||
#define COLOR_GREY32 0x525252
|
||||
#define COLOR_GREY33 0x545454
|
||||
#define COLOR_GREY34 0x575757
|
||||
#define COLOR_GREY35 0x595959
|
||||
#define COLOR_GREY36 0x5C5C5C
|
||||
#define COLOR_GREY37 0x5E5E5E
|
||||
#define COLOR_GREY38 0x616161
|
||||
#define COLOR_GREY39 0x636363
|
||||
#define COLOR_GREY40 0x666666
|
||||
#define COLOR_GREY41 0x696969
|
||||
#define COLOR_GREY42 0x6B6B6B
|
||||
#define COLOR_GREY43 0x6E6E6E
|
||||
#define COLOR_GREY44 0x707070
|
||||
#define COLOR_GREY45 0x737373
|
||||
#define COLOR_GREY46 0x757575
|
||||
#define COLOR_GREY47 0x787878
|
||||
#define COLOR_GREY48 0x7A7A7A
|
||||
#define COLOR_GREY49 0x7D7D7D
|
||||
#define COLOR_GREY50 0x7F7F7F
|
||||
#define COLOR_GREY51 0x828282
|
||||
#define COLOR_GREY52 0x858585
|
||||
#define COLOR_GREY53 0x878787
|
||||
#define COLOR_GREY54 0x8A8A8A
|
||||
#define COLOR_GREY55 0x8C8C8C
|
||||
#define COLOR_GREY56 0x8F8F8F
|
||||
#define COLOR_GREY57 0x919191
|
||||
#define COLOR_GREY58 0x949494
|
||||
#define COLOR_GREY59 0x969696
|
||||
#define COLOR_GREY60 0x999999
|
||||
#define COLOR_GREY61 0x9C9C9C
|
||||
#define COLOR_GREY62 0x9E9E9E
|
||||
#define COLOR_GREY63 0xA1A1A1
|
||||
#define COLOR_GREY64 0xA3A3A3
|
||||
#define COLOR_GREY65 0xA6A6A6
|
||||
#define COLOR_GREY66 0xA8A8A8
|
||||
#define COLOR_GREY67 0xABABAB
|
||||
#define COLOR_GREY68 0xADADAD
|
||||
#define COLOR_GREY69 0xB0B0B0
|
||||
#define COLOR_GREY70 0xB3B3B3
|
||||
#define COLOR_GREY71 0xB5B5B5
|
||||
#define COLOR_GREY72 0xB8B8B8
|
||||
#define COLOR_GREY73 0xBABABA
|
||||
#define COLOR_GREY74 0xBDBDBD
|
||||
#define COLOR_GREY75 0xBFBFBF
|
||||
#define COLOR_GREY76 0xC2C2C2
|
||||
#define COLOR_GREY77 0xC4C4C4
|
||||
#define COLOR_GREY78 0xC7C7C7
|
||||
#define COLOR_GREY79 0xC9C9C9
|
||||
#define COLOR_GREY80 0xCCCCCC
|
||||
#define COLOR_GREY81 0xCFCFCF
|
||||
#define COLOR_GREY82 0xD1D1D1
|
||||
#define COLOR_GREY83 0xD4D4D4
|
||||
#define COLOR_GREY84 0xD6D6D6
|
||||
#define COLOR_GREY85 0xD9D9D9
|
||||
#define COLOR_GREY86 0xDBDBDB
|
||||
#define COLOR_GREY87 0xDEDEDE
|
||||
#define COLOR_GREY88 0xE0E0E0
|
||||
#define COLOR_GREY89 0xE3E3E3
|
||||
#define COLOR_GREY90 0xE5E5E5
|
||||
#define COLOR_GREY91 0xE8E8E8
|
||||
#define COLOR_GREY92 0xEBEBEB
|
||||
#define COLOR_GREY93 0xEDEDED
|
||||
#define COLOR_GREY94 0xF0F0F0
|
||||
#define COLOR_GREY95 0xF2F2F2
|
||||
#define COLOR_GREY96 0xF5F5F5
|
||||
#define COLOR_GREY97 0xF7F7F7
|
||||
#define COLOR_GREY98 0xFAFAFA
|
||||
#define COLOR_GREY99 0xFCFCFC
|
||||
#define COLOR_DARKSLATEGREY 0x2F4F4F
|
||||
#define COLOR_DIMGREY 0x545454
|
||||
#define COLOR_LIGHTGREY 0xDBDB70
|
||||
#define COLOR_VERYLIGHTGREY 0xCDCDCD
|
||||
#define COLOR_FREESPEECH_GREY 0x635688
|
||||
#define COLOR_ALICEBLUE 0xF0F8FF
|
||||
#define COLOR_BLUEVIOLET 0x8A2BE2
|
||||
#define COLOR_CADET BLUE 0x5F9F9F
|
||||
#define COLOR_CADETBLUE 0x5F9EA0
|
||||
#define COLOR_CADETBLUE 0x5F9EA0
|
||||
#define COLOR_CADETBLUE1 0x98F5FF
|
||||
#define COLOR_CADETBLUE2 0x8EE5EE
|
||||
#define COLOR_CADETBLUE3 0x7AC5CD
|
||||
#define COLOR_CADETBLUE4 0x53868B
|
||||
#define COLOR_CORNFLOWERBLUE 0x42426F
|
||||
#define COLOR_CORNFLOWERBLUE1 0x6495ED
|
||||
#define COLOR_DARKSLATEBLUE 0x483D8B
|
||||
#define COLOR_DARKTURQUOISE 0x00CED1
|
||||
#define COLOR_DEEPSKYBLUE 0x00BFFF
|
||||
#define COLOR_DEEPSKYBLUE1 0x00BFFF
|
||||
#define COLOR_DEEPSKYBLUE2 0x00B2EE
|
||||
#define COLOR_DEEPSKYBLUE3 0x009ACD
|
||||
#define COLOR_DEEPSKYBLUE4 0x00688B
|
||||
#define COLOR_DODGERBLUE 0x1E90FF
|
||||
#define COLOR_DODGERBLUE1 0x1E90FF
|
||||
#define COLOR_DODGERBLUE2 0x1C86EE
|
||||
#define COLOR_DODGERBLUE3 0x1874CD
|
||||
#define COLOR_DODGERBLUE4 0x104E8B
|
||||
#define COLOR_LIGHTBLUE 0xADD8E6
|
||||
#define COLOR_LIGHTBLUE1 0xBFEFFF
|
||||
#define COLOR_LIGHTBLUE2 0xB2DFEE
|
||||
#define COLOR_LIGHTBLUE3 0x9AC0CD
|
||||
#define COLOR_LIGHTBLUE4 0x68838B
|
||||
#define COLOR_LIGHTCYAN 0xE0FFFF
|
||||
#define COLOR_LIGHTCYAN1 0xE0FFFF
|
||||
#define COLOR_LIGHTCYAN2 0xD1EEEE
|
||||
#define COLOR_LIGHTCYAN3 0xB4CDCD
|
||||
#define COLOR_LIGHTCYAN4 0x7A8B8B
|
||||
#define COLOR_LIGHTSKYBLUE 0x87CEFA
|
||||
#define COLOR_LIGHTSKYBLUE1 0xB0E2FF
|
||||
#define COLOR_LIGHTSKYBLUE2 0xA4D3EE
|
||||
#define COLOR_LIGHTSKYBLUE3 0x8DB6CD
|
||||
#define COLOR_LIGHTSKYBLUE4 0x607B8B
|
||||
#define COLOR_LIGHTSLATEBLUE 0x8470FF
|
||||
#define COLOR_LIGHTSTEELBLUE 0xB0C4DE
|
||||
#define COLOR_LIGHTSTEELBLUE1 0xCAE1FF
|
||||
#define COLOR_LIGHTSTEELBLUE2 0xBCD2EE
|
||||
#define COLOR_LIGHTSTEELBLUE3 0xA2B5CD
|
||||
#define COLOR_LIGHTSTEELBLUE4 0x6E7B8B
|
||||
#define COLOR_AQUAMARINE 0x70DB93
|
||||
#define COLOR_MEDIUMBLUE 0x0000CD
|
||||
#define COLOR_MEDIUMSLATEBLUE 0x7B68EE
|
||||
#define COLOR_MEDIUMTURQUOISE 0x48D1CC
|
||||
#define COLOR_MIDNIGHTBLUE 0x191970
|
||||
#define COLOR_NAVYBLUE1 0x000080
|
||||
#define COLOR_PALETURQUOISE 0xAFEEEE
|
||||
#define COLOR_PALETURQUOISE1 0xBBFFFF
|
||||
#define COLOR_PALETURQUOISE2 0xAEEEEE
|
||||
#define COLOR_PALETURQUOISE3 0x96CDCD
|
||||
#define COLOR_PALETURQUOISE4 0x668B8B
|
||||
#define COLOR_POWDERBLUE 0xB0E0E6
|
||||
#define COLOR_ROYALBLUE 0x041690
|
||||
#define COLOR_ROYALBLUE1 0x4876FF
|
||||
#define COLOR_ROYALBLUE2 0x436EEE
|
||||
#define COLOR_ROYALBLUE3 0x3A5FCD
|
||||
#define COLOR_ROYALBLUE4 0x27408B
|
||||
#define COLOR_ROYALBLUE5 0x002266
|
||||
#define COLOR_SKYBLUE 0x87CEEB
|
||||
#define COLOR_SKYBLUE1 0x87CEFF
|
||||
#define COLOR_SKYBLUE2 0x7EC0EE
|
||||
#define COLOR_SKYBLUE3 0x6CA6CD
|
||||
#define COLOR_SKYBLUE4 0x4A708B
|
||||
#define COLOR_SLATEBLUE 0x6A5ACD
|
||||
#define COLOR_SLATEBLUE1 0x836FFF
|
||||
#define COLOR_SLATEBLUE2 0x7A67EE
|
||||
#define COLOR_SLATEBLUE3 0x6959CD
|
||||
#define COLOR_SLATEBLUE4 0x473C8B
|
||||
#define COLOR_STEELBLUE 0x4682B4
|
||||
#define COLOR_STEELBLUE1 0x63B8FF
|
||||
#define COLOR_STEELBLUE2 0x5CACEE
|
||||
#define COLOR_STEELBLUE3 0x4F94CD
|
||||
#define COLOR_STEELBLUE4 0x36648B
|
||||
#define COLOR_AQUAMARINE0 0x7FFFD4
|
||||
#define COLOR_AQUAMARINE1 0x7FFFD4
|
||||
#define COLOR_AQUAMARINE2 0x76EEC6
|
||||
#define COLOR_AQUAMARINE3 0x66CDAA
|
||||
#define COLOR_MEDIUMAQUAMARINE 0xAQUAMA
|
||||
#define COLOR_AQUAMARINE4 0x458B74
|
||||
#define COLOR_AZURE 0xF0FFFF
|
||||
#define COLOR_AZURE1 0xF0FFFF
|
||||
#define COLOR_AZURE2 0xE0EEEE
|
||||
#define COLOR_AZURE3 0xC1CDCD
|
||||
#define COLOR_AZURE4 0x838B8B
|
||||
#define COLOR_BLUE1 0x0000FF
|
||||
#define COLOR_BLUE2 0x0000EE
|
||||
#define COLOR_BLUE3 0x0000CD
|
||||
#define COLOR_BLUE4 0x00008B
|
||||
#define COLOR_AQUA 0x00FFFF
|
||||
#define COLOR_CYAN1 0x00FFFF
|
||||
#define COLOR_CYAN2 0x00EEEE
|
||||
#define COLOR_CYAN3 0x00CDCD
|
||||
#define COLOR_CYAN4 0x008B8B
|
||||
#define COLOR_NAVY 0x000080
|
||||
#define COLOR_TEAL 0x008080
|
||||
#define COLOR_TURQUOISE 0x40E0D0
|
||||
#define COLOR_TURQUOISE1 0x00F5FF
|
||||
#define COLOR_TURQUOISE2 0x00E5EE
|
||||
#define COLOR_TURQUOISE3 0x00C5CD
|
||||
#define COLOR_TURQUOISE4 0x00868B
|
||||
#define COLOR_DARKSLATEGRAY 0x2F4F4F
|
||||
#define COLOR_DARKSLATEGRAY1 0x97FFFF
|
||||
#define COLOR_DARKSLATEGRAY2 0x8DEEEE
|
||||
#define COLOR_DARKSLATEGRAY3 0x79CDCD
|
||||
#define COLOR_DARKSLATEGRAY4 0x528B8B
|
||||
#define COLOR_DARKSLATEBLUE0 0x241882
|
||||
#define COLOR_DARKTURQUOISE0 0x7093DB
|
||||
#define COLOR_LIGHTBLUE5 0xCD7F32
|
||||
#define COLOR_MEDIUMBLUE1 0xCD7F32
|
||||
#define COLOR_MEDIUMSLATEBLUE1 0x7F00FF
|
||||
#define COLOR_MEDIUMTURQUOISE1 0x70DBDB
|
||||
#define COLOR_MIDNIGHTBLUE1 0x2F2F4F
|
||||
#define COLOR_NAVYBLUE 0x23238E
|
||||
#define COLOR_NEONBLUE 0x4D4DFF
|
||||
#define COLOR_NEWMIDNIGHTBLUE 0x00009C
|
||||
#define COLOR_RICHBLUE 0x5959AB
|
||||
#define COLOR_SKYBLUE5 0x0099CC
|
||||
#define COLOR_SLATEBLUE5 0x007FFF
|
||||
#define COLOR_SUMMERSKY 0x00B0DE
|
||||
#define COLOR_IRISBLUE 0x03B4C8
|
||||
#define COLOR_FREESPEECHBLUE 0x4156C5
|
||||
#define COLOR_ROSYBROWN 0xBC8F8F
|
||||
#define COLOR_ROSYBROWN1 0xFFC1C1
|
||||
#define COLOR_ROSYBROWN2 0xEEB4B4
|
||||
#define COLOR_ROSYBROWN3 0xCD9B9B
|
||||
#define COLOR_ROSYBROWN4 0x8B6969
|
||||
#define COLOR_SADDLEBROWN 0x8B4513
|
||||
#define COLOR_SANDYBROWN 0xF4A460
|
||||
#define COLOR_BEIGE 0xF5F5DC
|
||||
#define COLOR_BROWN 0xA52A2A
|
||||
#define COLOR_BROWN0 0xA62A2A
|
||||
#define COLOR_BROWN1 0xFF4040
|
||||
#define COLOR_BROWN2 0xEE3B3B
|
||||
#define COLOR_BROWN3 0xCD3333
|
||||
#define COLOR_BROWN4 0x8B2323
|
||||
#define COLOR_DARKBROWN 0x5C4033
|
||||
#define COLOR_BURLYWOOD 0xDEB887
|
||||
#define COLOR_BURLYWOOD1 0xFFD39B
|
||||
#define COLOR_BURLYWOOD2 0xEEC591
|
||||
#define COLOR_BURLYWOOD3 0xCDAA7D
|
||||
#define COLOR_BURLYWOOD4 0x8B7355
|
||||
#define COLOR_BAKERSCHOCOLATE 0x5C3317
|
||||
#define COLOR_CHOCOLATE 0xD2691E
|
||||
#define COLOR_CHOCOLATE1 0xFF7F24
|
||||
#define COLOR_CHOCOLATE2 0xEE7621
|
||||
#define COLOR_CHOCOLATE3 0xCD661D
|
||||
#define COLOR_CHOCOLATE4 0x8B4513
|
||||
#define COLOR_PERU 0xCD853F
|
||||
#define COLOR_TAN 0xD2B48C
|
||||
#define COLOR_TAN1 0xFFA54F
|
||||
#define COLOR_TAN2 0xEE9A49
|
||||
#define COLOR_TAN3 0xCD853F
|
||||
#define COLOR_TAN4 0x8B5A2B
|
||||
#define COLOR_DARKTAN 0x97694F
|
||||
#define COLOR_DARKWOOD 0x855E42
|
||||
#define COLOR_LIGHTWOOD 0x856363
|
||||
#define COLOR_MEDIUMWOOD 0xA68064
|
||||
#define COLOR_NEWTAN 0xEBC79E
|
||||
#define COLOR_SEMISWEETCHOCOLATE 0x06B422
|
||||
#define COLOR_SIENNA5 0x8E6B23
|
||||
#define COLOR_TAN5 0xDB9370
|
||||
#define COLOR_VERYDARKBROWN 0x5C4033
|
||||
#define COLOR_DARKGREEN 0x2F4F2F
|
||||
#define COLOR_DARKGREENCOPPER 0x4A766E
|
||||
#define COLOR_DARKKHAKI 0xBDB76B
|
||||
#define COLOR_DARKOLIVEGREEN 0x556B2F
|
||||
#define COLOR_DARKOLIVEGREEN1 0xCAFF70
|
||||
#define COLOR_DARKOLIVEGREEN2 0xBCEE68
|
||||
#define COLOR_DARKOLIVEGREEN3 0xA2CD5A
|
||||
#define COLOR_DARKOLIVEGREEN4 0x6E8B3D
|
||||
#define COLOR_OLIVE 0x808000
|
||||
#define COLOR_DARKSEAGREEN 0x8FBC8F
|
||||
#define COLOR_DARKSEAGREEN1 0xC1FFC1
|
||||
#define COLOR_DARKSEAGREEN2 0xB4EEB4
|
||||
#define COLOR_DARKSEAGREEN3 0x9BCD9B
|
||||
#define COLOR_DARKSEAGREEN4 0x698B69
|
||||
#define COLOR_FORESTGREEN 0x228B22
|
||||
#define COLOR_GREENYELLOW 0xADFF2F
|
||||
#define COLOR_LAWNGREEN 0x7CFC00
|
||||
#define COLOR_LIGHTSEAGREEN 0x20B2AA
|
||||
#define COLOR_LIMEGREEN 0x32CD32
|
||||
#define COLOR_MEDIUMSEAGREEN 0x3CB371
|
||||
#define COLOR_MEDIUMSPRINGGREEN 0x00FA9A
|
||||
#define COLOR_MINTCREAM 0xF5FFFA
|
||||
#define COLOR_OLIVEDRAB 0x6B8E23
|
||||
#define COLOR_OLIVEDRAB1 0xC0FF3E
|
||||
#define COLOR_OLIVEDRAB2 0xB3EE3A
|
||||
#define COLOR_OLIVEDRAB3 0x9ACD32
|
||||
#define COLOR_OLIVEDRAB4 0x698B22
|
||||
#define COLOR_PALEGREEN 0x98FB98
|
||||
#define COLOR_PALEGREEN1 0x9AFF9A
|
||||
#define COLOR_PALEGREEN2 0x90EE90
|
||||
#define COLOR_PALEGREEN3 0x7CCD7C
|
||||
#define COLOR_PALEGREEN4 0x548B54
|
||||
#define COLOR_SEAGREEN 0x2E8B57
|
||||
#define COLOR_SEAGREEN1 0x54FF9F
|
||||
#define COLOR_SEAGREEN2 0x4EEE94
|
||||
#define COLOR_SEAGREEN3 0x43CD80
|
||||
#define COLOR_SEAGREEN4 0xCOLOR_
|
||||
#define COLOR_SPRINGGREEN 0x00FF7F
|
||||
#define COLOR_SPRINGGREEN1 0x00FF7F
|
||||
#define COLOR_SPRINGGREEN2 0x00EE76
|
||||
#define COLOR_SPRINGGREEN3 0x00CD66
|
||||
#define COLOR_SPRINGGREEN4 0x008B45
|
||||
#define COLOR_YELLOWGREEN 0x9ACD32
|
||||
#define COLOR_CHARTREUSE 0x7FFF00
|
||||
#define COLOR_CHARTREUSE1 0x7FFF00
|
||||
#define COLOR_CHARTREUSE2 0x76EE00
|
||||
#define COLOR_CHARTREUSE3 0x66CD00
|
||||
#define COLOR_CHARTREUSE4 0x458B00
|
||||
#define COLOR_GREEN0 0x008000
|
||||
#define COLOR_LIME 0x00FF00
|
||||
#define COLOR_GREEN1 0x00FF00
|
||||
#define COLOR_GREEN2 0x00EE00
|
||||
#define COLOR_GREEN3 0x00CD00
|
||||
#define COLOR_GREEN4 0x008B00
|
||||
#define COLOR_KHAKI 0xF0E68C
|
||||
#define COLOR_KHAKI1 0xFFF68F
|
||||
#define COLOR_KHAKI2 0xEEE685
|
||||
#define COLOR_KHAKI3 0xCDC673
|
||||
#define COLOR_KHAKI4 0x8B864E
|
||||
#define COLOR_DARKOLIVEGREEN5 0x4F4F2F
|
||||
#define COLOR_GREEN_YELLOW 0xD19275
|
||||
#define COLOR_HUNTERGREEN 0x8E2323
|
||||
#define COLOR_FORESTGREEN1 0x238E23
|
||||
#define COLOR_KHAKIMEDIUM 0xFOREST
|
||||
#define COLOR_AQUAMARINE5 0xFOREST
|
||||
#define COLOR_LIMEGREEN1 0xD19275
|
||||
#define COLOR_MEDIUMFORESTGREEN 0xDBDB70
|
||||
#define COLOR_MEDIUMSEAGREEN1 0x426F42
|
||||
#define COLOR_MEDIUMSPRINGGREEN1 0x7FFF00
|
||||
#define COLOR_PALEGREEN5 0x8FBC8F
|
||||
#define COLOR_SEA_GREEN 0x238E68
|
||||
#define COLOR_SPRINGGREEN 0x00FF7F
|
||||
#define COLOR_FREESPEECHGREEN 0x09F911
|
||||
#define COLOR_FREESPEECHAQUAMARINE 0x029D74
|
||||
#define COLOR_DARKORANGE 0xFF8C00
|
||||
#define COLOR_DARKORANGE1 0xFF7F00
|
||||
#define COLOR_DARKORANGE2 0xEE7600
|
||||
#define COLOR_DARKORANGE3 0xCD6600
|
||||
#define COLOR_DARKORANGE4 0x8B4500
|
||||
#define COLOR_DARKSALMON 0xE9967A
|
||||
#define COLOR_LIGHTCORAL 0xF08080
|
||||
#define COLOR_LIGHTSALMON 0xFFA07A
|
||||
#define COLOR_LIGHTSALMON1 0xFFA07A
|
||||
#define COLOR_LIGHTSALMON2 0xEE9572
|
||||
#define COLOR_LIGHTSALMON3 0xCD8162
|
||||
#define COLOR_LIGHTSALMON4 0x8B5742
|
||||
#define COLOR_PEACHPUFF 0xFFDAB9
|
||||
#define COLOR_PEACHPUFF1 0xFFDAB9
|
||||
#define COLOR_PEACHPUFF2 0xEECBAD
|
||||
#define COLOR_PEACHPUFF3 0xCDAF95
|
||||
#define COLOR_PEACHPUFF4 0x8B7765
|
||||
#define COLOR_BISQUE 0xFFE4C4
|
||||
#define COLOR_BISQUE1 0xFFE4C4
|
||||
#define COLOR_BISQUE2 0xEED5B7
|
||||
#define COLOR_BISQUE3 0xCDB79E
|
||||
#define COLOR_BISQUE4 0x8B7D6B
|
||||
#define COLOR_CORAL 0xFF7F00
|
||||
#define COLOR_CORAL1 0xFF7256
|
||||
#define COLOR_CORAL2 0xEE6A50
|
||||
#define COLOR_CORAL3 0xCD5B45
|
||||
#define COLOR_CORAL4 0x8B3E2F
|
||||
#define COLOR_HONEYDEW 0xF0FFF0
|
||||
#define COLOR_HONEYDEW1 0xF0FFF0
|
||||
#define COLOR_HONEYDEW2 0xE0EEE0
|
||||
#define COLOR_HONEYDEW3 0xC1CDC1
|
||||
#define COLOR_HONEYDEW4 0x838B83
|
||||
#define COLOR_ORANGE 0xFFA500
|
||||
#define COLOR_ORANGE1 0xFFA500
|
||||
#define COLOR_ORANGE2 0xEE9A00
|
||||
#define COLOR_ORANGE3 0xCD8500
|
||||
#define COLOR_ORANGE4 0x8B5A00
|
||||
#define COLOR_SALMON 0xFA8072
|
||||
#define COLOR_SALMON1 0xFF8C69
|
||||
#define COLOR_SALMON2 0xEE8262
|
||||
#define COLOR_SALMON3 0xCD7054
|
||||
#define COLOR_SALMON4 0x8B4C39
|
||||
#define COLOR_SIENNA 0xA0522D
|
||||
#define COLOR_SIENNA1 0xFF8247
|
||||
#define COLOR_SIENNA2 0xEE7942
|
||||
#define COLOR_SIENNA3 0xCD6839
|
||||
#define COLOR_SIENNA4 0x8B4726
|
||||
#define COLOR_MANDARIANANGE 0x8E2323
|
||||
#define COLOR_ORANGERED5 0xFF2400
|
||||
#define COLOR_DEEPPINK 0xFF1493
|
||||
#define COLOR_DEEPPINK1 0xFF1493
|
||||
#define COLOR_DEEPPINK2 0xEE1289
|
||||
#define COLOR_DEEPPINK3 0xCD1076
|
||||
#define COLOR_DEEPPINK4 0x8B0A50
|
||||
#define COLOR_HOTPINK 0xFF69B4
|
||||
#define COLOR_HOTPINK1 0xFF6EB4
|
||||
#define COLOR_HOTPINK2 0xEE6AA7
|
||||
#define COLOR_HOTPINK3 0xCD6090
|
||||
#define COLOR_HOTPINK4 0x8B3A62
|
||||
#define COLOR_INDIANRED 0xCD5C5C
|
||||
#define COLOR_INDIANRED1 0xFF6A6A
|
||||
#define COLOR_INDIANRED2 0xEE6363
|
||||
#define COLOR_INDIANRED3 0xCD5555
|
||||
#define COLOR_INDIANRED4 0x8B3A3A
|
||||
#define COLOR_LIGHTPINK 0xFFB6C1
|
||||
#define COLOR_LIGHTPINK1 0xFFAEB9
|
||||
#define COLOR_LIGHTPINK2 0xEEA2AD
|
||||
#define COLOR_LIGHTPINK3 0xCD8C95
|
||||
#define COLOR_LIGHTPINK4 0x8B5F65
|
||||
#define COLOR_MEDIUMVIOLETRED 0xC71585
|
||||
#define COLOR_MISTYROSE 0xFFE4E1
|
||||
#define COLOR_MISTYROSE1 0xFFE4E1
|
||||
#define COLOR_MISTYROSE2 0xEED5D2
|
||||
#define COLOR_MISTYROSE3 0xCDB7B5
|
||||
#define COLOR_MISTYROSE4 0x8B7D7B
|
||||
#define COLOR_ORANGERED 0xFF4500
|
||||
#define COLOR_ORANGERED1 0xFF4500
|
||||
#define COLOR_ORANGERED2 0xEE4000
|
||||
#define COLOR_ORANGERED3 0xCD3700
|
||||
#define COLOR_ORANGERED4 0x8B2500
|
||||
#define COLOR_PALEVIOLETRED 0xDB7093
|
||||
#define COLOR_PALEVIOLETRED1 0xFF82AB
|
||||
#define COLOR_PALEVIOLETRED2 0xEE799F
|
||||
#define COLOR_PALEVIOLETRED3 0xCD6889
|
||||
#define COLOR_PALEVIOLETRED4 0x8B475D
|
||||
#define COLOR_VIOLETRED 0xD02090
|
||||
#define COLOR_VIOLETRED1 0xFF3E96
|
||||
#define COLOR_VIOLETRED2 0xEE3A8C
|
||||
#define COLOR_VIOLETRED3 0xCD3278
|
||||
#define COLOR_VIOLETRED4 0x8B2252
|
||||
#define COLOR_FIREBRICK 0xB22222
|
||||
#define COLOR_FIREBRICK1 0xFF3030
|
||||
#define COLOR_FIREBRICK2 0xEE2C2C
|
||||
#define COLOR_FIREBRICK3 0xCD2626
|
||||
#define COLOR_FIREBRICK4 0x8B1A1A
|
||||
#define COLOR_PINK 0xFFC0CB
|
||||
#define COLOR_PINK1 0xFFB5C5
|
||||
#define COLOR_PINK2 0xEEA9B8
|
||||
#define COLOR_PINK3 0xCD919E
|
||||
#define COLOR_PINK4 0x8B636C
|
||||
#define COLOR_FLESH 0xF5CCB0
|
||||
#define COLOR_FELDSPAR 0xD19275
|
||||
#define COLOR_RED1 0xFF0000
|
||||
#define COLOR_RED2 0xEE0000
|
||||
#define COLOR_RED3 0xCD0000
|
||||
#define COLOR_RED4 0x8B0000
|
||||
#define COLOR_TOMATO 0xFF6347
|
||||
#define COLOR_TOMATO1 0xFF6347
|
||||
#define COLOR_TOMATO2 0xEE5C42
|
||||
#define COLOR_TOMATO3 0xCD4F39
|
||||
#define COLOR_TOMATO4 0x8B3626
|
||||
#define COLOR_DUSTY ROSE 0x856363
|
||||
#define COLOR_FIREBRICK5 0x8E2323
|
||||
#define COLOR_INDIANRED5 0xF5CCB0
|
||||
#define COLOR_PINK5 0xBC8F8F
|
||||
#define COLOR_SALMON5 0x6F4242
|
||||
#define COLOR_SCARLET 0x8C1717
|
||||
#define COLOR_SPICYPINK 0xFF1CAE
|
||||
#define COLOR_FREESPEECHMAGENTA 0xE35BD8
|
||||
#define COLOR_FREESPEECHRED 0xC00000
|
||||
#define COLOR_DARKORCHID 0x9932CC
|
||||
#define COLOR_DARKORCHID1 0xBF3EFF
|
||||
#define COLOR_DARKORCHID2 0xB23AEE
|
||||
#define COLOR_DARKORCHID3 0x9A32CD
|
||||
#define COLOR_DARKORCHID4 0x68228B
|
||||
#define COLOR_DARKVIOLET 0x9400D3
|
||||
#define COLOR_LAVENDERBLUSH 0xFFF0F5
|
||||
#define COLOR_LAVENDERBLUSH1 0xFFF0F5
|
||||
#define COLOR_LAVENDERBLUSH2 0xEEE0E5
|
||||
#define COLOR_LAVENDERBLUSH3 0xCDC1C5
|
||||
#define COLOR_LAVENDERBLUSH4 0x8B8386
|
||||
#define COLOR_MEDIUMORCHID 0xBA55D3
|
||||
#define COLOR_MEDIUMORCHID1 0xE066FF
|
||||
#define COLOR_MEDIUMORCHID2 0xD15FEE
|
||||
#define COLOR_MEDIUMORCHID3 0xB452CD
|
||||
#define COLOR_MEDIUMORCHID4 0x7A378B
|
||||
#define COLOR_MEDIUMPURPLE 0x9370DB
|
||||
#define COLOR_MEDIUMORCHID5 0x9370DB
|
||||
#define COLOR_MEDIUMPURPLE1 0xAB82FF
|
||||
#define COLOR_DARKORCHID5 0x9932CD
|
||||
#define COLOR_MEDIUMPURPLE2 0x9F79EE
|
||||
#define COLOR_MEDIUMPURPLE3 0x8968CD
|
||||
#define COLOR_MEDIUMPURPLE4 0x5D478B
|
||||
#define COLOR_LAVENDER 0xE6E6FA
|
||||
#define COLOR_FUCHSIA 0xFF00FF
|
||||
#define COLOR_MAGENTA1 0xFF00FF
|
||||
#define COLOR_MAGENTA2 0xEE00EE
|
||||
#define COLOR_MAGENTA3 0xCD00CD
|
||||
#define COLOR_MAGENTA4 0x8B008B
|
||||
#define COLOR_MAROON 0xB03060
|
||||
#define COLOR_MAROON1 0xFF34B3
|
||||
#define COLOR_MAROON2 0xEE30A7
|
||||
#define COLOR_MAROON3 0xCD2990
|
||||
#define COLOR_MAROON4 0x8B1C62
|
||||
#define COLOR_ORCHID 0xDA70D6
|
||||
#define COLOR_ORCHID5 0xDB70DB
|
||||
#define COLOR_ORCHID1 0xFF83FA
|
||||
#define COLOR_ORCHID2 0xEE7AE9
|
||||
#define COLOR_ORCHID3 0xCD69C9
|
||||
#define COLOR_ORCHID4 0x8B4789
|
||||
#define COLOR_PLUM 0xDDA0DD
|
||||
#define COLOR_PLUM1 0xFFBBFF
|
||||
#define COLOR_PLUM2 0xEEAEEE
|
||||
#define COLOR_PLUM3 0xCD96CD
|
||||
#define COLOR_PLUM4 0x8B668B
|
||||
#define COLOR_PURPLE 0xA020F0
|
||||
#define COLOR_PURPLE5 0x800080
|
||||
#define COLOR_PURPLE1 0x9B30FF
|
||||
#define COLOR_PURPLE2 0x912CEE
|
||||
#define COLOR_PURPLE3 0x7D26CD
|
||||
#define COLOR_PURPLE4 0x551A8B
|
||||
#define COLOR_THISTLE 0xD8BFD8
|
||||
#define COLOR_THISTLE1 0xFFE1FF
|
||||
#define COLOR_THISTLE2 0xEED2EE
|
||||
#define COLOR_THISTLE3 0xCDB5CD
|
||||
#define COLOR_THISTLE4 0x8B7B8B
|
||||
#define COLOR_VIOLET 0xEE82EE
|
||||
#define COLOR_VIOLETBLUE 0x9F5F9F
|
||||
#define COLOR_DARKPURPLE 0x871F78
|
||||
#define COLOR_MAROON5 0xF5CCB0
|
||||
#define COLOR_MAROON0 0x800000
|
||||
#define COLOR_MEDIUMVIOLETRED5 0xDB7093
|
||||
#define COLOR_NEONPINK 0xFF6EC7
|
||||
#define COLOR_PLUM5 0xEAADEA
|
||||
#define COLOR_THISTLE 0xD8BFD8
|
||||
#define COLOR_TURQUOISE5 0xADEAEA
|
||||
#define COLOR_VIOLET1 0x4F2F4F
|
||||
#define COLOR_VIOLETRED5 0xCC3299
|
||||
#define COLOR_ANTIQUEWHITE 0xFAEBD7
|
||||
#define COLOR_ANTIQUEWHITE1 0xFFEFDB
|
||||
#define COLOR_ANTIQUEWHITE2 0xEEDFCC
|
||||
#define COLOR_ANTIQUEWHITE3 0xCDC0B0
|
||||
#define COLOR_ANTIQUEWHITE4 0x8B8378
|
||||
#define COLOR_FLORALWHITE 0xFFFAF0
|
||||
#define COLOR_GHOSTWHITE 0xF8F8FF
|
||||
#define COLOR_NAVAJOWHITE 0xFFDEAD
|
||||
#define COLOR_NAVAJOWHITE1 0xFFDEAD
|
||||
#define COLOR_NAVAJOWHITE2 0xEECFA1
|
||||
#define COLOR_NAVAJOWHITE3 0xCDB38B
|
||||
#define COLOR_NAVAJOWHITE4 0x8B795E
|
||||
#define COLOR_OLDLACE 0xFDF5E6
|
||||
#define COLOR_WHITESMOKE 0xF5F5F5
|
||||
#define COLOR_GAINSBORO 0xDCDCDC
|
||||
#define COLOR_IVORY 0xFFFFF0
|
||||
#define COLOR_IVORY1 0xFFFFF0
|
||||
#define COLOR_IVORY2 0xEEEEE0
|
||||
#define COLOR_IVORY3 0xCDCDC1
|
||||
#define COLOR_IVORY4 0x8B8B83
|
||||
#define COLOR_LINEN 0xFAF0E6
|
||||
#define COLOR_SEASHELL 0xFFF5EE
|
||||
#define COLOR_SEASHELL1 0xFFF5EE
|
||||
#define COLOR_SEASHELL2 0xEEE5DE
|
||||
#define COLOR_SEASHELL3 0xCDC5BF
|
||||
#define COLOR_SEASHELL4 0x8B8682
|
||||
#define COLOR_SNOW 0xFFFAFA
|
||||
#define COLOR_SNOW1 0xFFFAFA
|
||||
#define COLOR_SNOW2 0xEEE9E9
|
||||
#define COLOR_SNOW3 0xCDC9C9
|
||||
#define COLOR_SNOW4 0x8B8989
|
||||
|
||||
|
||||
#define CHAR_RANGE ('Z' - 'A' + 1)
|
||||
#define ROW2SHEET(r) (FIRST_ROW + r)
|
||||
|
||||
COLOR header_back[] = {COLOR_AZURE, COLOR_GREEN, COLOR_BLUE, COLOR_GREY, COLOR_SALMON, COLOR_YELLOW} ;
|
||||
COLOR header_back[] = {COLOR_CADETBLUE, COLOR_GREEN, COLOR_BLUE, COLOR_GREY, COLOR_SALMON, COLOR_YELLOW} ;
|
||||
|
||||
static const char * col2string(int col)
|
||||
{
|
||||
@ -626,7 +54,9 @@ class TBilancio_recset : public TCSV_recordset
|
||||
int dett_length;
|
||||
int tot_lenght;
|
||||
TBit_array _tot_rows;
|
||||
TBit_array _tot_rows_ind;
|
||||
TBit_array _tot_gen;
|
||||
TRecnotype _tot_fin;
|
||||
int _group[200];
|
||||
|
||||
public:
|
||||
@ -643,7 +73,7 @@ bool TBilancio_recset::get_attr(int column, TAttributes & attr) const
|
||||
|
||||
if (rowno == 0L && column > 1)
|
||||
{
|
||||
if (column == columns())
|
||||
if ((unsigned int) column >= columns() - 1)
|
||||
attr.set_background(COLOR_RED);
|
||||
else
|
||||
attr.set_background(header_back[_group[column - 2] % 6]);
|
||||
@ -651,19 +81,26 @@ bool TBilancio_recset::get_attr(int column, TAttributes & attr) const
|
||||
return true;
|
||||
}
|
||||
else
|
||||
if (_tot_rows[ROW2SHEET(rowno)])
|
||||
if (_tot_rows[rowno] || _tot_rows_ind[rowno])
|
||||
{
|
||||
attr.set_background(COLOR_YELLOW);
|
||||
attr.set_background(COLOR_CADETBLUE);
|
||||
attr.set_foreground(COLOR_BLACK);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
if (_tot_gen[ROW2SHEET(rowno)])
|
||||
if (_tot_gen[rowno])
|
||||
{
|
||||
attr.set_background(COLOR_YELLOW);
|
||||
attr.set_foreground(COLOR_BLACK);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
if (_tot_fin == rowno)
|
||||
{
|
||||
attr.set_background(COLOR_RED);
|
||||
attr.set_foreground(COLOR_BLACK);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return TCSV_recordset::get_attr(column, attr);
|
||||
}
|
||||
|
||||
@ -749,9 +186,10 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
colname = cmskey;
|
||||
create_column(colname, _realfld);
|
||||
}
|
||||
create_column("Totale");
|
||||
create_column("Totale", _realfld);
|
||||
|
||||
TRecnotype sheet_row = new_rec("");
|
||||
TString descr;
|
||||
|
||||
set(0, "Conto");
|
||||
set(1, "Descrizione");
|
||||
@ -759,13 +197,14 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
{
|
||||
cmskey = colkeys.row(c);
|
||||
const TString cms = cmskey.get(0);
|
||||
const TString fase = cmskey.get(0);
|
||||
cmskey.replace('|', ' ');
|
||||
cmskey << "\n" << cache().get(LF_COMMESSE, cms, COMMESSE_DESCRIZ);
|
||||
cmskey << "\n" << cache().get(LF_FASI, fase, COMMESSE_DESCRIZ);
|
||||
set(c + 2, cmskey);
|
||||
const TString fase = cmskey.get();
|
||||
|
||||
descr.cut(0);
|
||||
descr << cache().get(LF_COMMESSE, cms, COMMESSE_DESCRIZ);
|
||||
descr << " - " << cache().get(LF_FASI, cmskey, FASI_DESCRIZ);
|
||||
set(c + 2, descr);
|
||||
}
|
||||
set(ncols + 2, "Totale");
|
||||
set(ncols + 2, "Totale ");
|
||||
|
||||
long start_rec = -1;
|
||||
int nrows = rowkeys.items();
|
||||
@ -789,6 +228,7 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
set(i + 2, format("=SUM(%s%d:%s%d)", col2string(i), ROW2SHEET(start_rec), col2string(i), ROW2SHEET(sheet_row - 1)));
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
_tot_rows.set(sheet_row);
|
||||
new_rec();
|
||||
}
|
||||
start_rec = sheet_row + 1;
|
||||
last_conto = conto;
|
||||
@ -820,6 +260,7 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
set(i + 2, format("=SUM(%s%d:%s%d)", col2string(i), ROW2SHEET(start_rec), col2string(i), ROW2SHEET(sheet_row - 1)));
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
_tot_rows.set(sheet_row);
|
||||
new_rec();
|
||||
}
|
||||
sheet_row = new_rec() ;
|
||||
set(1, "Totale Diretti");
|
||||
@ -834,9 +275,9 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
}
|
||||
_tot_gen.set(sheet_row);
|
||||
new_rec();
|
||||
|
||||
start_rec = -1;
|
||||
_tot_rows.reset();
|
||||
last_conto.cut(0);
|
||||
for (int r = 0; r < nrows; r++)
|
||||
{
|
||||
@ -854,7 +295,8 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
for (int i = 0; i < ncols - 1; i++)
|
||||
set(i + 2, format("=SUM(%s%d:%s%d)", col2string(i), ROW2SHEET(start_rec), col2string(i), ROW2SHEET(sheet_row - 1)));
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
_tot_rows.set(sheet_row);
|
||||
_tot_rows_ind.set(sheet_row);
|
||||
new_rec();
|
||||
}
|
||||
start_rec = sheet_row + 1;
|
||||
last_conto = conto;
|
||||
@ -885,7 +327,8 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
for (int i = 0; i < ncols - 1; i++)
|
||||
set(i + 2, format("=SUM(%s%d:%s%d)", col2string(i), ROW2SHEET(start_rec), col2string(i), ROW2SHEET(sheet_row - 1)));
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
_tot_rows.set(sheet_row);
|
||||
_tot_rows_ind.set(sheet_row);
|
||||
new_rec();
|
||||
}
|
||||
sheet_row = new_rec();
|
||||
set(1, "Totale Indiretti");
|
||||
@ -893,13 +336,14 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
{
|
||||
TString expr;
|
||||
|
||||
for (int j = _tot_rows.first_one(); j <= _tot_rows.last_one(); j++)
|
||||
if (_tot_rows[j])
|
||||
expr << ((j == _tot_rows.first_one()) ? '=' : '+') << col2string(c) << ROW2SHEET(j);
|
||||
for (int j = _tot_rows_ind.first_one(); j <= _tot_rows_ind.last_one(); j++)
|
||||
if (_tot_rows_ind[j])
|
||||
expr << ((j == _tot_rows_ind.first_one()) ? '=' : '+') << col2string(c) << ROW2SHEET(j);
|
||||
set(c + 2, expr);
|
||||
}
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
_tot_gen.set(sheet_row);
|
||||
new_rec();
|
||||
sheet_row = new_rec();
|
||||
set(1, "Totale");
|
||||
for (int c = 0; c < ncols; c++)
|
||||
@ -912,6 +356,7 @@ TBilancio_recset::TBilancio_recset(const TMask & m) : TCSV_recordset("CSV(;)\n")
|
||||
set(c + 2, expr);
|
||||
}
|
||||
set(ncols + 2, format("=SUM(%s%d:%s%d)", col2string(0), ROW2SHEET(sheet_row), col2string(ncols - 1), ROW2SHEET(sheet_row)));
|
||||
_tot_fin = sheet_row;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
575
ps/pd6342500a.h
575
ps/pd6342500a.h
@ -4,3 +4,578 @@
|
||||
#define F_PATH 103
|
||||
#define F_NAME 104
|
||||
#define F_TIPO 105
|
||||
|
||||
|
||||
#define COLOR_GREY 0x545454
|
||||
#define COLOR_SILVER 0xC0C0C0
|
||||
#define COLOR_GREY00 0xBEBEBE
|
||||
#define COLOR_LIGHTGRAY 0xD3D3D3
|
||||
#define COLOR_LIGHTSLATEGREY 0x778899
|
||||
#define COLOR_SLATEGRAY 0x708090
|
||||
#define COLOR_SLATEGRAY1 0xC6E2FF
|
||||
#define COLOR_SLATEGRAY2 0xB9D3EE
|
||||
#define COLOR_SLATEGRAY3 0x9FB6CD
|
||||
#define COLOR_SLATEGRAY4 0x6C7B8B
|
||||
#define COLOR_GREY0 0x000000
|
||||
#define COLOR_GREY1 0x030303
|
||||
#define COLOR_GREY2 0x50505
|
||||
#define COLOR_GREY3 0x80808
|
||||
#define COLOR_GREY4 0x0A0A0A
|
||||
#define COLOR_GREY5 0x0D0D0D
|
||||
#define COLOR_GREY6 0x0F0F0F
|
||||
#define COLOR_GREY7 0x121212
|
||||
#define COLOR_GREY8 0x141414
|
||||
#define COLOR_GREY9 0x171717
|
||||
#define COLOR_GREY10 0x1A1A1A
|
||||
#define COLOR_GREY11 0x1C1C1C
|
||||
#define COLOR_GREY12 0x1F1F1F
|
||||
#define COLOR_GREY13 0x212121
|
||||
#define COLOR_GREY14 0x242424
|
||||
#define COLOR_GREY15 0x262626
|
||||
#define COLOR_GREY16 0x292929
|
||||
#define COLOR_GREY17 0x2B2B2B
|
||||
#define COLOR_GREY18 0x2E2E2E
|
||||
#define COLOR_GREY19 0x303030
|
||||
#define COLOR_GREY20 0x333333
|
||||
#define COLOR_GREY21 0x363636
|
||||
#define COLOR_GREY22 0x383838
|
||||
#define COLOR_GREY23 0x3B3B3B
|
||||
#define COLOR_GREY24 0x3D3D3D
|
||||
#define COLOR_GREY25 0x404040
|
||||
#define COLOR_GREY26 0x424242
|
||||
#define COLOR_GREY27 0x454545
|
||||
#define COLOR_GREY28 0x474747
|
||||
#define COLOR_GREY29 0x4A4A4A
|
||||
#define COLOR_GREY30 0x4D4D4D
|
||||
#define COLOR_GREY31 0x4F4F4F
|
||||
#define COLOR_GREY32 0x525252
|
||||
#define COLOR_GREY33 0x545454
|
||||
#define COLOR_GREY34 0x575757
|
||||
#define COLOR_GREY35 0x595959
|
||||
#define COLOR_GREY36 0x5C5C5C
|
||||
#define COLOR_GREY37 0x5E5E5E
|
||||
#define COLOR_GREY38 0x616161
|
||||
#define COLOR_GREY39 0x636363
|
||||
#define COLOR_GREY40 0x666666
|
||||
#define COLOR_GREY41 0x696969
|
||||
#define COLOR_GREY42 0x6B6B6B
|
||||
#define COLOR_GREY43 0x6E6E6E
|
||||
#define COLOR_GREY44 0x707070
|
||||
#define COLOR_GREY45 0x737373
|
||||
#define COLOR_GREY46 0x757575
|
||||
#define COLOR_GREY47 0x787878
|
||||
#define COLOR_GREY48 0x7A7A7A
|
||||
#define COLOR_GREY49 0x7D7D7D
|
||||
#define COLOR_GREY50 0x7F7F7F
|
||||
#define COLOR_GREY51 0x828282
|
||||
#define COLOR_GREY52 0x858585
|
||||
#define COLOR_GREY53 0x878787
|
||||
#define COLOR_GREY54 0x8A8A8A
|
||||
#define COLOR_GREY55 0x8C8C8C
|
||||
#define COLOR_GREY56 0x8F8F8F
|
||||
#define COLOR_GREY57 0x919191
|
||||
#define COLOR_GREY58 0x949494
|
||||
#define COLOR_GREY59 0x969696
|
||||
#define COLOR_GREY60 0x999999
|
||||
#define COLOR_GREY61 0x9C9C9C
|
||||
#define COLOR_GREY62 0x9E9E9E
|
||||
#define COLOR_GREY63 0xA1A1A1
|
||||
#define COLOR_GREY64 0xA3A3A3
|
||||
#define COLOR_GREY65 0xA6A6A6
|
||||
#define COLOR_GREY66 0xA8A8A8
|
||||
#define COLOR_GREY67 0xABABAB
|
||||
#define COLOR_GREY68 0xADADAD
|
||||
#define COLOR_GREY69 0xB0B0B0
|
||||
#define COLOR_GREY70 0xB3B3B3
|
||||
#define COLOR_GREY71 0xB5B5B5
|
||||
#define COLOR_GREY72 0xB8B8B8
|
||||
#define COLOR_GREY73 0xBABABA
|
||||
#define COLOR_GREY74 0xBDBDBD
|
||||
#define COLOR_GREY75 0xBFBFBF
|
||||
#define COLOR_GREY76 0xC2C2C2
|
||||
#define COLOR_GREY77 0xC4C4C4
|
||||
#define COLOR_GREY78 0xC7C7C7
|
||||
#define COLOR_GREY79 0xC9C9C9
|
||||
#define COLOR_GREY80 0xCCCCCC
|
||||
#define COLOR_GREY81 0xCFCFCF
|
||||
#define COLOR_GREY82 0xD1D1D1
|
||||
#define COLOR_GREY83 0xD4D4D4
|
||||
#define COLOR_GREY84 0xD6D6D6
|
||||
#define COLOR_GREY85 0xD9D9D9
|
||||
#define COLOR_GREY86 0xDBDBDB
|
||||
#define COLOR_GREY87 0xDEDEDE
|
||||
#define COLOR_GREY88 0xE0E0E0
|
||||
#define COLOR_GREY89 0xE3E3E3
|
||||
#define COLOR_GREY90 0xE5E5E5
|
||||
#define COLOR_GREY91 0xE8E8E8
|
||||
#define COLOR_GREY92 0xEBEBEB
|
||||
#define COLOR_GREY93 0xEDEDED
|
||||
#define COLOR_GREY94 0xF0F0F0
|
||||
#define COLOR_GREY95 0xF2F2F2
|
||||
#define COLOR_GREY96 0xF5F5F5
|
||||
#define COLOR_GREY97 0xF7F7F7
|
||||
#define COLOR_GREY98 0xFAFAFA
|
||||
#define COLOR_GREY99 0xFCFCFC
|
||||
#define COLOR_DARKSLATEGREY 0x2F4F4F
|
||||
#define COLOR_DIMGREY 0x545454
|
||||
#define COLOR_LIGHTGREY 0xDBDB70
|
||||
#define COLOR_VERYLIGHTGREY 0xCDCDCD
|
||||
#define COLOR_FREESPEECH_GREY 0x635688
|
||||
#define COLOR_ALICEBLUE 0xF0F8FF
|
||||
#define COLOR_BLUEVIOLET 0x8A2BE2
|
||||
#define COLOR_CADETBLUE 0x5F9F9F
|
||||
#define COLOR_CADETBLUE5 0x5F9EA0
|
||||
#define COLOR_CADETBLUE1 0x98F5FF
|
||||
#define COLOR_CADETBLUE2 0x8EE5EE
|
||||
#define COLOR_CADETBLUE3 0x7AC5CD
|
||||
#define COLOR_CADETBLUE4 0x53868B
|
||||
#define COLOR_CORNFLOWERBLUE 0x42426F
|
||||
#define COLOR_CORNFLOWERBLUE1 0x6495ED
|
||||
#define COLOR_DARKSLATEBLUE 0x483D8B
|
||||
#define COLOR_DARKTURQUOISE 0x00CED1
|
||||
#define COLOR_DEEPSKYBLUE 0x00BFFF
|
||||
#define COLOR_DEEPSKYBLUE1 0x00BFFF
|
||||
#define COLOR_DEEPSKYBLUE2 0x00B2EE
|
||||
#define COLOR_DEEPSKYBLUE3 0x009ACD
|
||||
#define COLOR_DEEPSKYBLUE4 0x00688B
|
||||
#define COLOR_DODGERBLUE 0x1E90FF
|
||||
#define COLOR_DODGERBLUE1 0x1E90FF
|
||||
#define COLOR_DODGERBLUE2 0x1C86EE
|
||||
#define COLOR_DODGERBLUE3 0x1874CD
|
||||
#define COLOR_DODGERBLUE4 0x104E8B
|
||||
#define COLOR_LIGHTBLUE 0xADD8E6
|
||||
#define COLOR_LIGHTBLUE1 0xBFEFFF
|
||||
#define COLOR_LIGHTBLUE2 0xB2DFEE
|
||||
#define COLOR_LIGHTBLUE3 0x9AC0CD
|
||||
#define COLOR_LIGHTBLUE4 0x68838B
|
||||
#define COLOR_LIGHTCYAN 0xE0FFFF
|
||||
#define COLOR_LIGHTCYAN1 0xE0FFFF
|
||||
#define COLOR_LIGHTCYAN2 0xD1EEEE
|
||||
#define COLOR_LIGHTCYAN3 0xB4CDCD
|
||||
#define COLOR_LIGHTCYAN4 0x7A8B8B
|
||||
#define COLOR_LIGHTSKYBLUE 0x87CEFA
|
||||
#define COLOR_LIGHTSKYBLUE1 0xB0E2FF
|
||||
#define COLOR_LIGHTSKYBLUE2 0xA4D3EE
|
||||
#define COLOR_LIGHTSKYBLUE3 0x8DB6CD
|
||||
#define COLOR_LIGHTSKYBLUE4 0x607B8B
|
||||
#define COLOR_LIGHTSLATEBLUE 0x8470FF
|
||||
#define COLOR_LIGHTSTEELBLUE 0xB0C4DE
|
||||
#define COLOR_LIGHTSTEELBLUE1 0xCAE1FF
|
||||
#define COLOR_LIGHTSTEELBLUE2 0xBCD2EE
|
||||
#define COLOR_LIGHTSTEELBLUE3 0xA2B5CD
|
||||
#define COLOR_LIGHTSTEELBLUE4 0x6E7B8B
|
||||
#define COLOR_AQUAMARINE 0x70DB93
|
||||
#define COLOR_MEDIUMBLUE 0x0000CD
|
||||
#define COLOR_MEDIUMSLATEBLUE 0x7B68EE
|
||||
#define COLOR_MEDIUMTURQUOISE 0x48D1CC
|
||||
#define COLOR_MIDNIGHTBLUE 0x191970
|
||||
#define COLOR_NAVYBLUE1 0x000080
|
||||
#define COLOR_PALETURQUOISE 0xAFEEEE
|
||||
#define COLOR_PALETURQUOISE1 0xBBFFFF
|
||||
#define COLOR_PALETURQUOISE2 0xAEEEEE
|
||||
#define COLOR_PALETURQUOISE3 0x96CDCD
|
||||
#define COLOR_PALETURQUOISE4 0x668B8B
|
||||
#define COLOR_POWDERBLUE 0xB0E0E6
|
||||
#define COLOR_ROYALBLUE 0x041690
|
||||
#define COLOR_ROYALBLUE1 0x4876FF
|
||||
#define COLOR_ROYALBLUE2 0x436EEE
|
||||
#define COLOR_ROYALBLUE3 0x3A5FCD
|
||||
#define COLOR_ROYALBLUE4 0x27408B
|
||||
#define COLOR_ROYALBLUE5 0x002266
|
||||
#define COLOR_SKYBLUE 0x87CEEB
|
||||
#define COLOR_SKYBLUE1 0x87CEFF
|
||||
#define COLOR_SKYBLUE2 0x7EC0EE
|
||||
#define COLOR_SKYBLUE3 0x6CA6CD
|
||||
#define COLOR_SKYBLUE4 0x4A708B
|
||||
#define COLOR_SLATEBLUE 0x6A5ACD
|
||||
#define COLOR_SLATEBLUE1 0x836FFF
|
||||
#define COLOR_SLATEBLUE2 0x7A67EE
|
||||
#define COLOR_SLATEBLUE3 0x6959CD
|
||||
#define COLOR_SLATEBLUE4 0x473C8B
|
||||
#define COLOR_STEELBLUE 0x4682B4
|
||||
#define COLOR_STEELBLUE1 0x63B8FF
|
||||
#define COLOR_STEELBLUE2 0x5CACEE
|
||||
#define COLOR_STEELBLUE3 0x4F94CD
|
||||
#define COLOR_STEELBLUE4 0x36648B
|
||||
#define COLOR_AQUAMARINE0 0x7FFFD4
|
||||
#define COLOR_AQUAMARINE1 0x7FFFD4
|
||||
#define COLOR_AQUAMARINE2 0x76EEC6
|
||||
#define COLOR_AQUAMARINE3 0x66CDAA
|
||||
#define COLOR_MEDIUMAQUAMARINE 0xAQUAMA
|
||||
#define COLOR_AQUAMARINE4 0x458B74
|
||||
#define COLOR_AZURE 0xF0FFFF
|
||||
#define COLOR_AZURE1 0xF0FFFF
|
||||
#define COLOR_AZURE2 0xE0EEEE
|
||||
#define COLOR_AZURE3 0xC1CDCD
|
||||
#define COLOR_AZURE4 0x838B8B
|
||||
#define COLOR_BLUE1 0x0000FF
|
||||
#define COLOR_BLUE2 0x0000EE
|
||||
#define COLOR_BLUE3 0x0000CD
|
||||
#define COLOR_BLUE4 0x00008B
|
||||
#define COLOR_AQUA 0x00FFFF
|
||||
#define COLOR_CYAN1 0x00FFFF
|
||||
#define COLOR_CYAN2 0x00EEEE
|
||||
#define COLOR_CYAN3 0x00CDCD
|
||||
#define COLOR_CYAN4 0x008B8B
|
||||
#define COLOR_NAVY 0x000080
|
||||
#define COLOR_TEAL 0x008080
|
||||
#define COLOR_TURQUOISE 0x40E0D0
|
||||
#define COLOR_TURQUOISE1 0x00F5FF
|
||||
#define COLOR_TURQUOISE2 0x00E5EE
|
||||
#define COLOR_TURQUOISE3 0x00C5CD
|
||||
#define COLOR_TURQUOISE4 0x00868B
|
||||
#define COLOR_DARKSLATEGRAY 0x2F4F4F
|
||||
#define COLOR_DARKSLATEGRAY1 0x97FFFF
|
||||
#define COLOR_DARKSLATEGRAY2 0x8DEEEE
|
||||
#define COLOR_DARKSLATEGRAY3 0x79CDCD
|
||||
#define COLOR_DARKSLATEGRAY4 0x528B8B
|
||||
#define COLOR_DARKSLATEBLUE0 0x241882
|
||||
#define COLOR_DARKTURQUOISE0 0x7093DB
|
||||
#define COLOR_LIGHTBLUE5 0xCD7F32
|
||||
#define COLOR_MEDIUMBLUE1 0xCD7F32
|
||||
#define COLOR_MEDIUMSLATEBLUE1 0x7F00FF
|
||||
#define COLOR_MEDIUMTURQUOISE1 0x70DBDB
|
||||
#define COLOR_MIDNIGHTBLUE1 0x2F2F4F
|
||||
#define COLOR_NAVYBLUE 0x23238E
|
||||
#define COLOR_NEONBLUE 0x4D4DFF
|
||||
#define COLOR_NEWMIDNIGHTBLUE 0x00009C
|
||||
#define COLOR_RICHBLUE 0x5959AB
|
||||
#define COLOR_SKYBLUE5 0x0099CC
|
||||
#define COLOR_SLATEBLUE5 0x007FFF
|
||||
#define COLOR_SUMMERSKY 0x00B0DE
|
||||
#define COLOR_IRISBLUE 0x03B4C8
|
||||
#define COLOR_FREESPEECHBLUE 0x4156C5
|
||||
#define COLOR_ROSYBROWN 0xBC8F8F
|
||||
#define COLOR_ROSYBROWN1 0xFFC1C1
|
||||
#define COLOR_ROSYBROWN2 0xEEB4B4
|
||||
#define COLOR_ROSYBROWN3 0xCD9B9B
|
||||
#define COLOR_ROSYBROWN4 0x8B6969
|
||||
#define COLOR_SADDLEBROWN 0x8B4513
|
||||
#define COLOR_SANDYBROWN 0xF4A460
|
||||
#define COLOR_BEIGE 0xF5F5DC
|
||||
#define COLOR_BROWN 0xA52A2A
|
||||
#define COLOR_BROWN0 0xA62A2A
|
||||
#define COLOR_BROWN1 0xFF4040
|
||||
#define COLOR_BROWN2 0xEE3B3B
|
||||
#define COLOR_BROWN3 0xCD3333
|
||||
#define COLOR_BROWN4 0x8B2323
|
||||
#define COLOR_DARKBROWN 0x5C4033
|
||||
#define COLOR_BURLYWOOD 0xDEB887
|
||||
#define COLOR_BURLYWOOD1 0xFFD39B
|
||||
#define COLOR_BURLYWOOD2 0xEEC591
|
||||
#define COLOR_BURLYWOOD3 0xCDAA7D
|
||||
#define COLOR_BURLYWOOD4 0x8B7355
|
||||
#define COLOR_BAKERSCHOCOLATE 0x5C3317
|
||||
#define COLOR_CHOCOLATE 0xD2691E
|
||||
#define COLOR_CHOCOLATE1 0xFF7F24
|
||||
#define COLOR_CHOCOLATE2 0xEE7621
|
||||
#define COLOR_CHOCOLATE3 0xCD661D
|
||||
#define COLOR_CHOCOLATE4 0x8B4513
|
||||
#define COLOR_PERU 0xCD853F
|
||||
#define COLOR_TAN 0xD2B48C
|
||||
#define COLOR_TAN1 0xFFA54F
|
||||
#define COLOR_TAN2 0xEE9A49
|
||||
#define COLOR_TAN3 0xCD853F
|
||||
#define COLOR_TAN4 0x8B5A2B
|
||||
#define COLOR_DARKTAN 0x97694F
|
||||
#define COLOR_DARKWOOD 0x855E42
|
||||
#define COLOR_LIGHTWOOD 0x856363
|
||||
#define COLOR_MEDIUMWOOD 0xA68064
|
||||
#define COLOR_NEWTAN 0xEBC79E
|
||||
#define COLOR_SEMISWEETCHOCOLATE 0x06B422
|
||||
#define COLOR_SIENNA5 0x8E6B23
|
||||
#define COLOR_TAN5 0xDB9370
|
||||
#define COLOR_VERYDARKBROWN 0x5C4033
|
||||
#define COLOR_DARKGREEN 0x2F4F2F
|
||||
#define COLOR_DARKGREENCOPPER 0x4A766E
|
||||
#define COLOR_DARKKHAKI 0xBDB76B
|
||||
#define COLOR_DARKOLIVEGREEN 0x556B2F
|
||||
#define COLOR_DARKOLIVEGREEN1 0xCAFF70
|
||||
#define COLOR_DARKOLIVEGREEN2 0xBCEE68
|
||||
#define COLOR_DARKOLIVEGREEN3 0xA2CD5A
|
||||
#define COLOR_DARKOLIVEGREEN4 0x6E8B3D
|
||||
#define COLOR_OLIVE 0x808000
|
||||
#define COLOR_DARKSEAGREEN 0x8FBC8F
|
||||
#define COLOR_DARKSEAGREEN1 0xC1FFC1
|
||||
#define COLOR_DARKSEAGREEN2 0xB4EEB4
|
||||
#define COLOR_DARKSEAGREEN3 0x9BCD9B
|
||||
#define COLOR_DARKSEAGREEN4 0x698B69
|
||||
#define COLOR_FORESTGREEN 0x228B22
|
||||
#define COLOR_GREENYELLOW 0xADFF2F
|
||||
#define COLOR_LAWNGREEN 0x7CFC00
|
||||
#define COLOR_LIGHTSEAGREEN 0x20B2AA
|
||||
#define COLOR_LIMEGREEN 0x32CD32
|
||||
#define COLOR_MEDIUMSEAGREEN 0x3CB371
|
||||
#define COLOR_MEDIUMSPRINGGREEN 0x00FA9A
|
||||
#define COLOR_MINTCREAM 0xF5FFFA
|
||||
#define COLOR_OLIVEDRAB 0x6B8E23
|
||||
#define COLOR_OLIVEDRAB1 0xC0FF3E
|
||||
#define COLOR_OLIVEDRAB2 0xB3EE3A
|
||||
#define COLOR_OLIVEDRAB3 0x9ACD32
|
||||
#define COLOR_OLIVEDRAB4 0x698B22
|
||||
#define COLOR_PALEGREEN 0x98FB98
|
||||
#define COLOR_PALEGREEN1 0x9AFF9A
|
||||
#define COLOR_PALEGREEN2 0x90EE90
|
||||
#define COLOR_PALEGREEN3 0x7CCD7C
|
||||
#define COLOR_PALEGREEN4 0x548B54
|
||||
#define COLOR_SEAGREEN 0x2E8B57
|
||||
#define COLOR_SEAGREEN1 0x54FF9F
|
||||
#define COLOR_SEAGREEN2 0x4EEE94
|
||||
#define COLOR_SEAGREEN3 0x43CD80
|
||||
#define COLOR_SEAGREEN4 0xCOLOR_
|
||||
#define COLOR_SPRINGGREEN 0x00FF7F
|
||||
#define COLOR_SPRINGGREEN1 0x00FF7F
|
||||
#define COLOR_SPRINGGREEN2 0x00EE76
|
||||
#define COLOR_SPRINGGREEN3 0x00CD66
|
||||
#define COLOR_SPRINGGREEN4 0x008B45
|
||||
#define COLOR_YELLOWGREEN 0x9ACD32
|
||||
#define COLOR_CHARTREUSE 0x7FFF00
|
||||
#define COLOR_CHARTREUSE1 0x7FFF00
|
||||
#define COLOR_CHARTREUSE2 0x76EE00
|
||||
#define COLOR_CHARTREUSE3 0x66CD00
|
||||
#define COLOR_CHARTREUSE4 0x458B00
|
||||
#define COLOR_GREEN0 0x008000
|
||||
#define COLOR_LIME 0x00FF00
|
||||
#define COLOR_GREEN1 0x00FF00
|
||||
#define COLOR_GREEN2 0x00EE00
|
||||
#define COLOR_GREEN3 0x00CD00
|
||||
#define COLOR_GREEN4 0x008B00
|
||||
#define COLOR_KHAKI 0xF0E68C
|
||||
#define COLOR_KHAKI1 0xFFF68F
|
||||
#define COLOR_KHAKI2 0xEEE685
|
||||
#define COLOR_KHAKI3 0xCDC673
|
||||
#define COLOR_KHAKI4 0x8B864E
|
||||
#define COLOR_DARKOLIVEGREEN5 0x4F4F2F
|
||||
#define COLOR_GREEN_YELLOW 0xD19275
|
||||
#define COLOR_HUNTERGREEN 0x8E2323
|
||||
#define COLOR_FORESTGREEN1 0x238E23
|
||||
#define COLOR_KHAKIMEDIUM 0xFOREST
|
||||
#define COLOR_AQUAMARINE5 0xFOREST
|
||||
#define COLOR_LIMEGREEN1 0xD19275
|
||||
#define COLOR_MEDIUMFORESTGREEN 0xDBDB70
|
||||
#define COLOR_MEDIUMSEAGREEN1 0x426F42
|
||||
#define COLOR_MEDIUMSPRINGGREEN1 0x7FFF00
|
||||
#define COLOR_PALEGREEN5 0x8FBC8F
|
||||
#define COLOR_SEA_GREEN 0x238E68
|
||||
#define COLOR_SPRINGGREEN 0x00FF7F
|
||||
#define COLOR_FREESPEECHGREEN 0x09F911
|
||||
#define COLOR_FREESPEECHAQUAMARINE 0x029D74
|
||||
#define COLOR_DARKORANGE 0xFF8C00
|
||||
#define COLOR_DARKORANGE1 0xFF7F00
|
||||
#define COLOR_DARKORANGE2 0xEE7600
|
||||
#define COLOR_DARKORANGE3 0xCD6600
|
||||
#define COLOR_DARKORANGE4 0x8B4500
|
||||
#define COLOR_DARKSALMON 0xE9967A
|
||||
#define COLOR_LIGHTCORAL 0xF08080
|
||||
#define COLOR_LIGHTSALMON 0xFFA07A
|
||||
#define COLOR_LIGHTSALMON1 0xFFA07A
|
||||
#define COLOR_LIGHTSALMON2 0xEE9572
|
||||
#define COLOR_LIGHTSALMON3 0xCD8162
|
||||
#define COLOR_LIGHTSALMON4 0x8B5742
|
||||
#define COLOR_PEACHPUFF 0xFFDAB9
|
||||
#define COLOR_PEACHPUFF1 0xFFDAB9
|
||||
#define COLOR_PEACHPUFF2 0xEECBAD
|
||||
#define COLOR_PEACHPUFF3 0xCDAF95
|
||||
#define COLOR_PEACHPUFF4 0x8B7765
|
||||
#define COLOR_BISQUE 0xFFE4C4
|
||||
#define COLOR_BISQUE1 0xFFE4C4
|
||||
#define COLOR_BISQUE2 0xEED5B7
|
||||
#define COLOR_BISQUE3 0xCDB79E
|
||||
#define COLOR_BISQUE4 0x8B7D6B
|
||||
#define COLOR_CORAL 0xFF7F00
|
||||
#define COLOR_CORAL1 0xFF7256
|
||||
#define COLOR_CORAL2 0xEE6A50
|
||||
#define COLOR_CORAL3 0xCD5B45
|
||||
#define COLOR_CORAL4 0x8B3E2F
|
||||
#define COLOR_HONEYDEW 0xF0FFF0
|
||||
#define COLOR_HONEYDEW1 0xF0FFF0
|
||||
#define COLOR_HONEYDEW2 0xE0EEE0
|
||||
#define COLOR_HONEYDEW3 0xC1CDC1
|
||||
#define COLOR_HONEYDEW4 0x838B83
|
||||
#define COLOR_ORANGE 0xFFA500
|
||||
#define COLOR_ORANGE1 0xFFA500
|
||||
#define COLOR_ORANGE2 0xEE9A00
|
||||
#define COLOR_ORANGE3 0xCD8500
|
||||
#define COLOR_ORANGE4 0x8B5A00
|
||||
#define COLOR_SALMON 0xFA8072
|
||||
#define COLOR_SALMON1 0xFF8C69
|
||||
#define COLOR_SALMON2 0xEE8262
|
||||
#define COLOR_SALMON3 0xCD7054
|
||||
#define COLOR_SALMON4 0x8B4C39
|
||||
#define COLOR_SIENNA 0xA0522D
|
||||
#define COLOR_SIENNA1 0xFF8247
|
||||
#define COLOR_SIENNA2 0xEE7942
|
||||
#define COLOR_SIENNA3 0xCD6839
|
||||
#define COLOR_SIENNA4 0x8B4726
|
||||
#define COLOR_MANDARIANANGE 0x8E2323
|
||||
#define COLOR_ORANGERED5 0xFF2400
|
||||
#define COLOR_DEEPPINK 0xFF1493
|
||||
#define COLOR_DEEPPINK1 0xFF1493
|
||||
#define COLOR_DEEPPINK2 0xEE1289
|
||||
#define COLOR_DEEPPINK3 0xCD1076
|
||||
#define COLOR_DEEPPINK4 0x8B0A50
|
||||
#define COLOR_HOTPINK 0xFF69B4
|
||||
#define COLOR_HOTPINK1 0xFF6EB4
|
||||
#define COLOR_HOTPINK2 0xEE6AA7
|
||||
#define COLOR_HOTPINK3 0xCD6090
|
||||
#define COLOR_HOTPINK4 0x8B3A62
|
||||
#define COLOR_INDIANRED 0xCD5C5C
|
||||
#define COLOR_INDIANRED1 0xFF6A6A
|
||||
#define COLOR_INDIANRED2 0xEE6363
|
||||
#define COLOR_INDIANRED3 0xCD5555
|
||||
#define COLOR_INDIANRED4 0x8B3A3A
|
||||
#define COLOR_LIGHTPINK 0xFFB6C1
|
||||
#define COLOR_LIGHTPINK1 0xFFAEB9
|
||||
#define COLOR_LIGHTPINK2 0xEEA2AD
|
||||
#define COLOR_LIGHTPINK3 0xCD8C95
|
||||
#define COLOR_LIGHTPINK4 0x8B5F65
|
||||
#define COLOR_MEDIUMVIOLETRED 0xC71585
|
||||
#define COLOR_MISTYROSE 0xFFE4E1
|
||||
#define COLOR_MISTYROSE1 0xFFE4E1
|
||||
#define COLOR_MISTYROSE2 0xEED5D2
|
||||
#define COLOR_MISTYROSE3 0xCDB7B5
|
||||
#define COLOR_MISTYROSE4 0x8B7D7B
|
||||
#define COLOR_ORANGERED 0xFF4500
|
||||
#define COLOR_ORANGERED1 0xFF4500
|
||||
#define COLOR_ORANGERED2 0xEE4000
|
||||
#define COLOR_ORANGERED3 0xCD3700
|
||||
#define COLOR_ORANGERED4 0x8B2500
|
||||
#define COLOR_PALEVIOLETRED 0xDB7093
|
||||
#define COLOR_PALEVIOLETRED1 0xFF82AB
|
||||
#define COLOR_PALEVIOLETRED2 0xEE799F
|
||||
#define COLOR_PALEVIOLETRED3 0xCD6889
|
||||
#define COLOR_PALEVIOLETRED4 0x8B475D
|
||||
#define COLOR_VIOLETRED 0xD02090
|
||||
#define COLOR_VIOLETRED1 0xFF3E96
|
||||
#define COLOR_VIOLETRED2 0xEE3A8C
|
||||
#define COLOR_VIOLETRED3 0xCD3278
|
||||
#define COLOR_VIOLETRED4 0x8B2252
|
||||
#define COLOR_FIREBRICK 0xB22222
|
||||
#define COLOR_FIREBRICK1 0xFF3030
|
||||
#define COLOR_FIREBRICK2 0xEE2C2C
|
||||
#define COLOR_FIREBRICK3 0xCD2626
|
||||
#define COLOR_FIREBRICK4 0x8B1A1A
|
||||
#define COLOR_PINK 0xFFC0CB
|
||||
#define COLOR_PINK1 0xFFB5C5
|
||||
#define COLOR_PINK2 0xEEA9B8
|
||||
#define COLOR_PINK3 0xCD919E
|
||||
#define COLOR_PINK4 0x8B636C
|
||||
#define COLOR_FLESH 0xF5CCB0
|
||||
#define COLOR_FELDSPAR 0xD19275
|
||||
#define COLOR_RED1 0xFF0000
|
||||
#define COLOR_RED2 0xEE0000
|
||||
#define COLOR_RED3 0xCD0000
|
||||
#define COLOR_RED4 0x8B0000
|
||||
#define COLOR_TOMATO 0xFF6347
|
||||
#define COLOR_TOMATO1 0xFF6347
|
||||
#define COLOR_TOMATO2 0xEE5C42
|
||||
#define COLOR_TOMATO3 0xCD4F39
|
||||
#define COLOR_TOMATO4 0x8B3626
|
||||
#define COLOR_DUSTY ROSE 0x856363
|
||||
#define COLOR_FIREBRICK5 0x8E2323
|
||||
#define COLOR_INDIANRED5 0xF5CCB0
|
||||
#define COLOR_PINK5 0xBC8F8F
|
||||
#define COLOR_SALMON5 0x6F4242
|
||||
#define COLOR_SCARLET 0x8C1717
|
||||
#define COLOR_SPICYPINK 0xFF1CAE
|
||||
#define COLOR_FREESPEECHMAGENTA 0xE35BD8
|
||||
#define COLOR_FREESPEECHRED 0xC00000
|
||||
#define COLOR_DARKORCHID 0x9932CC
|
||||
#define COLOR_DARKORCHID1 0xBF3EFF
|
||||
#define COLOR_DARKORCHID2 0xB23AEE
|
||||
#define COLOR_DARKORCHID3 0x9A32CD
|
||||
#define COLOR_DARKORCHID4 0x68228B
|
||||
#define COLOR_DARKVIOLET 0x9400D3
|
||||
#define COLOR_LAVENDERBLUSH 0xFFF0F5
|
||||
#define COLOR_LAVENDERBLUSH1 0xFFF0F5
|
||||
#define COLOR_LAVENDERBLUSH2 0xEEE0E5
|
||||
#define COLOR_LAVENDERBLUSH3 0xCDC1C5
|
||||
#define COLOR_LAVENDERBLUSH4 0x8B8386
|
||||
#define COLOR_MEDIUMORCHID 0xBA55D3
|
||||
#define COLOR_MEDIUMORCHID1 0xE066FF
|
||||
#define COLOR_MEDIUMORCHID2 0xD15FEE
|
||||
#define COLOR_MEDIUMORCHID3 0xB452CD
|
||||
#define COLOR_MEDIUMORCHID4 0x7A378B
|
||||
#define COLOR_MEDIUMPURPLE 0x9370DB
|
||||
#define COLOR_MEDIUMORCHID5 0x9370DB
|
||||
#define COLOR_MEDIUMPURPLE1 0xAB82FF
|
||||
#define COLOR_DARKORCHID5 0x9932CD
|
||||
#define COLOR_MEDIUMPURPLE2 0x9F79EE
|
||||
#define COLOR_MEDIUMPURPLE3 0x8968CD
|
||||
#define COLOR_MEDIUMPURPLE4 0x5D478B
|
||||
#define COLOR_LAVENDER 0xE6E6FA
|
||||
#define COLOR_FUCHSIA 0xFF00FF
|
||||
#define COLOR_MAGENTA1 0xFF00FF
|
||||
#define COLOR_MAGENTA2 0xEE00EE
|
||||
#define COLOR_MAGENTA3 0xCD00CD
|
||||
#define COLOR_MAGENTA4 0x8B008B
|
||||
#define COLOR_MAROON 0xB03060
|
||||
#define COLOR_MAROON1 0xFF34B3
|
||||
#define COLOR_MAROON2 0xEE30A7
|
||||
#define COLOR_MAROON3 0xCD2990
|
||||
#define COLOR_MAROON4 0x8B1C62
|
||||
#define COLOR_ORCHID 0xDA70D6
|
||||
#define COLOR_ORCHID5 0xDB70DB
|
||||
#define COLOR_ORCHID1 0xFF83FA
|
||||
#define COLOR_ORCHID2 0xEE7AE9
|
||||
#define COLOR_ORCHID3 0xCD69C9
|
||||
#define COLOR_ORCHID4 0x8B4789
|
||||
#define COLOR_PLUM 0xDDA0DD
|
||||
#define COLOR_PLUM1 0xFFBBFF
|
||||
#define COLOR_PLUM2 0xEEAEEE
|
||||
#define COLOR_PLUM3 0xCD96CD
|
||||
#define COLOR_PLUM4 0x8B668B
|
||||
#define COLOR_PURPLE 0xA020F0
|
||||
#define COLOR_PURPLE5 0x800080
|
||||
#define COLOR_PURPLE1 0x9B30FF
|
||||
#define COLOR_PURPLE2 0x912CEE
|
||||
#define COLOR_PURPLE3 0x7D26CD
|
||||
#define COLOR_PURPLE4 0x551A8B
|
||||
#define COLOR_THISTLE 0xD8BFD8
|
||||
#define COLOR_THISTLE1 0xFFE1FF
|
||||
#define COLOR_THISTLE2 0xEED2EE
|
||||
#define COLOR_THISTLE3 0xCDB5CD
|
||||
#define COLOR_THISTLE4 0x8B7B8B
|
||||
#define COLOR_VIOLET 0xEE82EE
|
||||
#define COLOR_VIOLETBLUE 0x9F5F9F
|
||||
#define COLOR_DARKPURPLE 0x871F78
|
||||
#define COLOR_MAROON5 0xF5CCB0
|
||||
#define COLOR_MAROON0 0x800000
|
||||
#define COLOR_MEDIUMVIOLETRED5 0xDB7093
|
||||
#define COLOR_NEONPINK 0xFF6EC7
|
||||
#define COLOR_PLUM5 0xEAADEA
|
||||
#define COLOR_THISTLE 0xD8BFD8
|
||||
#define COLOR_TURQUOISE5 0xADEAEA
|
||||
#define COLOR_VIOLET1 0x4F2F4F
|
||||
#define COLOR_VIOLETRED5 0xCC3299
|
||||
#define COLOR_ANTIQUEWHITE 0xFAEBD7
|
||||
#define COLOR_ANTIQUEWHITE1 0xFFEFDB
|
||||
#define COLOR_ANTIQUEWHITE2 0xEEDFCC
|
||||
#define COLOR_ANTIQUEWHITE3 0xCDC0B0
|
||||
#define COLOR_ANTIQUEWHITE4 0x8B8378
|
||||
#define COLOR_FLORALWHITE 0xFFFAF0
|
||||
#define COLOR_GHOSTWHITE 0xF8F8FF
|
||||
#define COLOR_NAVAJOWHITE 0xFFDEAD
|
||||
#define COLOR_NAVAJOWHITE1 0xFFDEAD
|
||||
#define COLOR_NAVAJOWHITE2 0xEECFA1
|
||||
#define COLOR_NAVAJOWHITE3 0xCDB38B
|
||||
#define COLOR_NAVAJOWHITE4 0x8B795E
|
||||
#define COLOR_OLDLACE 0xFDF5E6
|
||||
#define COLOR_WHITESMOKE 0xF5F5F5
|
||||
#define COLOR_GAINSBORO 0xDCDCDC
|
||||
#define COLOR_IVORY 0xFFFFF0
|
||||
#define COLOR_IVORY1 0xFFFFF0
|
||||
#define COLOR_IVORY2 0xEEEEE0
|
||||
#define COLOR_IVORY3 0xCDCDC1
|
||||
#define COLOR_IVORY4 0x8B8B83
|
||||
#define COLOR_LINEN 0xFAF0E6
|
||||
#define COLOR_SEASHELL 0xFFF5EE
|
||||
#define COLOR_SEASHELL1 0xFFF5EE
|
||||
#define COLOR_SEASHELL2 0xEEE5DE
|
||||
#define COLOR_SEASHELL3 0xCDC5BF
|
||||
#define COLOR_SEASHELL4 0x8B8682
|
||||
#define COLOR_SNOW 0xFFFAFA
|
||||
#define COLOR_SNOW1 0xFFFAFA
|
||||
#define COLOR_SNOW2 0xEEE9E9
|
||||
#define COLOR_SNOW3 0xCDC9C9
|
||||
#define COLOR_SNOW4 0x8B8989
|
Loading…
x
Reference in New Issue
Block a user