diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2009-11-25 13:27:22 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2009-11-25 13:27:22 +0100 |
commit | 33f21809ca208713191cca2d35a7879163e75909 (patch) | |
tree | f256b381afb8c1796e1e96d4af6f4884b18955df /svx/source/inc/fmcontrollayout.hxx | |
parent | 27107b0d9f88117373b50fef948a8919ea49288e (diff) | |
parent | fcac7b7672113ec68f90ab4443bc8a920a59ab34 (diff) |
CWS-TOOLING: integrate CWS controltextrendering
Diffstat (limited to 'svx/source/inc/fmcontrollayout.hxx')
-rw-r--r-- | svx/source/inc/fmcontrollayout.hxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/svx/source/inc/fmcontrollayout.hxx b/svx/source/inc/fmcontrollayout.hxx index 1110c274b9f8..c5abe43f3228 100644 --- a/svx/source/inc/fmcontrollayout.hxx +++ b/svx/source/inc/fmcontrollayout.hxx @@ -62,6 +62,22 @@ namespace svxform */ static bool useDynamicBorderColor( DocumentType _eDocType ); + /** determines whether for the given document type, form controls should use the document's reference device + for text rendering + */ + static bool useDocumentReferenceDevice( DocumentType _eDocType ); + + /** 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. + + @param _rxModel + a form component. + */ + static ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > + getDefaultDocumentTextStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); + private: ControlLayouter(); // never implemented |