📄 rm_designer.hpp
字号:
protected:
virtual bool __fastcall GetModified(void);
virtual void __fastcall SetModified(bool Value);
virtual void __fastcall SetFactor(int Value);
virtual Rm_class::TRMDesignerRestrictions __fastcall GetDesignerRestrictions(void);
virtual void __fastcall SetDesignerRestrictions(Rm_class::TRMDesignerRestrictions Value);
public:
Rm_class::TRMView* FirstSelected;
int SelNum;
Rm_ctrls::TRMDock* Dock971;
Rm_ctrls::TRMDock* Dock972;
Rm_ctrls::TRMDock* Dock973;
Rm_ctrls::TRMDock* Dock974;
int ObjID;
Rm_class::TRMDesignerRestrictions SaveDesignerRestrictions;
TRMUndoRec UndoBuffer[100];
TRMUndoRec RedoBuffer[100];
void __fastcall ClearUndoBuffer(void);
void __fastcall ClearRedoBuffer(void);
void __fastcall ReleaseAction(PRMUndoRec aActionRec);
virtual void __fastcall BeforeChange(void);
virtual void __fastcall AfterChange(void);
virtual AnsiString __fastcall InsertDBField(Rm_class::TRMView* t);
virtual AnsiString __fastcall InsertExpression(Rm_class::TRMView* t);
void __fastcall InspSelectionChanged(AnsiString ObjName);
virtual void __fastcall RMMemoViewEditor(Rm_class::TRMView* t);
virtual void __fastcall RMFontEditor(System::TObject* Sender);
virtual void __fastcall RMDisplayFormatEditor(System::TObject* Sender);
virtual void __fastcall RMPictureViewEditor(Rm_class::TRMView* t);
virtual void __fastcall RMCalcMemoEditor(System::TObject* Sender);
void __fastcall AddLanguageMenu(Rm_ctrls::TRMSubMenuItem* aParentMenu);
virtual Forms::TForm* __fastcall EditorForm(void);
Rm_class::TRMReportView* __fastcall GetParentBand(Rm_class::TRMReportView* t);
virtual void __fastcall EnableControls(void);
void __fastcall InspGetObjects(Classes::TStrings* List);
void __fastcall SetObjectsID(void);
void __fastcall DoClick(System::TObject* Sender);
bool __fastcall PageSetup(bool aRepaint);
bool __fastcall RMCheckBand(Rm_class::TRMBandType b);
Rm_class::TRMView* __fastcall IsSubreport(int PageN);
int __fastcall TopSelected(void);
void __fastcall SetObjectID(Rm_class::TRMView* t);
void __fastcall RedrawPage(void);
void __fastcall UnSelectAll(void);
Classes::TList* __fastcall Objects(void);
virtual void __fastcall ShowPosition(void);
virtual Classes::TList* __fastcall PageObjects(void);
void __fastcall SetPageTabs(void);
void __fastcall SetCurPage(int Value);
void __fastcall ResetSelection(void);
void __fastcall AddUndoAction(TRMUndoAction aAction);
void __fastcall SetOldCurPage(int Value);
void __fastcall SetControlsEnabled(System::TObject* const * Ar, const int Ar_Size, bool aEnabled);
__property Rm_ctrls::TRMMenuItem* MenuFileHeaderFooter = {read=FMenuFileHeaderFooter};
__property int UndoBufferLength = {read=FUndoBufferLength, write=FUndoBufferLength, nodefault};
__property int RedoBufferLength = {read=FRedoBufferLength, write=FRedoBufferLength, nodefault};
__property TRMToolbarModifyPrepared* ToolbarModifyPrepared = {read=FToolbarModifyPrepared};
__property TRMToolbarStandard* ToolbarStandard = {read=FToolbarStandard};
__property Rm_ctrls::TRMMenuBar* MainMenu = {read=FMainMenu};
__property Rm_ctrls::TRMSubMenuItem* BarFile = {read=FBarFile};
__property Rm_ctrls::TRMSubMenuItem* BarSearch = {read=FBarSearch};
__property Rm_ctrls::TRMSubMenuItem* BarHelp = {read=FBarHelp};
__property bool Busy = {read=FBusy, write=FBusy, nodefault};
__property bool InspBusy = {read=FInspBusy, write=FInspBusy, nodefault};
__property TRMCustomPageEditor* CurPageEditor = {read=FCurPageEditor};
__property Rm_editorinsfield::TRMInsFieldsForm* FieldForm = {read=FFieldForm};
__property Rm_insp::TRMInspForm* InspForm = {read=FInspForm};
__property int CurPage = {read=FCurPage, write=SetCurPage, nodefault};
__property AnsiString CurDocName = {read=FCurDocName, write=SetCurDocName};
__property bool AutoOpenLastFile = {read=FAutoOpenLastFile, write=FAutoOpenLastFile, nodefault};
__property Graphics::TColor WorkSpaceColor = {read=FWorkSpaceColor, write=FWorkSpaceColor, nodefault};
__property Graphics::TColor InspFormColor = {read=FInspFormColor, write=FInspFormColor, nodefault};
__property bool UnlimitedHeight = {read=FUnlimitedHeight, write=FUnlimitedHeight, nodefault};
__property bool GridAlign = {read=FGridAlign, write=SetGridAlign, nodefault};
__property int GridSize = {read=FGridSize, write=SetGridSize, nodefault};
__property bool ShowGrid = {read=FShowGrid, write=SetGridShow, nodefault};
public:
#pragma option push -w-inl
/* TRMVirtualReportDesigner.Create */ inline __fastcall virtual TRMDesignerForm(Classes::TComponent* aOwner) : TRMVirtualReportDesigner(aOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TRMVirtualReportDesigner.Destroy */ inline __fastcall virtual ~TRMDesignerForm(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TCustomForm.CreateNew */ inline __fastcall virtual TRMDesignerForm(Classes::TComponent* AOwner, int Dummy) : TRMVirtualReportDesigner(AOwner, Dummy) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TRMDesignerForm(HWND ParentWindow) : TRMVirtualReportDesigner(ParentWindow) { }
#pragma option pop
};
class PASCALIMPLEMENTATION TRMCustomPageEditor : public Classes::TComponent
{
typedef Classes::TComponent inherited;
protected:
TRMDesignerForm* FDesignerForm;
public:
__fastcall virtual TRMCustomPageEditor(Classes::TComponent* aOwner, TRMDesignerForm* aDesignerForm);
__fastcall virtual ~TRMCustomPageEditor(void);
virtual void __fastcall Editor_Localize(void);
virtual void __fastcall Editor_BtnUndoClick(System::TObject* Sender);
virtual void __fastcall Editor_BtnRedoClick(System::TObject* Sender);
virtual void __fastcall Editor_AddUndoAction(TRMUndoAction aAction);
virtual void __fastcall Editor_BeforeFormDestroy(void);
virtual void __fastcall Editor_OnInspAfterModify(System::TObject* Sender, const AnsiString aPropName, const AnsiString aPropValue);
virtual void __fastcall Editor_KeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
virtual void __fastcall Editor_OnFormMouseWheelUp(bool aUp);
virtual void __fastcall Editor_Tab1Changed(void);
virtual void __fastcall Editor_DisableDraw(void);
virtual void __fastcall Editor_EnableDraw(void);
virtual void __fastcall Editor_RedrawPage(void);
virtual void __fastcall Editor_Resize(void);
virtual void __fastcall Editor_Init(void);
virtual void __fastcall Editor_SetCurPage(void);
virtual void __fastcall Editor_SelectionChanged(bool aRefreshInspProp);
virtual void __fastcall Editor_FillInspFields(void);
virtual void __fastcall Editor_ShowPosition(void);
virtual void __fastcall Editor_ShowContent(void);
virtual Classes::TList* __fastcall Editor_PageObjects(void);
virtual void __fastcall Editor_OnInspGetObjects(Classes::TStrings* aList);
virtual void __fastcall Editor_DoClick(System::TObject* Sender);
virtual void __fastcall Editor_SelectObject(AnsiString ObjName);
virtual void __fastcall Editor_AfterChange(void);
virtual void __fastcall Editor_SetObjectsID(void);
virtual void __fastcall Editor_BtnCutClick(System::TObject* Sender);
virtual void __fastcall Editor_BtnCopyClick(System::TObject* Sender);
virtual void __fastcall Editor_BtnPasteClick(System::TObject* Sender);
virtual void __fastcall Editor_InitToolbarComponent(void);
virtual void __fastcall Editor_EnableControls(void);
virtual void __fastcall Editor_BtnDeletePageClick(System::TObject* Sender);
virtual void __fastcall Editor_MenuFilePreview1Click(System::TObject* Sender);
virtual void __fastcall Editor_MenuFileHeaderFooterClick(System::TObject* Sender);
public:
#pragma option push -w-inl
/* TComponent.Create */ inline __fastcall virtual TRMCustomPageEditor(Classes::TComponent* AOwner) : Classes::TComponent(AOwner) { }
#pragma option pop
};
class DELPHICLASS TRMDefaultPageEditor;
class PASCALIMPLEMENTATION TRMDefaultPageEditor : public TRMCustomPageEditor
{
typedef TRMCustomPageEditor inherited;
private:
Extctrls::TPanel* FPanel;
public:
__fastcall virtual TRMDefaultPageEditor(Classes::TComponent* aOwner, TRMDesignerForm* aDesignerForm);
__fastcall virtual ~TRMDefaultPageEditor(void);
virtual void __fastcall Editor_BtnDeletePageClick(System::TObject* Sender);
public:
#pragma option push -w-inl
/* TComponent.Create */ inline __fastcall virtual TRMDefaultPageEditor(Classes::TComponent* AOwner) : TRMCustomPageEditor(AOwner) { }
#pragma option pop
};
typedef DynamicArray<System::TObject* > RM_Designer__6;
//-- var, const, procedure ---------------------------------------------------
static const Shortint RM_MaxUndoBuffer = 0x64;
static const Shortint crPencil = 0xb;
static const Shortint DefaultPopupItemsCount = 0x9;
static const Shortint TAG_SetFrameTop = 0x1;
static const Shortint TAG_SetFrameLeft = 0x2;
static const Shortint TAG_SetFrameBottom = 0x3;
static const Shortint TAG_SetFrameRight = 0x4;
static const Shortint TAG_BackColor = 0x5;
static const Shortint TAG_SetFontName = 0x7;
static const Shortint TAG_SetFontSize = 0x8;
static const Shortint TAG_FontBold = 0x9;
static const Shortint TAG_FontItalic = 0xa;
static const Shortint TAG_FontUnderline = 0xb;
static const Shortint TAG_HAlignLeft = 0xc;
static const Shortint TAG_HAlignCenter = 0xd;
static const Shortint TAG_HAlignRight = 0xe;
static const Shortint TAG_HAlignEuqal = 0xf;
static const Shortint TAG_FrameSize = 0x10;
static const Shortint TAG_FontColor = 0x11;
static const Shortint TAG_FrameColor = 0x13;
static const Shortint TAG_SetFrame = 0x14;
static const Shortint TAG_NoFrame = 0x15;
static const Shortint TAG_FrameStyle1 = 0x19;
static const Shortint TAG_FrameStyle2 = 0x1a;
static const Shortint TAG_FrameStyle3 = 0x1b;
static const Shortint TAG_FrameStyle4 = 0x1c;
static const Shortint TAG_FrameStyle5 = 0x1d;
static const Shortint TAG_FrameStyle6 = 0x1e;
static const Shortint TAG_VAlignTop = 0x1f;
static const Shortint TAG_VAlignCenter = 0x20;
static const Shortint TAG_VAlignBottom = 0x21;
static const Shortint TAG_Frame1 = 0x16;
static const Shortint TAG_Frame2 = 0x17;
static const Shortint TAG_Frame3 = 0x18;
static const Shortint TAG_Frame4 = 0x19;
static const Shortint TAG_DecWidth = 0x1a;
static const Shortint TAG_IncWidth = 0x1b;
static const Shortint TAG_DecHeight = 0x1c;
static const Shortint TAG_IncHeight = 0x1d;
extern PACKAGE AnsiString RM_LastFontName;
extern PACKAGE int RM_LastFontSize;
extern PACKAGE Word RM_LastFontCharset;
extern PACKAGE Word RM_LastFontStyle;
extern PACKAGE Graphics::TColor RM_LastFontColor;
extern PACKAGE Rm_class::TRMHAlign RM_LastHAlign;
extern PACKAGE Rm_class::TRMVAlign RM_LastVAlign;
extern PACKAGE Graphics::TColor RM_LastFillColor;
extern PACKAGE int RM_LastFrameWidth;
extern PACKAGE Graphics::TColor RM_LastFrameColor;
extern PACKAGE bool RM_LastLeftFrameVisible;
extern PACKAGE bool RM_LastTopFrameVIsible;
extern PACKAGE bool RM_LastRightFrameVisible;
extern PACKAGE bool RM_LastBottomFrameVisible;
extern PACKAGE AnsiString RM_CurLanguage;
extern PACKAGE AnsiString RM_Dsg_LastDataSet;
extern PACKAGE AnsiString RMTemplateDir;
extern PACKAGE TRMDesigner* RMDesignerComp;
extern PACKAGE void __fastcall RMAssignImages(Graphics::TBitmap* aSrcBmp, Controls::TImageList* aDstImgList)/* overload */;
extern PACKAGE void __fastcall RMAssignImages(AnsiString aRes, Controls::TImageList* aDstImgList)/* overload */;
extern PACKAGE void __fastcall RMAddLanguageDll(AnsiString aDllFileName, AnsiString aCaption);
} /* namespace Rm_designer */
using namespace Rm_designer;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Rm_designer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -