filters

Swinder::TopMarginRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::TopMarginRecord:
Swinder::Record

Public Member Functions

unsigned int rtti ()
 TopMarginRecord ()
 ~TopMarginRecord ()
double topMargin () const
void setTopMargin (double m)
virtual void setData (unsigned size, const unsigned char *data)
virtual const char * name ()
virtual void dump (std::ostream &out) const
Public Member Functions inherited from Swinder::Record
 Record ()
virtual ~Record ()
void setVersion (unsigned v)
unsigned version ()
void setPosition (unsigned pos)
unsigned position () const

Static Public Attributes

static const unsigned int id = 0x0028
Static Public Attributes inherited from Swinder::Record
static const unsigned int id = 0

Additional Inherited Members

Static Public Member Functions inherited from Swinder::Record
static Record * create (unsigned type)
Protected Attributes inherited from Swinder::Record
unsigned stream_position
unsigned ver

Detailed Description

Class TopMarginRecord holds information about top margin.

Definition at line 2636 of file excel.h.

Constructor & Destructor Documentation

◆ TopMarginRecord()

TopMarginRecord::TopMarginRecord ( )

Creates a new TopMargin record.

Definition at line 4133 of file excel.cpp.

◆ ~TopMarginRecord()

TopMarginRecord::~TopMarginRecord ( )

Destroy the record.

Definition at line 4140 of file excel.cpp.

Member Function Documentation

◆ dump()

void TopMarginRecord::dump ( std::ostream & out) const
virtual

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 4161 of file excel.cpp.

◆ name()

virtual const char * Swinder::TopMarginRecord::name ( )
inlinevirtual

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2668 of file excel.h.

◆ rtti()

unsigned int Swinder::TopMarginRecord::rtti ( )
inlinevirtual

Reimplemented from Swinder::Record.

Definition at line 2642 of file excel.h.

◆ setData()

void TopMarginRecord::setData ( unsigned size,
const unsigned char * data )
virtual

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 4155 of file excel.cpp.

◆ setTopMargin()

void TopMarginRecord::setTopMargin ( double m)

Sets the new top margin (in inches).

Definition at line 4150 of file excel.cpp.

◆ topMargin()

double TopMarginRecord::topMargin ( ) const

Gets the top margin (in inches).

Definition at line 4145 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int TopMarginRecord::id = 0x0028
static

Definition at line 2640 of file excel.h.


The documentation for this class was generated from the following files: