class ContainerSize(object): (source)
Method | addstyle |
Add the proper style attribute to the output tag. |
Method | checkimage |
Check image dimensions, set them if possible. |
Method | checkvalidheight |
Check if the height parameter is valid; otherwise erase it. |
Method | extractnumber |
Extract the first number in the given text. |
Method | processparameter |
Do the full processing on a parameter. |
Method | readparameters |
Read some size parameters off a container. |
Method | removepercentwidth |
Remove percent width if present, to set it at the figure level. |
Method | scalevalue |
Scale the value according to the image scale and return it as unicode. |
Method | set |
Set the proper size with width and height. |
Method | setmax |
Set max width and/or height. |
Method | setparameter |
Read a size parameter off a container, and set it if present. |
Method | setvalue |
Set the value of a parameter name, only if it's valid. |
Method | styleparameter |
Get the style for a single parameter. |
Class Variable | scale |
Undocumented |
Instance Variable | height |
Undocumented |
Instance Variable | maxheight |
Undocumented |
Instance Variable | maxwidth |
Undocumented |
Instance Variable | width |
Undocumented |