class SdrPage; class SdrObject; class SdrUnoObj; class SdrView; namespace tools { class Rectangle; } namespace comphelper
{ class OPropertyChangeMultiplexer; class OPropertyChangeListener;
} namespace rptui
{ /** returns the position of the object inside the index container @param_xReportDefinitionthereportdefinitiontogetthegroups @param_xGroupthegrouptosearch @returnreturnsthepositionofthegroupinthelist,otherwise-1
*/ template<typename T> sal_Int32 getPositionInIndexAccess( const css::uno::Reference< css::container::XIndexAccess >& _xCollection
,const css::uno::Reference< T >& _xSearch)
{
sal_Int32 nCount = _xCollection->getCount();
sal_Int32 i = (nCount == 0) ? -1 : 0; for (;i<nCount ; ++i)
{
css::uno::Reference< T > xObject(_xCollection->getByIndex(i),css::uno::UNO_QUERY); if ( xObject == _xSearch ) break;
} return i;
}
/** set the name of the header and footer of the group by the expression appended by the localized name of the section @param_xGroupthegroupwheretheheader/footernameissetbytheexpressionofthegroup
*/ void adjustSectionName(const css::uno::Reference< css::report::XGroup >& _xGroup,sal_Int32 _nPos);
/** add a listener for the properties size, left margin, right margin to the page style * *\param_xReportDefinition *\param_pListener *\return
*/
::rtl::Reference< comphelper::OPropertyChangeMultiplexer> addStyleListener( const css::uno::Reference< css::report::XReportDefinition >& _xReportDefinition
,::comphelper::OPropertyChangeListener* _pListener);
/** opens the common character font dialog
*/ bool openCharDialog( const css::uno::Reference< css::report::XReportControlFormat>& _xReportControlFormat, const css::uno::Reference< css::awt::XWindow>& _xWindow,
css::uno::Sequence< css::beans::NamedValue >& _out_rNewValues
);
/** opens the area dialog for shapes
*/ bool openAreaDialog( const css::uno::Reference< css::report::XShape >& _xShape
,const css::uno::Reference< css::awt::XWindow>& _xWindow
);
/** checks whether the given OUnoObject object rectangle overlapps another object in that view. * *\param_pObj *\param_rPage *\param_rView *\returntheobjectwhichisoverlapped,otherwise<NULL/>.IfthegivenobjectisnotoftypeOUnoObject<NULL/>willbereturned.
*/
SdrObject* isOver(SdrObject const * _pObj,SdrPage const & _rPage,SdrView const & _rView);
/** retrieves the names of the parameters of the command which the given RowSet is bound to
*/
css::uno::Sequence< OUString >
getParameterNames( const css::uno::Reference< css::sdbc::XRowSet >& _rxRowSet );
/** ensures that no control overlaps the given one. * *\parampControlthecontrolwhichshouldplaceinthesectionwithoutoverlapping *\param_pReportSectionthesection *\param_bInsertsal_Truewhenthecontrolshouldbeinserted,otherwisenot.
*/ void correctOverlapping(SdrObject* pControl,OReportSection const & _aReportSection,bool _bInsert = true);
/** returns a Rectangle of a given SdrObject * *\parampControltheSdrObject
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.