KCal::HtmlExport Class Reference
This class provides the functions to export a calendar as a HTML page. More...
#include <htmlexport.h>
Public Methods | |
HtmlExport (Calendar *calendar) | |
virtual | ~HtmlExport () |
bool | save (const QString &fileName) |
bool | save (QTextStream *) |
void | setTitle (QString title) |
QString | title () |
void | setTitleTodo (QString title) |
QString | titleTodo () |
void | setFullName (QString name) |
QString | fullName () |
void | setEmail (QString email) |
QString | email () |
void | setCredit (QString name, QString url) |
QString | creditName () |
QString | creditURL () |
void | setMonthViewEnabled (bool enable=true) |
bool | monthViewEnabled () |
void | setEventsEnabled (bool enable=true) |
bool | eventsEnabled () |
void | setTodosEnabled (bool enable=true) |
bool | todosEnabled () |
void | setCategoriesTodoEnabled (bool enable=true) |
bool | categoriesTodoEnabled () |
void | setAttendeesTodoEnabled (bool enable=true) |
bool | attendeesTodoEnabled () |
void | setExcludePrivateTodoEnabled (bool enable=true) |
bool | excludePrivateTodoEnabled () |
void | setExcludeConfidentialTodoEnabled (bool enable=true) |
bool | excludeConfidentialTodoEnabled () |
void | setCategoriesEventEnabled (bool enable=true) |
bool | categoriesEventEnabled () |
void | setAttendeesEventEnabled (bool enable=true) |
bool | attendeesEventEnabled () |
void | setExcludePrivateEventEnabled (bool enable=true) |
bool | excludePrivateEventEnabled () |
void | setExcludeConfidentialEventEnabled (bool enable=true) |
bool | excludeConfidentialEventEnabled () |
void | setDueDateEnabled (bool enable=true) |
bool | dueDateEnabled () |
void | setDateRange (const QDate &from, const QDate &to) |
QDate | fromDate () |
QDate | toDate () |
void | setStyleSheet (const QString &) |
QString | styleSheet () |
void | addHoliday (QDate date, QString name) |
Protected Methods | |
void | createHtmlMonthView (QTextStream *ts) |
void | createHtmlEventList (QTextStream *ts) |
void | createHtmlTodoList (QTextStream *ts) |
void | createHtmlTodo (QTextStream *ts, Todo *todo) |
void | createHtmlEvent (QTextStream *ts, Event *event, QDate date, bool withDescription=true) |
bool | checkSecrecy (Incidence *) |
void | formatHtmlCategories (QTextStream *ts, Incidence *event) |
void | formatHtmlAttendees (QTextStream *ts, Incidence *event) |
QString | breakString (const QString &text) |
Detailed Description
This class provides the functions to export a calendar as a HTML page.
Definition at line 41 of file htmlexport.h.
Constructor & Destructor Documentation
|
Create new HTML exporter for calendar.
Definition at line 47 of file htmlexport.cpp. |
Member Function Documentation
|
Writes out the calendar in HTML format.
Definition at line 64 of file htmlexport.cpp. References QFile::close(), and QFile::open(). |
|
Writes out calendar to text stream.
Definition at line 76 of file htmlexport.cpp. References QString::arg(), QString::isEmpty(), and QTextStream::setEncoding(). |
The documentation for this class was generated from the following files: