HTMLObject Class Reference
[khtmlw Index] [khtmlw Hierarchy]
[Headers]
#include <htmlobj.h>
Public Members
- HTMLObject ()
- virtual ~HTMLObject ()
- enum VAlign { Top, Bottom, VCenter, VNone }
- enum HAlign { Left, HCenter, Right, HNone }
- virtual void calcSize ( HTMLClue * = 0L )
- virtual HTMLFitType fitLine ( bool startOfLine, bool firstRun,
int widthLeft )
- virtual void recalcBaseSize ( QPainter * )
- virtual int calcMinWidth ()
- virtual int calcPreferredWidth ()
- virtual void setMaxAscent ( int )
- virtual void setMaxDescent ( int )
- virtual void setMaxWidth ( int _w )
- virtual int findPageBreak ( int _y )
- virtual bool print ( QPainter *, int, int, int, int, int, int, bool )
- virtual void print ( QPainter *, HTMLObject *, int, int, int, int, int, int )
- virtual void print ( QPainter *_p, HTMLChain *, int _x, int _y, int _w, int _h, int _tx, int _ty)
- virtual void print ( QPainter *, int, int )
- virtual HTMLObject* checkPoint ( int, int )
- virtual HTMLObject* mouseEvent ( int, int, int, int )
- virtual void selectByURL (KHTMLWidget *, HTMLChain *, const char *, bool, int _tx, int _ty)
- virtual void select ( KHTMLWidget *, HTMLChain *, bool, int _tx, int _ty )
- virtual void select ( KHTMLWidget *, HTMLChain *, QRect &_rect, int _tx, int _ty )
- virtual void select ( KHTMLWidget *, HTMLChain *, QRegExp& _pattern, bool _select, int _tx, int _ty )
- virtual void select ( bool _s )
- virtual bool selectText ( KHTMLWidget *_htmlw, HTMLChain *_chain, int _x1, int _y1, int _x2, int _y2, int _tx, int _ty )
- virtual void getSelected ( QStrList & )
- virtual void getSelectedText ( QString & )
- virtual void calcAbsolutePos ( int, int )
- virtual int getAbsX ()
- virtual int getAbsY ()
- virtual bool getObjectPosition ( const HTMLObject *obj, int &x, int &y )
- virtual void reset ()
- virtual void fileLoaded ( const char * /* _filename */ )
- virtual bool fileLoaded ( const char* /* _url */, QBuffer& /* _buffer */ )
- virtual const char* requestedFile ()
- enum ObjectType { Object, Clue }
- virtual ObjectType getObjectType () const
- int getXPos () const
- int getYPos () const
- int getWidth () const
- int getHeight () const
- int getAscent () const
- int getDescent () const
- int getMaxWidth () const
- int getPercent () const
- virtual const char* getURL () const
- virtual const char* getTarget () const
- void setPos ( int _x, int _y )
- void setXPos ( int _x )
- void setYPos ( int _y )
- enum ObjectFlags { Separator = 0x01, NewLine = 0x02, Selected = 0x04, AllSelected = 0x08, FixedWidth = 0x10, Aligned = 0x20,
Printed = 0x40, Hidden = 0x80}
- bool isSeparator () const
- bool isNewline () const
- bool isSelected () const
- bool isAllSelected () const
- bool isFixedWidth () const
- bool isAligned () const
- bool isPrinted () const
- bool isHidden () const
- virtual bool isSlave () const
- void setSeparator ( bool s )
- void setNewline ( bool n )
- void setSelected ( bool s )
- void setAllSelected ( bool s )
- void setFixedWidth ( bool f )
- void setAligned ( bool a )
- void setPrinted ( bool p )
- void setHidden ( bool p )
- virtual HTMLAnchor* findAnchor ( const char */*_name*/, QPoint */*_point*/ )
- void setNext ( HTMLObject *n )
- HTMLObject* next () const
- void printCount ()
- virtual void findCells ( int, int, QList<HTMLCellInfo> & )
- virtual HTMLIterator* getIterator ()
- virtual bool selectText ( const QRegExp & )
- virtual void setBgColor ( QColor )
Protected Members
void fileLoaded( const char * /* _filename */ ) [public virtual]
These two functions are overloaded by objects that need to have a remote
file downloaded, e.g. HTMLImage.
fileLoaded is called when the requested file has arrived.
Documentation generated by tasin@cd1 on Die Nov 30 17:32:22 CET 1999
|
Kdoc
|