Package cssutils :: Package css :: Module cssproperties :: Class CSS2Properties
[hide private]
[frames] | no frames]

Class CSS2Properties

source code

object --+
         |
        CSS2Properties
Known Subclasses:
cssstyledeclaration.CSSStyleDeclaration

The CSS2Properties interface represents a convenience mechanism for retrieving and setting properties within a CSSStyleDeclaration. The attributes of this interface correspond to all the properties specified in CSS2. Getting an attribute of this interface is equivalent to calling the getPropertyValue method of the CSSStyleDeclaration interface. Setting an attribute of this interface is equivalent to calling the setProperty method of the CSSStyleDeclaration interface.

cssutils actually also allows usage of del to remove a CSS property from a CSSStyleDeclaration.

This is an abstract class, the following functions need to be present in inheriting class:



Instance Methods [hide private]
 
_getP(self, CSSname) source code
 
_setP(self, CSSname, value) source code
 
_delP(self, CSSname) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _properties = ['playDuring', 'counterReset', 'counterIncrement...
Properties [hide private]
  azimuth
  background
  backgroundAttachment
  backgroundColor
  backgroundImage
  backgroundPosition
  backgroundRepeat
  border
  borderBottom
  borderBottomColor
  borderBottomStyle
  borderBottomWidth
  borderCollapse
  borderColor
  borderLeft
  borderLeftColor
  borderLeftStyle
  borderRight
  borderRightColor
  borderRightStyle
  borderRightWidth
  borderSpacing
  borderStyle
  borderTop
  borderTopColor
  borderTopStyle
  borderTopWidth
  borderWidth
  bottom
  captionSide
  clear
  clip
  color
  content
  counterIncrement
  counterReset
  cue
  cueAfter
  cueBefore
  cursor
  direction
  display
  elevation
  emptyCells
  float
  font
  fontFamily
  fontSize
  fontStyle
  fontVariant
  fontWeight
  height
  left
  letterSpacing
  lineHeight
  listStyle
  listStyleImage
  listStylePosition
  listStyleType
  margin
  marginBottom
  marginLeft
  marginRight
  marginTop
  maxHeight
  maxWidth
  minHeight
  minWidth
  orphans
  outline
  outlineColor
  outlineStyle
  outlineWidth
  overflow
  padding
  paddingBottom
  paddingLeft
  paddingRight
  paddingTop
  pageBreakAfter
  pageBreakBefore
  pageBreakInside
  pause
  pauseAfter
  pauseBefore
  pitch
  pitchRange
  playDuring
  position
  quotes
  richness
  right
  speak
  speakHeader
  speakNumeral
  speakPunctuation
  speechRate
  stress
  tableLayout
  textAlign
  textDecoration
  textIndent
  textTransform
  top
  unicodeBidi
  verticalAlign
  visibility
  voiceFamily
  volume
  whiteSpace
  widows
  width
  wordSpacing
  zIndex

Inherited from object: __class__

Class Variable Details [hide private]

_properties

Value:
['playDuring',
 'counterReset',
 'counterIncrement',
 'minHeight',
 'quotes',
 'borderTop',
 'pitch',
 'font',
...

Property Details [hide private]

azimuth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

background

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

backgroundAttachment

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

backgroundColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

backgroundImage

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

backgroundPosition

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

backgroundRepeat

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

border

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderBottom

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderBottomColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderBottomStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderBottomWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderCollapse

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderLeft

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderLeftColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderLeftStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderRight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderRightColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderRightStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderRightWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderSpacing

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderTop

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderTopColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderTopStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderTopWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

borderWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

bottom

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

captionSide

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

clear

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

clip

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

color

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

content

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

counterIncrement

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

counterReset

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

cue

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

cueAfter

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

cueBefore

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

cursor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

direction

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

display

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

elevation

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

emptyCells

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

float

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

font

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

fontFamily

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

fontSize

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

fontStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

fontVariant

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

fontWeight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

height

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

left

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

letterSpacing

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

lineHeight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

listStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

listStyleImage

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

listStylePosition

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

listStyleType

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

margin

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

marginBottom

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

marginLeft

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

marginRight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

marginTop

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

maxHeight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

maxWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

minHeight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

minWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

orphans

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

outline

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

outlineColor

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

outlineStyle

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

outlineWidth

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

overflow

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

padding

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

paddingBottom

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

paddingLeft

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

paddingRight

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

paddingTop

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pageBreakAfter

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pageBreakBefore

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pageBreakInside

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pause

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pauseAfter

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pauseBefore

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pitch

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

pitchRange

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

playDuring

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

position

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

quotes

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

richness

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

right

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

speak

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

speakHeader

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

speakNumeral

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

speakPunctuation

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

speechRate

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

stress

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

tableLayout

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

textAlign

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

textDecoration

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

textIndent

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

textTransform

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

top

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

unicodeBidi

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

verticalAlign

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

visibility

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

voiceFamily

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

volume

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

whiteSpace

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

widows

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

width

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

wordSpacing

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)

zIndex

Get Method:
unreachable._get(self)
Set Method:
unreachable._set(self, value)
Delete Method:
unreachable._del(self)