libkcal

KCal::HtmlExport Class Reference

#include <htmlexport.h>

List of all members.


Detailed Description

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

Definition at line 42 of file htmlexport.h.


Public Member Functions

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

Protected Member Functions

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

Constructor & Destructor Documentation

HtmlExport::HtmlExport ( Calendar calendar,
HTMLExportSettings settings 
)

Create new HTML exporter for calendar.

Definition at line 47 of file htmlexport.cpp.


Member Function Documentation

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

Writes out the calendar in HTML format.

Definition at line 52 of file htmlexport.cpp.

bool HtmlExport::save ( QTextStream *   ) 

Writes out calendar to text stream.

Definition at line 71 of file htmlexport.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys