libs/flake

KoCanvasResource Namespace Reference

The KoCanvasResource contains a set of per-canvas properties, like current foreground color, current background color and more. More...

Enumerations

enum  CanvasResource {
  ForegroundColor, BackgroundColor, ActiveBorder, HandleRadius,
  GrabSensitivity, PageSize, DocumentIsLoading, Unit,
  CurrentPage, ActiveStyleType, KarbonStart = 1000, KexiStart = 2000,
  KivioStart = 3000, KPlatoStart = 4000, KPresenterStart = 5000, KritaStart = 6000,
  KSpreadStart = 7000, KWordStart = 8000, KoPageAppStart = 9000
}

Detailed Description

The KoCanvasResource contains a set of per-canvas properties, like current foreground color, current background color and more.

See also:
KoCanvasResourceProvider

Enumeration Type Documentation

This enum holds identifiers to the resources that can be stored in here.

Enumerator:
ForegroundColor 

The active forground color selected for this canvas.

BackgroundColor 

The active background color selected for this canvas.

ActiveBorder 

The actove border selected for this canvas.

HandleRadius 

The handle radius used for drawing handles of any kind.

GrabSensitivity 

The grab sensitivity used for grabbing handles of any kind.

PageSize 

The size of the (current) page in postscript points.

DocumentIsLoading 

A boolean that is set to true while loading is happening.

Unit 

The unit of this canvas.

CurrentPage 

The current page number.

ActiveStyleType 

the actual active style type see KoFlake::StyleType for valid values

KarbonStart 

Base number for karbon specific values.

KexiStart 

Base number for kexi specific values.

KivioStart 

Base number for kivio specific values.

KPlatoStart 

Base number for kplato specific values.

KPresenterStart 

Base number for kpresenter specific values.

KritaStart 

Base number for krita specific values.

KSpreadStart 

Base number for kspread specific values.

KWordStart 

Base number for kword specific values.

KoPageAppStart 

Base number for KoPageApp specific values.

Definition at line 49 of file KoCanvasResourceProvider.h.