def addSettings(klass, s):
        widget.Widget.addSettings(s)

        # page sizes are initially linked to the document page size
        s.add( setting.DistancePhysical(
            'width',
            setting.Reference('/width'),
            descr=_('Width of page'),
            usertext=_('Page width'),
            formatting=True) )
        s.add( setting.DistancePhysical(
            'height',
            setting.Reference('/height'),
            descr=_('Height of page'),
            usertext=_('Page height'),
            formatting=True) )

        s.add( setting.Notes(
            'notes', '',
            descr=_('User-defined notes'),
            usertext=_('Notes')) )

        s.add(
            setting.PageBrush(
                'Background',
                descr = _('Background page fill'),
                usertext=_('Background')),
            pixmap='settings_bgfill',
        )