KD Reports 1.4
Classes | Enumerations
KDReports Namespace Reference

Classes

class  AbstractTableElement
class  AutoTableElement
class  Cell
class  ChartElement
class  Element
class  ErrorDetails
class  Header
class  HLineElement
class  HtmlElement
class  ImageElement
class  MainTable
class  PreviewDialog
class  PreviewWidget
class  Report
class  TableBreakingSettingsDialog
class  TableElement
class  TextElement
class  XmlElementHandler
class  XmlElementHandlerV2
class  XmlHelper

Enumerations

enum  HeaderLocation {
  FirstPage = 1, EvenPages = 2, OddPages = 4, LastPage = 8,
  AllPages = OddPages | EvenPages
}
enum  Unit { Millimeters, Percent }
enum  VariableType {
  PageNumber, PageCount, TextDate, ISODate,
  LocaleDate, TextTime, ISOTime, LocaleTime,
  SystemLocaleShortDate, SystemLocaleLongDate, DefaultLocaleShortDate, DefaultLocaleLongDate
}

Detailed Description

This is the namespace that contains all KDReports classes and some enums that do not belong to a particular class.


Enumeration Type Documentation

If no header was specified for the first and last pages, then the even/odd headers are used for those.

Enumerator:
FirstPage 

The first page of the report.

EvenPages 

The even pages of the report: 2, 4, 6 etc.

OddPages 

The odd pages of the report: 1 (unless FirstPage has its own header), 3, 5, 7 etc.

LastPage 

The last page of the report.

AllPages 

All pages (except first and last if FirstPage or LastPage have their own headers)

Units used when setting a size.

Enumerator:
Millimeters 

Millimeters (the default)

Percent 

Percentage of the text width, i.e. the page width minus margins.

Type of variable

Enumerator:
PageNumber 

Page number.

PageCount 

Page count.

TextDate 

Current date in text format like "Thu Aug 18 2005", with translated names but unlocalized order of names and numbers

ISODate 

Current date in ISO 8601 format like "2005-08-18".

LocaleDate 

Current date in locale-dependent format, deprecated in favour of SystemLocaleShortDate or SystemLocaleLongDate.

TextTime 

Current time in text format like "13:42:59".

ISOTime 

Current time in ISO 8601 format like "13:42:59".

LocaleTime 

Current time in locale-dependent format.

SystemLocaleShortDate 

Current date formatted according to the system locale, short format, see Qt::SystemLocaleShortDate.

SystemLocaleLongDate 

Current date formatted according to the system locale, long format, see Qt::SystemLocaleLongDate.

DefaultLocaleShortDate 

Current date formatted according to the application locale, short format, see Qt::DefaultLocaleShortDate.

DefaultLocaleLongDate 

Current date formatted according to the application locale, long format, see Qt::DefaultLocaleLongDate.

 All Classes Namespaces Functions Enumerations Enumerator

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-reports/