KCalUtils Library
#include <htmlexport.h>
Public Member Functions | |
HtmlExport (KCalCore::MemoryCalendar *calendar, HTMLExportSettings *settings) | |
void | addHoliday (const QDate &date, const QString &name) |
bool | save (const QString &fileName=QString()) |
bool | save (QTextStream *ts) |
Protected Member Functions | |
QString | breakString (const QString &text) |
bool | checkSecrecy (const KCalCore::Incidence::Ptr &incidence) |
void | createEvent (QTextStream *ts, const KCalCore::Event::Ptr &event, const QDate &date, bool withDescription=true) |
void | createEventList (QTextStream *ts) |
void | createFooter (QTextStream *ts) |
void | createFreeBusyView (QTextStream *ts) |
void | createJournalView (QTextStream *ts) |
void | createMonthView (QTextStream *ts) |
void | createTodo (QTextStream *ts, const KCalCore::Todo::Ptr &todo) |
void | createTodoList (QTextStream *ts) |
void | createWeekView (QTextStream *ts) |
void | formatAttendees (QTextStream *ts, const KCalCore::Incidence::Ptr &incidence) |
void | formatCategories (QTextStream *ts, const KCalCore::Incidence::Ptr &incidence) |
void | formatLocation (QTextStream *ts, const KCalCore::Incidence::Ptr &incidence) |
QDate | fromDate () const |
QString | styleSheet () const |
QDate | toDate () const |
Detailed Description
This class provides the functions to export a calendar as a HTML page.
Definition at line 47 of file htmlexport.h.
Constructor & Destructor Documentation
◆ HtmlExport()
HtmlExport::HtmlExport | ( | KCalCore::MemoryCalendar * | calendar, |
HTMLExportSettings * | settings ) |
Create new HTML exporter for calendar.
Definition at line 57 of file htmlexport.cpp.
◆ ~HtmlExport()
|
virtual |
Definition at line 62 of file htmlexport.cpp.
Member Function Documentation
◆ addHoliday()
void HtmlExport::addHoliday | ( | const QDate & | date, |
const QString & | name ) |
Definition at line 755 of file htmlexport.cpp.
◆ breakString()
|
protected |
Definition at line 642 of file htmlexport.cpp.
◆ checkSecrecy()
|
protected |
Definition at line 582 of file htmlexport.cpp.
◆ createEvent()
|
protected |
Definition at line 302 of file htmlexport.cpp.
◆ createEventList()
|
protected |
Definition at line 250 of file htmlexport.cpp.
◆ createFooter()
|
protected |
Definition at line 662 of file htmlexport.cpp.
◆ createFreeBusyView()
|
protected |
Definition at line 576 of file htmlexport.cpp.
◆ createJournalView()
|
protected |
Definition at line 569 of file htmlexport.cpp.
◆ createMonthView()
|
protected |
Definition at line 161 of file htmlexport.cpp.
◆ createTodo()
|
protected |
Definition at line 474 of file htmlexport.cpp.
◆ createTodoList()
|
protected |
Definition at line 357 of file htmlexport.cpp.
◆ createWeekView()
|
protected |
Definition at line 563 of file htmlexport.cpp.
◆ formatAttendees()
|
protected |
Definition at line 618 of file htmlexport.cpp.
◆ formatCategories()
|
protected |
Definition at line 608 of file htmlexport.cpp.
◆ formatLocation()
|
protected |
Definition at line 598 of file htmlexport.cpp.
◆ fromDate()
|
protected |
Definition at line 765 of file htmlexport.cpp.
◆ save() [1/2]
bool HtmlExport::save | ( | const QString & | fileName = QString() | ) |
Writes out the calendar in HTML format.
Definition at line 67 of file htmlexport.cpp.
◆ save() [2/2]
bool HtmlExport::save | ( | QTextStream * | ts | ) |
Writes out calendar to text stream.
Definition at line 86 of file htmlexport.cpp.
◆ styleSheet()
|
protected |
Definition at line 720 of file htmlexport.cpp.
◆ toDate()
|
protected |
Definition at line 770 of file htmlexport.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.