KD Reports

           | Home |            | Namespaces |            | Classes |            | Files |            | Directories |
Classes | Enumerations

KDReports Namespace Reference

Classes

class  AbstractTableElement
class  AutoTableElement
class  Cell
class  ChartElement
class  Element
class  ErrorDetails
class  Header
class  HtmlElement
class  ImageElement
class  PreviewDialog
class  PreviewWidget
class  Report
class  TableBreakingSettingsDialog
class  TableElement
class  TextElement
class  XmlElementHandler
class  XmlParser

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
}

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.


Copyright © 2008, Klarälvdalens Datakonsult AB KD Reports