libkcal

KCal::HtmlExport Class Reference

This class provides the functions to export a calendar as an HTML page. More...

#include <htmlexport.h>

List of all members.


Public Member Functions

void addHoliday (const QDate &date, const QString &name)
 HtmlExport (Calendar *calendar, HTMLExportSettings *settings)
bool save (QTextStream *)
bool save (const QString &fileName=QString::null)
virtual ~HtmlExport ()

Protected Member Functions

QString breakString (const QString &text)
bool checkSecrecy (Incidence *)
void createEvent (QTextStream *ts, Event *event, QDate date, bool withDescription=true)
void createEventList (QTextStream *ts)
void createFooter (QTextStream *ts)
void createFreeBusyView (QTextStream *ts)
void createJournalView (QTextStream *ts)
void createMonthView (QTextStream *ts)
void createTodo (QTextStream *ts, Todo *todo)
void createTodoList (QTextStream *ts)
void createWeekView (QTextStream *ts)
void formatAttendees (QTextStream *ts, Incidence *event)
void formatCategories (QTextStream *ts, Incidence *event)
void formatLocation (QTextStream *ts, Incidence *event)
QDate fromDate () const
QString styleSheet () const
QDate toDate () const

Detailed Description

This class provides the functions to export a calendar as an HTML page.

Definition at line 42 of file htmlexport.h.


Constructor & Destructor Documentation

HtmlExport::HtmlExport ( Calendar calendar,
HTMLExportSettings *  settings 
)

Create new HTML exporter for calendar.

Definition at line 47 of file htmlexport.cpp.

virtual KCal::HtmlExport::~HtmlExport (  )  [inline, virtual]

Definition at line 49 of file htmlexport.h.


Member Function Documentation

void HtmlExport::addHoliday ( const QDate date,
const QString name 
)

Definition at line 696 of file htmlexport.cpp.

QString HtmlExport::breakString ( const QString text  )  [protected]

Definition at line 582 of file htmlexport.cpp.

bool HtmlExport::checkSecrecy ( Incidence incidence  )  [protected]

Definition at line 512 of file htmlexport.cpp.

void HtmlExport::createEvent ( QTextStream ts,
Event event,
QDate  date,
bool  withDescription = true 
) [protected]

Definition at line 268 of file htmlexport.cpp.

void HtmlExport::createEventList ( QTextStream ts  )  [protected]

Definition at line 219 of file htmlexport.cpp.

void HtmlExport::createFooter ( QTextStream ts  )  [protected]

Definition at line 602 of file htmlexport.cpp.

void HtmlExport::createFreeBusyView ( QTextStream ts  )  [protected]

Definition at line 507 of file htmlexport.cpp.

void HtmlExport::createJournalView ( QTextStream ts  )  [protected]

Definition at line 501 of file htmlexport.cpp.

void HtmlExport::createMonthView ( QTextStream ts  )  [protected]

Definition at line 137 of file htmlexport.cpp.

void HtmlExport::createTodo ( QTextStream ts,
Todo todo 
) [protected]

Definition at line 422 of file htmlexport.cpp.

void HtmlExport::createTodoList ( QTextStream ts  )  [protected]

Definition at line 317 of file htmlexport.cpp.

void HtmlExport::createWeekView ( QTextStream ts  )  [protected]

Definition at line 496 of file htmlexport.cpp.

void HtmlExport::formatAttendees ( QTextStream ts,
Incidence event 
) [protected]

Definition at line 546 of file htmlexport.cpp.

void HtmlExport::formatCategories ( QTextStream ts,
Incidence event 
) [protected]

Definition at line 537 of file htmlexport.cpp.

void HtmlExport::formatLocation ( QTextStream ts,
Incidence event 
) [protected]

Definition at line 528 of file htmlexport.cpp.

QDate HtmlExport::fromDate (  )  const [protected]

Definition at line 705 of file htmlexport.cpp.

bool HtmlExport::save ( QTextStream ts  ) 

Writes out calendar to text stream.

Definition at line 71 of file htmlexport.cpp.

bool HtmlExport::save ( const QString fileName = QString::null  ) 

Writes out the calendar in HTML format.

Definition at line 52 of file htmlexport.cpp.

QString HtmlExport::styleSheet (  )  const [protected]

Definition at line 661 of file htmlexport.cpp.

QDate HtmlExport::toDate (  )  const [protected]

Definition at line 710 of file htmlexport.cpp.


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