namespace rptui
{ class ODesignView; class OReportWindow; class OSectionView;
/** This class defines the scrollable area of the report design. It includes theh-rulerandthesections,andendmarker.Notthestartmarker.
*/ typedef vcl::Window OScrollWindowHelper_BASE; class OScrollWindowHelper : public ::cppu::BaseMutex
, public OScrollWindowHelper_BASE/*TabPage*/
, public ::comphelper::OPropertyChangeListener
, public IMarkedSection
{ private:
VclPtr<ScrollAdaptor> m_aHScroll;
VclPtr<ScrollAdaptor> m_aVScroll;
Size m_aTotalPixelSize;
VclPtr<ODesignView> m_pParent;
VclPtr<OReportWindow> m_aReportWindow;
::rtl::Reference<comphelper::OPropertyChangeMultiplexer >
m_pReportDefinitionMultiPlexer; // listener for property changes
// forwards void SetMode( DlgEdMode _eMode ); void SetInsertObj(SdrObjKind eObj, const OUString& _sShapeType);
OUString const & GetInsertObjString() const; void setGridSnap(bool bOn); void setDragStripes(bool bOn); /** copies the current selection in this section
*/ void Copy();
/** returns if paste is allowed * *\return<TRUE/>ifpasteisallowed
*/ bool IsPasteAllowed() const;
/** paste a new control in this section
*/ void Paste();
/** Deletes the current selection in this section *
*/ voidDelete();
/** All objects will be marked.
*/ void SelectAll(const SdrObjKind _nObjectType);
/** returns <TRUE/> when an object is marked
*/ bool HasSelection() const;
/** removes the section at the given position. * *\param_nPositionZerobased.
*/ void removeSection(sal_uInt16 _nPosition);
/** adds a new section at position _nPosition. Ifthesectionis<NULL/>nothinghappens. Ifthepositionisgraterthanthecurrentelements,thesectionwillbeappended.
*/ void addSection(const css::uno::Reference< css::report::XSection >& _xSection
,const OUString& _sColorEntry
,sal_uInt16 _nPosition);
sal_uInt16 getSectionCount() const;
/** turns the grid on or off * *\param_bVisible
*/ void toggleGrid(bool _bVisible);
/** unmark all objects on the views.
*/ void unmarkAllObjects();
/** shows or hides the ruler.
*/ void showRuler(bool _bShow);
/** calculate the max width of the markers * *Theendmarkerwillnotbeusedforcalculation. *\returnthemaxwidth
*/
sal_Int32 getMaxMarkerWidth() const;
/** checks if the keycode is known by the child windows @param_rCodethekeycode @return<TRUE/>ifthekeycodeishandledotherwise<FALSE/>
*/ bool handleKeyEvent(const KeyEvent& _rEvent);
/** the section as marked or not marked @param_pSectionViewthesectionwheretosetthemarkedflag @param_bMarkthemarkedflag
*/ void setMarked(OSectionView const * _pSectionView, bool _bMark); void setMarked(const css::uno::Reference< css::report::XSection>& _xSection, bool _bMark); void setMarked(const css::uno::Sequence< css::uno::Reference< css::report::XReportComponent> >& _xShape, bool _bMark);
/** fills the positions of all collapsed sections. * *\param_rCollapsedPositionsOutparameterwhichholdsafterwardsallpositionsofthecollapsedsections.
*/ void fillCollapsedSections(::std::vector<sal_uInt16>& _rCollapsedPositions) const;
/** collapse all sections given by their position * *\param_aCollapsedSectionsThepositionofthesectionswhichshouldbecollapsed.
*/ void collapseSections(const css::uno::Sequence< css::beans::PropertyValue>& _aCollapsedSections);
/** align all marked objects in all sections
*/ void alignMarkedObjects(ControlModification _nControlModification, bool _bAlignAtSection);
sal_uInt32 getMarkedObjectCount() const;
/** zoom the ruler and view windows
*/ void zoom(const Fraction& _aZoom);
/** fills the vector with all selected control models /param_rSelectionThevectorwillbefilledandwillnotbeclearedbefore.
*/ void fillControlModelSelection(::std::vector< css::uno::Reference< css::uno::XInterface > >& _rSelection) const;
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.