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

📄 lnlayelm.hpp

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 HPP
字号:
//===========================================================================
//
// Module:		LNLAYELM.HPP
//
// Description:
//
//		Class library definition for the LNLayoutElement 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 LNLAYELM_HPP
#define LNLAYELM_HPP

class LNIMPEXPCL LNLayoutElement : public LNRTElement
{

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

	~LNLayoutElement();

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

	LNColor GetBackgroundColor () const;

	virtual LNCLASSID GetClassID() const { return LNCLASSID_LNLAYOUTELEMENT; }

	LNSTATUS GetFontStyle (LNFontStyle * pStyle) const;

	LNNUMBER GetHeight () const;

	LNNUMBER GetLeftMargin () const;

	LNNUMBER GetTop () const;

	LNUNITS GetUnits() const;

	LNNUMBER GetWidth() const;

	LNSTATUS SetBackgroundColor (const LNColor & color);

	virtual LNSTATUS SetFontStyle (const LNFontStyle & style);

	LNSTATUS SetHeight(LNNUMBER height);

	LNSTATUS SetLeftMargin (LNNUMBER margin);

	LNSTATUS SetPosition(LNPOSITION position);

	LNSTATUS SetTop (LNNUMBER top);

	LNSTATUS SetUnits(LNUNITS units);

	LNSTATUS SetWidth(LNNUMBER width);

protected:
	LNLayoutElement(LNLayoutElementBody *body);

	LNLayoutElement& operator=(LNLayoutElementBody *body);

	LNLayoutElementBody* GetLayoutElementBody () const { return (LNLayoutElementBody *) Body; }

private:	
	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 + -