Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Member Functions
ATContentTypes.configuration.datatype.MxTidy Class Reference
Inheritance diagram for ATContentTypes.configuration.datatype.MxTidy:
Inheritance graph
Collaboration diagram for ATContentTypes.configuration.datatype.MxTidy:
Collaboration graph

List of all members.

Public Member Functions

def set

Public Attributes


Private Member Functions

def _parse

Detailed Description

data handler for mx tidy settings

sets enable and options

Definition at line 143 of file

Member Function Documentation

Reimplemented from ATContentTypes.configuration.datatype.BaseFactory.

Definition at line 149 of file

00150     def _parse(self):
00151         sec = self._section
00152         self.set('enable', sec.enable)
00153         cfg = {}
00154         for id in ('char_encoding', 'drop_empty_paras', 'drop_font_tags',
00155           'indent_spaces', 'input_xml', 'output_xhtml', 'quiet', 'show_warnings',
00156           'tab_size', 'word_2000', 'wrap'):
00157             cfg[id] = getattr(sec, id)
00158         self.set('options' , cfg)

Here is the call graph for this function:

def ATContentTypes.configuration.datatype.BaseFactory.set (   self,
) [inherited]

Definition at line 136 of file

00137     def set(self, name, value):
00138         self._names[name] = 1
00139         setattr(self, name, value)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 125 of file

The documentation for this class was generated from the following file: