class object

Abstract HTML Object API.

Inheritance:


Public Methods

object(void)
Null object constructor
virtual ~object(void)
Object destructor
virtual object* clone(void) const
Clone an object.
virtual dim_t getXSize(void) const
Get the object size in x.
virtual dim_t getYSize(void) const
Get the object size in y.
virtual void write(writer& out) const
Write out the object.

Documentation

The HTML object class is an abstract class defining the API for any HTML object to be displayed.
object(void)
Null object constructor

virtual ~object(void)
Object destructor

virtual object* clone(void) const
Create an identical copy of the object. The clone is owened by the calling function and will not be deleted when the oringinal is destroyed.
Returns:
pointer to the object clone.

virtual dim_t getXSize(void) const
Get the horizontal size of a printable object.
Returns:
Horizontal size in points.

virtual dim_t getYSize(void) const
Get the vertical size of a printable object.
Returns:
Vertical size in points.

virtual void write(writer& out) const
Write the description of this object and all included objects in the case of a compound to an html file.
Parameters:
out - HTML write to receive the object description.


Direct child classes:
text
table
link
label
image
hline
compound
Author:
John Zweizig
Version:
1.0; Modified January 5, 2001

alphabetic index hierarchy of classes


generated by doc++