LibreOffice Module svx (master)  1
Functions
svxform::ControlLayouter Namespace Reference

Functions

void initializeControlLayout (const css::uno::Reference< css::beans::XPropertySet > &_rxControlModel, DocumentType _eDocType)
 initializes the layout of a newly created form control (model) More...
 
bool useDynamicBorderColor (DocumentType _eDocType)
 determines whether for the given document type, dynamic control border coloring is enabled More...
 
bool useDocumentReferenceDevice (DocumentType _eDocType)
 determines whether for the given document type, form controls should use the document's reference device for text rendering More...
 
css::uno::Reference< css::beans::XPropertySet > getDefaultDocumentTextStyle (const css::uno::Reference< css::beans::XPropertySet > &_rxModel)
 gets the "default" style in a document which can be used if some default text format is needed More...
 

Function Documentation

css::uno::Reference< css::beans::XPropertySet > svxform::ControlLayouter::getDefaultDocumentTextStyle ( const css::uno::Reference< css::beans::XPropertySet > &  _rxModel)

gets the "default" style in a document which can be used if some default text format is needed

It depends on the type document type which concrete kind of style is returned, but it is expected to support the css.style.CharacterProperties service.

Parameters
_rxModela form component.
void svxform::ControlLayouter::initializeControlLayout ( const css::uno::Reference< css::beans::XPropertySet > &  _rxControlModel,
DocumentType  _eDocType 
)

initializes the layout of a newly created form control (model)

bool svxform::ControlLayouter::useDocumentReferenceDevice ( DocumentType  _eDocType)

determines whether for the given document type, form controls should use the document's reference device for text rendering

Definition at line 298 of file fmcontrollayout.cxx.

References Any, and svxform::eUnknownDocumentType.

Referenced by FmFormModel::ControlsUseRefDevice().

bool svxform::ControlLayouter::useDynamicBorderColor ( DocumentType  _eDocType)

determines whether for the given document type, dynamic control border coloring is enabled

Definition at line 288 of file fmcontrollayout.cxx.

References Any.