⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lnlaybtn.hpp

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 HPP
字号:
//===========================================================================
//
// Module:		LNLAYBTN.HPP
//
// Description:
//
//		Class library definition for the LNLayoutButton class.
//
//===========================================================================
//
// Copyright (c) 2004 Lotus Development Corporation. All rights reserved.
// This software is subject to the Lotus Software Agreement, Restricted
// Rights for U.S. government users, and applicable export regulations.
//
//===========================================================================

#ifndef LNLAYBTN_HPP
#define LNLAYBTN_HPP

class LNIMPEXPCL LNLayoutButton : public LNLayoutElement
{

public:
	
	LNLayoutButton();
	LNLayoutButton(const LNRTObject &object);
	LNLayoutButton(const LNLayoutButton &layout);

	LNLayoutButton (const LNButton & button);

	LNLayoutButton (const LNString & label, const LNFormula & formula);
	LNLayoutButton (const LNString & label, const LNSimpleAction & action);
	LNLayoutButton (const LNString & label, const LNSimpleActions & actions);
	LNLayoutButton (const LNString & label, const LNLotusScript & script);

	~LNLayoutButton();

	LNLayoutButton & operator=(const LNRTObject &object);
	LNLayoutButton & operator=(const LNLayoutButton &layout);

	LNALIGNMENT GetAlignment () const;

	LNSTATUS GetButton (LNButton * pButton) const;

	virtual LNCLASSID GetClassID() const { return LNCLASSID_LNLAYOUTBUTTON; }

	LNSTATUS GetHTMLTags(LNHTMLTags * pTags) const;

	LNBOOL GetRTLReadingOrder () const;

	LNSTATUS SetAlignment (LNALIGNMENT alignment);

	LNSTATUS SetButton(const LNButton & button);

	virtual LNSTATUS SetFontStyle (const LNFontStyle & style);

	LNSTATUS SetHTMLTags(const LNHTMLTags & tags);

	LNSTATUS SetRTLReadingOrder (LNBOOL rtl = TRUE);

protected:

	LNLayoutButtonBody* GetLayoutButtonBody () const { return (LNLayoutButtonBody *) Body; }

private:	
	LNLayoutButton(LNLayoutButtonBody *body);

	LNLayoutButton& operator=(LNLayoutButtonBody *body);

	virtual void ValidateRTType(const LNRTObject &other) const;
	virtual void ValidateRTType(const LNRTObjectBody *other) const;
};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -