📄 wwriched.hpp
字号:
void __fastcall SetDataField(const AnsiString Value);
void __fastcall SetDataSource(Db::TDataSource* Value);
HIDESBASE void __fastcall SetReadOnly(bool Value);
void __fastcall SetAutoDisplay(bool Value);
void __fastcall SetFocused(bool Value);
void __fastcall UpdateData(System::TObject* Sender);
MESSAGE void __fastcall WMCut(Messages::TMessage &Message);
MESSAGE void __fastcall WMPaste(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TWMNoParams &Message);
HIDESBASE MESSAGE void __fastcall CMExit(Messages::TWMNoParams &Message);
HIDESBASE MESSAGE void __fastcall WMLButtonDblClk(Messages::TWMMouse &Message);
MESSAGE void __fastcall CMGetDataLink(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &Message);
protected:
virtual void __fastcall BeginEditing(void);
DYNAMIC void __fastcall Change(void);
DYNAMIC void __fastcall KeyPress(char &Key);
DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
virtual bool __fastcall GetReadOnly(void);
virtual void __fastcall UpdateField(void);
virtual void __fastcall SetParent(Controls::TWinControl* AParent);
virtual void __fastcall CreateWnd(void);
virtual bool __fastcall IsMemoLoaded(void);
virtual Db::TField* __fastcall GetField(void);
public:
__fastcall virtual TwwDBRichEdit(Classes::TComponent* AOwner);
__fastcall virtual ~TwwDBRichEdit(void);
virtual void __fastcall LoadMemo(void);
void __fastcall LoadBlobStart(Db::TField* Field, int NumPackets = 0x2);
DYNAMIC bool __fastcall UpdateAction(Classes::TBasicAction* Action);
DYNAMIC bool __fastcall ExecuteAction(Classes::TBasicAction* Action);
__published:
__property Wwintl::TwwController* Controller = {read=FController, write=SetController};
__property Anchors = {default=3};
__property Constraints ;
__property BevelEdges = {default=15};
__property BevelInner = {index=0, default=2};
__property BevelKind = {default=0};
__property BevelOuter = {index=1, default=1};
__property Align = {default=0};
__property Alignment = {default=0};
__property AutoURLDetect ;
__property AutoSelect = {default=0};
__property bool AutoDisplay = {read=FAutoDisplay, write=SetAutoDisplay, default=1};
__property BorderStyle = {default=1};
__property BorderWidth = {default=0};
__property Color = {default=-16777211};
__property Ctl3D ;
__property AnsiString DataField = {read=GetDataField, write=SetDataField};
__property Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};
__property DragCursor = {default=-12};
__property DragMode = {default=0};
__property Enabled = {default=1};
__property Font ;
__property Frame ;
__property GutterWidth = {default=3};
__property HideSelection = {default=1};
__property HideScrollBars = {default=1};
__property ImeMode = {default=3};
__property ImeName ;
__property MaxLength = {default=0};
__property ParentColor = {default=0};
__property ParentCtl3D = {default=1};
__property ParentFont = {default=1};
__property ParentShowHint = {default=1};
__property OleOptions = {default=1};
__property PrintPageSize = {default=1};
__property UserSpeedButton1 ;
__property UserSpeedButton2 ;
__property HighlightColor = {default=65535};
__property Title ;
__property PopupMenu ;
__property PrintJobName ;
__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};
__property ShowHint ;
__property TabOrder = {default=-1};
__property TabStop = {default=1};
__property Visible = {default=1};
__property WantReturns = {default=1};
__property WantTabs = {default=0};
__property WantNavigationKeys = {default=0};
__property WordWrap = {default=1};
__property OnChange ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnKeyDown ;
__property OnKeyPress ;
__property OnKeyUp ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnResizeRequest ;
__property OnSelectionChange ;
__property OnProtectChange ;
__property OnSaveClipboard ;
__property OnStartDrag ;
__property PopupOptions = {default=32655};
__property EditorOptions = {default=65532};
__property EditorCaption ;
__property EditorPosition ;
__property MeasurementUnits ;
__property PrintMargins ;
__property EditWidth = {default=0};
__property OnInitDialog ;
__property OnCloseDialog ;
__property OnCreateDialog ;
__property OnURLOpen ;
__property OnMenuLoadClick ;
__property OnMenuPrintClick ;
__property OnMenuSaveAsClick ;
__property OnMenuSaveAndExitClick ;
__property PrintHeader ;
__property PrintFooter ;
__property OnPrintHeader ;
__property OnPrintFooter ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TwwDBRichEdit(HWND ParentWindow) : TwwCustomRichEdit(ParentWindow) { }
#pragma option pop
};
class PASCALIMPLEMENTATION TwwRulerPanel : public Extctrls::TPanel
{
typedef Extctrls::TPanel inherited;
private:
int __fastcall TwipsToPixels(int Twips);
int __fastcall PrinterPixelsToTwipsX(int pixels);
int __fastcall PixelsToTwipsX(int pixels);
protected:
virtual void __fastcall Paint(void);
public:
#pragma pack(push,1)
Types::TRect RulerRect;
#pragma pack(pop)
Wwtrackicon::TwwTrackIcon* LeftDragButton;
Wwtrackicon::TwwTrackIcon* RightDragButton;
Wwtrackicon::TwwTrackIcon* FirstLineDragButton;
TwwDBRichEdit* RichEdit;
void __fastcall UpdateDragIcons(void);
void __fastcall UpdateSize(TwwCustomRichEdit* DialogRichEdit);
void __fastcall UpdateRulerProp(System::TObject* Sender);
public:
#pragma option push -w-inl
/* TCustomPanel.Create */ inline __fastcall virtual TwwRulerPanel(Classes::TComponent* AOwner) : Extctrls::TPanel(AOwner) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TCustomControl.Destroy */ inline __fastcall virtual ~TwwRulerPanel(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TwwRulerPanel(HWND ParentWindow) : Extctrls::TPanel(ParentWindow) { }
#pragma option pop
};
struct TwwCharFormat2
{
public:
unsigned cbSize;
int dwMask;
int dwEffects;
int yHeight;
int yOffset;
unsigned crTextColor;
Byte bCharSet;
Byte bPitchAndFamily;
char szFaceName[32];
Word wWeight;
short sSpacing;
unsigned crBackColor;
int lcid;
int dwReserved;
short style;
Word wKerning;
Byte bUnderlineType;
Byte bAnimation;
Byte bRevAuthor;
Byte bReserved1;
} ;
class DELPHICLASS EwwRTFError;
class PASCALIMPLEMENTATION EwwRTFError : public Sysutils::Exception
{
typedef Sysutils::Exception inherited;
private:
int FErrorCode;
public:
__fastcall EwwRTFError(AnsiString Message, int ErrCode, int Dummy);
__property int ErrorCode = {read=FErrorCode, nodefault};
public:
#pragma option push -w-inl
/* Exception.CreateFmt */ inline __fastcall EwwRTFError(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateRes */ inline __fastcall EwwRTFError(int Ident)/* overload */ : Sysutils::Exception(Ident) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateResFmt */ inline __fastcall EwwRTFError(int Ident, System::TVarRec const * Args, const int Args_Size)/* overload */ : Sysutils::Exception(Ident, Args, Args_Size) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateHelp */ inline __fastcall EwwRTFError(const AnsiString Msg, int AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateFmtHelp */ inline __fastcall EwwRTFError(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateResHelp */ inline __fastcall EwwRTFError(int Ident, int AHelpContext)/* overload */ : Sysutils::Exception(Ident, AHelpContext) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateResFmtHelp */ inline __fastcall EwwRTFError(System::PResStringRec ResStringRec, System::TVarRec const * Args, const int Args_Size, int AHelpContext)/* overload */ : Sysutils::Exception(ResStringRec, Args, Args_Size, AHelpContext) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TObject.Destroy */ inline __fastcall virtual ~EwwRTFError(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
static const Word wwTwipsPerInch = 0x5a0;
static const Shortint PFA_FULLJUSTIFY = 0x4;
extern PACKAGE bool __fastcall wwGetUniqueFileName(AnsiString &Filename);
extern PACKAGE void __fastcall Register(void);
} /* namespace Wwriched */
using namespace Wwriched;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Wwriched
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -