libkcal

#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()

virtual KCal::HtmlExport::~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()

TQString HtmlExport::breakString ( const TQString & text)
protected

Definition at line 590 of file htmlexport.cpp.

◆ checkSecrecy()

bool HtmlExport::checkSecrecy ( Incidence * incidence)
protected

Definition at line 520 of file htmlexport.cpp.

◆ createEvent()

void HtmlExport::createEvent ( TQTextStream * ts,
Event * event,
TQDate date,
bool withDescription = true )
protected

Definition at line 272 of file htmlexport.cpp.

◆ createEventList()

void HtmlExport::createEventList ( TQTextStream * ts)
protected

Definition at line 223 of file htmlexport.cpp.

◆ createFooter()

void HtmlExport::createFooter ( TQTextStream * ts)
protected

Definition at line 610 of file htmlexport.cpp.

◆ createFreeBusyView()

void HtmlExport::createFreeBusyView ( TQTextStream * ts)
protected

Definition at line 515 of file htmlexport.cpp.

◆ createJournalView()

void HtmlExport::createJournalView ( TQTextStream * ts)
protected

Definition at line 509 of file htmlexport.cpp.

◆ createMonthView()

void HtmlExport::createMonthView ( TQTextStream * ts)
protected

Definition at line 138 of file htmlexport.cpp.

◆ createTodo()

void HtmlExport::createTodo ( TQTextStream * ts,
Todo * todo )
protected

Definition at line 430 of file htmlexport.cpp.

◆ createTodoList()

void HtmlExport::createTodoList ( TQTextStream * ts)
protected

Definition at line 325 of file htmlexport.cpp.

◆ createWeekView()

void HtmlExport::createWeekView ( TQTextStream * ts)
protected

Definition at line 504 of file htmlexport.cpp.

◆ formatAttendees()

void HtmlExport::formatAttendees ( TQTextStream * ts,
Incidence * event )
protected

Definition at line 554 of file htmlexport.cpp.

◆ formatCategories()

void HtmlExport::formatCategories ( TQTextStream * ts,
Incidence * event )
protected

Definition at line 545 of file htmlexport.cpp.

◆ formatLocation()

void HtmlExport::formatLocation ( TQTextStream * ts,
Incidence * event )
protected

Definition at line 536 of file htmlexport.cpp.

◆ fromDate()

TQDate HtmlExport::fromDate ( ) const
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()

TQString HtmlExport::styleSheet ( ) const
protected

Definition at line 669 of file htmlexport.cpp.

◆ toDate()

TQDate HtmlExport::toDate ( ) const
protected

Definition at line 718 of file htmlexport.cpp.


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