HtmlExport Class Reference
This class provides the functions to export a calendar as a HTML page. More...
#include <htmlexport.h>
Public Member Functions | |
| HtmlExport (Calendar *calendar) | |
| Create new HTML exporter for calendar. | |
| bool | save (const QString &fileName) |
| writes out the calendar in HTML format. | |
| bool | save (QTextStream *) |
| writes out calendar to file. | |
| 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 () |
Protected Member Functions | |
| 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 39 of file htmlexport.h.
Constructor & Destructor Documentation
|
|
Create new HTML exporter for calendar.
Definition at line 42 of file htmlexport.h. |
Member Function Documentation
|
|
writes out the calendar in HTML format.
Definition at line 45 of file htmlexport.cpp. References QFile::close(), and QFile::open(). |
|
|
writes out calendar to file. The QFile has to already be opened for writing. Definition at line 57 of file htmlexport.cpp. References QTextStream::setEncoding(). |
The documentation for this class was generated from the following files:
