#include <htmlexport.h>
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::HtmlExport | ( | Calendar * | calendar, |
HTMLExportSettings * | settings | ||
) |
Create new HTML exporter for calendar.
Definition at line 48 of file htmlexport.cpp.
◆ ~HtmlExport()
|
inlinevirtual |
Definition at line 49 of file htmlexport.h.
Member Function Documentation
◆ addHoliday()
void HtmlExport::addHoliday | ( | const TQDate & | date, |
const TQString & | name | ||
) |
Definition at line 704 of file htmlexport.cpp.
◆ breakString()
|
protected |
Definition at line 590 of file htmlexport.cpp.
◆ checkSecrecy()
|
protected |
Definition at line 520 of file htmlexport.cpp.
◆ createEvent()
|
protected |
Definition at line 272 of file htmlexport.cpp.
◆ createEventList()
|
protected |
Definition at line 223 of file htmlexport.cpp.
◆ createFooter()
|
protected |
Definition at line 610 of file htmlexport.cpp.
◆ createFreeBusyView()
|
protected |
Definition at line 515 of file htmlexport.cpp.
◆ createJournalView()
|
protected |
Definition at line 509 of file htmlexport.cpp.
◆ createMonthView()
|
protected |
Definition at line 138 of file htmlexport.cpp.
◆ createTodo()
|
protected |
Definition at line 430 of file htmlexport.cpp.
◆ createTodoList()
|
protected |
Definition at line 325 of file htmlexport.cpp.
◆ createWeekView()
|
protected |
Definition at line 504 of file htmlexport.cpp.
◆ formatAttendees()
|
protected |
Definition at line 554 of file htmlexport.cpp.
◆ formatCategories()
|
protected |
Definition at line 545 of file htmlexport.cpp.
◆ formatLocation()
|
protected |
Definition at line 536 of file htmlexport.cpp.
◆ fromDate()
|
protected |
Definition at line 713 of file htmlexport.cpp.
◆ save() [1/2]
bool HtmlExport::save | ( | const TQString & | fileName = TQString() | ) |
Writes out the calendar in HTML format.
Definition at line 53 of file htmlexport.cpp.
◆ save() [2/2]
bool HtmlExport::save | ( | TQTextStream * | ts | ) |
Writes out calendar to text stream.
Definition at line 72 of file htmlexport.cpp.
◆ styleSheet()
|
protected |
Definition at line 669 of file htmlexport.cpp.
◆ toDate()
|
protected |
Definition at line 718 of file htmlexport.cpp.
The documentation for this class was generated from the following files: