STOFFPosition Class Reference

Class to define the position of an object (textbox, picture, ..) in the document. More...

#include <STOFFPosition.hxx>

List of all members.

Public Types

enum  AnchorTo {
  Cell, Char, CharBaseLine, Frame,
  Paragraph, Page, Unknown
}
 a list of enum used to defined the anchor More...

Public Member Functions

 STOFFPosition ()
 constructor
virtual ~STOFFPosition ()
 destructor
void addTo (librevenge::RVNGPropertyList &propList) const
 add to the propList
void setOrigin (STOFFVec2f const &origin, librevenge::RVNGUnit unit)
 utility function to set a origin
void setSize (STOFFVec2f const &size, librevenge::RVNGUnit unit)
 utility function to set a size
void setAnchor (AnchorTo anchor)
 set the anchor
bool operator== (STOFFPosition const &f) const
 basic operator==
bool operator!= (STOFFPosition const &f) const
 basic operator!=

Public Attributes

AnchorTo m_anchorTo
 anchor position
librevenge::RVNGPropertyList m_propertyList
 the property list

Friends

std::ostream & operator<< (std::ostream &o, STOFFPosition const &pos)
 operator<<

Detailed Description

Class to define the position of an object (textbox, picture, ..) in the document.

Stores the page, object position, object size, anchor, wrapping, ...


Member Enumeration Documentation

a list of enum used to defined the anchor

Enumerator:
Cell 
Char 
CharBaseLine 
Frame 
Paragraph 
Page 
Unknown 

Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

bool STOFFPosition::operator!= ( STOFFPosition const &  f) const [inline]

basic operator!=

bool STOFFPosition::operator== ( STOFFPosition const &  f) const [inline]

basic operator==

Referenced by operator!=().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
STOFFPosition const &  pos 
) [friend]

operator<<


Member Data Documentation


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