22#ifndef KCAL_HTMLEXPORT_H
23#define KCAL_HTMLEXPORT_H
26#include <tqdatetime.h>
30#include <libkcal/htmlexportsettings.h>
32#include "libkcal_export.h"
54 bool save( const TQString &fileName = TQString() );
59 bool save( TQTextStream * );
61 void addHoliday( const TQDate &date, const TQString &name );
64 void createWeekView( TQTextStream *ts );
65 void createMonthView( TQTextStream *ts );
66 void createEventList( TQTextStream *ts );
67 void createTodoList( TQTextStream *ts );
68 void createJournalView( TQTextStream *ts );
69 void createFreeBusyView( TQTextStream *ts );
71 void createTodo( TQTextStream *ts, Todo *todo);
72 void createEvent( TQTextStream *ts, Event *event, TQDate date,
73 bool withDescription = true);
74 void createFooter( TQTextStream *ts );
78 void formatLocation( TQTextStream *ts, Incidence *event );
79 void formatCategories( TQTextStream *ts, Incidence *event );
80 void formatAttendees( TQTextStream *ts, Incidence *event );
82 TQString breakString( const TQString &text );
84 TQDate fromDate() const;
85 TQDate toDate() const;
86 TQString styleSheet() const;
89 TQString cleanChars( const TQString &txt );
92 HTMLExportSettings *mSettings;
93 TQMap<TQDate,TQString> mHolidayMap;
Provides the main "calendar" object class.
This is the main "calendar" object class.
This class provides an Event in the sense of RFC2445.
This class provides the functions to export a calendar as an HTML page.
This class provides the base class common to all calendar components.
This class provides a Todo in the sense of RFC2445.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|