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

 HtmlExport (Calendar *calendar, HTMLExportSettings *settings)
bool save (const TQString &fileName=TQString())
bool save (TQTextStream *)
void addHoliday (const TQDate &date, const TQString &name)

Protected Member Functions

void createWeekView (TQTextStream *ts)
void createMonthView (TQTextStream *ts)
void createEventList (TQTextStream *ts)
void createTodoList (TQTextStream *ts)
void createJournalView (TQTextStream *ts)
void createFreeBusyView (TQTextStream *ts)
void createTodo (TQTextStream *ts, Todo *todo)
void createEvent (TQTextStream *ts, Event *event, TQDate date, bool withDescription=true)
void createFooter (TQTextStream *ts)
bool checkSecrecy (Incidence *)
void formatLocation (TQTextStream *ts, Incidence *event)
void formatCategories (TQTextStream *ts, Incidence *event)
void formatAttendees (TQTextStream *ts, Incidence *event)
TQString breakString (const TQString &text)
TQDate fromDate () const
TQDate toDate () const
TQString styleSheet () 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 48 of file htmlexport.cpp.


Member Function Documentation

bool HtmlExport::save ( TQTextStream *  ts  ) 

Writes out calendar to text stream.

Definition at line 72 of file htmlexport.cpp.

bool HtmlExport::save ( const TQString &  fileName = TQString()  ) 

Writes out the calendar in HTML format.

Definition at line 53 of file htmlexport.cpp.


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