Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ReportEntityLabel.h
Package: solidgraph_sources.zip [view]
Upload User: kairuinn
Upload Date: 2009-02-07
Package Size: 2922k
Code Size: 2k
Category:
Graph program
Development Platform:
Visual C++
- #ifndef _REPORTENTITYLABEL_H_
- #define _REPORTENTITYLABEL_H_
- #include "DiagramEditor/DiagramEntity.h"
- #include "ReportLabelProperties.h"
- class CReportEntityLabel : public CDiagramEntity
- {
- public:
- CReportEntityLabel();
- ~CReportEntityLabel();
- virtual DIAGRAM_OBJECT_TYPE GetEntityType() {return DIAGRAM_LABEL;};
- virtual CDiagramEntity* Clone();
- virtual void Copy( CDiagramEntity* obj );
- virtual BOOL FromString( const CString& str );
- virtual CString GetString() const;
- static CDiagramEntity* CreateFromString( const CString & str );
- virtual void Serialize(CArchive& ar);
- virtual void Draw( CDC* dc, CRect rect );
- CString GetFontName() const;
- void SetFontName( CString value );
- void SetCharSet(BYTE nCS) {m_fontCharSet=nCS;};
- BYTE GetCharSet() const {return m_fontCharSet;};
- int GetFontSize() const;
- void SetFontSize( int value );
- BOOL GetFontBold() const;
- void SetFontBold( BOOL value );
- BOOL GetFontItalic() const;
- void SetFontItalic( BOOL value );
- BOOL GetFontUnderline() const;
- void SetFontUnderline( BOOL value );
- BOOL GetFontStrikeout() const;
- void SetFontStrikeout( BOOL value );
- COLORREF GetFontColor() const;
- void SetFontColor( COLORREF value );
- void SetJustification( unsigned int justification );
- unsigned int GetJustification() const;
- int GetAngle() {return m_angle;};
- void SetAngle(int nA) {m_angle=nA;};
- unsigned int GetBorderThickness() const;
- void SetBorderThickness( unsigned int value );
- unsigned int GetBorderStyle() const;
- void SetBorderStyle( unsigned int value );
- unsigned int GetBorderColor() const;
- void SetBorderColor( unsigned int value );
- private:
- CString m_fontName;
- int m_fontSize;
- BYTE m_fontCharSet;
- BOOL m_fontBold;
- BOOL m_fontItalic;
- BOOL m_fontUnderline;
- BOOL m_fontStrikeout;
- COLORREF m_fontColor;
- unsigned int m_justification;
- unsigned int m_borderThickness;
- unsigned int m_borderStyle;
- unsigned int m_borderColor;
- int m_angle;
- CReportLabelProperties m_dlg;
- };
- #endif //_REPORTENTITYLABEL_H_