class TransferableClipboardListener; class SfxUndoManager; namespace rptui
{ class OGroupsSortingDialog; class OReportModel; class OSectionView; class OAddFieldWindow; class OSectionWindow; class OPropertyMediator;
css::uno::Reference< css::report::XReportDefinition > m_xReportDefinition;
css::uno::Reference< css::report::XReportEngine > m_xReportEngine;
css::uno::Reference< css::frame::XDesktop2 > m_xFrameLoader;
css::uno::Reference< css::sdbc::XRowSet > m_xRowSet;
rtl::Reference< OPropertyMediator > m_xRowSetMediator;
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter; // a number formatter working with the report's NumberFormatsSupplier mutable css::uno::Reference< css::lang::XComponent > m_xHoldAlive; mutable css::uno::Reference< css::container::XNameAccess > m_xColumns;
css::awt::Size m_aVisualAreaSize;
std::shared_ptr<rptui::OReportModel>
m_aReportModel;
OUString m_sName; /// name for the report definition
OUString m_sLastActivePage; /// last active property browser page
OUString m_sMode; /// the current mode of the controller
sal_Int32 m_nSplitPos; /// the position of the splitter
sal_Int32 m_nPageNum; /// the page number from the restoreView call
sal_Int32 m_nSelectionCount;
::sal_Int64 m_nAspect;
sal_Int16 m_nZoomValue;
SvxZoomType m_eZoomType; bool m_bShowRuler; bool m_bGridVisible; bool m_bGridUse; bool m_bShowProperties; bool m_bHelplinesMove; bool m_bChartEnabled; bool m_bChartEnabledAsked; bool m_bInGeneratePreview;
/** creates a formatted field in the given section with the given formula as data field * *\param_aArgs *\param_xSectionthesectionwheretocreatetheformattedfield *\param_sFunctionthefunctionwhichwillbesetatthedatafield.
*/ void createControl(const css::uno::Sequence< css::beans::PropertyValue >& _aArgs,const css::uno::Reference< css::report::XSection>& _xSection,const OUString& _sFunction ,SdrObjKind _nObjectId = SdrObjKind::ReportDesignFormattedField); /** switch the report header/footer section on/off with undo or without depending on the given id. * *\param_nIdCaneitherbeSID_REPORTHEADER_WITHOUT_UNDOorSID_REPORTFOOTER_WITHOUT_UNDOorSID_REPORTHEADERFOOTER.
*/ void switchReportSection(const sal_Int16 _nId);
/** switch the report header/footer section on/off with undo or without depending on the given id. * *\param_nIdCaneitherbeSID_PAGEHEADER_WITHOUT_UNDOorSID_PAGEFOOTER_WITHOUT_UNDOorSID_PAGEHEADERFOOTER.
*/ void switchPageSection(const sal_Int16 _nId);
/** append a new group or remove it with undo. * *\param_bAppend *\param_aArgsTheargswhichcontainsanelementnamedPROPERTY_GROUPoftypereport::XGroup.
*/ void modifyGroup(constbool _bAppend, const css::uno::Sequence< css::beans::PropertyValue >& _aArgs);
/** creates a group section. * *\param_bUndotruewhenundoactionshouldbecreated *\param_bHeadertruewhenitisaheaderotherwiseitisafooter *\param_aArgsTheargswhichcontainsanelementnamedPROPERTY_GROUPoftypereport::XGroup.
*/ void createGroupSection(constbool _bUndo,constbool _bHeader,const css::uno::Sequence< css::beans::PropertyValue >&_aArgs);
/** add or remove me as listener at the report definition * *\param_bAdd
*/ void listen(constbool _bAdd);
/** opens the common page dialog
*/ void openPageDialog(const css::uno::Reference< css::report::XSection>& _xSection);
/** opens or hides the sorting and grouping dialog
*/ void openSortingAndGroupingDialog();
/** opens the zoom dialog
*/ void openZoomDialog();
/** returns the position of the group inside the groups collection
*/
sal_Int32 getGroupPosition(const css::uno::Reference< css::report::XGroup >& _xGroup);
/** calls propertyChanged when the header or footer is really turned on. @param_rEventthegroup @param_bShowwhen<TRUE/>theheaderandfooterwillbeshownotherwisenot
*/ void notifyGroupSections(const css::container::ContainerEvent& _rEvent
,bool _bShow);
/** change the sections for a group @param_sPropNametheheaderorfooter @param_xGroupthegroup @param_nGroupPosthepositionofthegroupinsidethegroupscollectionorthepreviousindexwhenitwasremoved @param_bShowwhen<TRUE/>theheaderandfooterwillbeshownotherwisenot
*/ void groupChange( const css::uno::Reference< css::report::XGroup>& _xGroup
,std::u16string_view _sPropName
,sal_Int32 _nGroupPos
,bool _bShow);
/** opens the file open dialog to allow the user to select an image which will be *boundtoanewlycreatedimagebutton.
*/ void insertGraphic();
/** creates a new function in the given value context * *\param_aValuecontainsaXNameContainer
*/ void createNewFunction(const css::uno::Any& _aValue);
/** inserts a label - field pair into the current selected section * *\paramaArgs
*/ void addPairControls(const css::uno::Sequence< css::beans::PropertyValue >& aArgs);
/** inserts a label - field combination to show the page number and/or page count * *\param_aArgs
*/ void createPageNumber(const css::uno::Sequence< css::beans::PropertyValue >& _aArgs);
/** creates a formatted field with TODAY() function and if set also a NOW() function * *\param_aArgs
*/ void createDateTime(const css::uno::Sequence< css::beans::PropertyValue >& _aArgs);
/** gets the current section (SdrView) * *\returnthecurrentlyselectedsectionor<NULL/>ifnooneisselected
*/
OSectionView* getCurrentSectionView() const;
/**change the ZOrder of a current select object. * *\param_nIdThecommandIDaboutwhattodo.
*/ void changeZOrder(sal_Int32 _nId);
/** marks the next or previous section, when the first/last section was already selected then the report will be selected. * *\param_bNext
*/ void markSection(constbool _bNext);
/** collapse or expand the currently selected section. * *\param_bCollapsecollapseifsal_Trueotherwiseexpand
*/ void collapseSection(constbool _bCollapse);
/** fills the member that chart is enabled or not *
*/ void checkChartEnabled();
/** set the zoom factor at the design view
*/ void impl_zoom_nothrow();
/** creates a new default control for the currently set type when the modifier KEY_MOD1 was pressed *\param_aArgsmustcontainapropertyvaluewithname"KeyModifier"andvalueKEY_MOD1whencontrolshouldbecreated.
*/ void createDefaultControl(const css::uno::Sequence< css::beans::PropertyValue>& _aArgs);
/** fills the state for the feature request. @param_sPropertythepropertywhichshouldbefilledinthevalue @param_rStatethestatetofill
*/ void impl_fillState_nothrow(const OUString& _sProperty,dbaui::FeatureState& _rState) const; void impl_fillCustomShapeState_nothrow(constchar* _pCustomShapeType,dbaui::FeatureState& _rState) const;
/** set the property at all selected controls. @return<TRUE/>whentheselectionisnotempty
*/ bool impl_setPropertyAtControls_throw(TranslateId pUndoResId
,const OUString& _sProperty
,const css::uno::Any& _aValue
,const css::uno::Sequence< css::beans::PropertyValue >& _aArgs);
void OnInvalidateClipboard();
DECL_LINK( OnClipboardChanged, TransferableDataHelper*, void );
DECL_LINK( OnExecuteReport, void*, void ); // all the features which should be handled by this class virtualvoid describeSupportedFeatures() override; // state of a feature. 'feature' may be the handle of a css::util::URL somebody requested a dispatch interface for OR a toolbar slot. virtual dbaui::FeatureState GetState(sal_uInt16 nId) const override; // execute a feature virtualvoid Execute(sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
/** returns the current position of the splitter * *\return
*/
sal_Int32 getSplitPos() const { return m_nSplitPos;} void setSplitPos(sal_Int32 _nSplitPos) { m_nSplitPos = _nSplitPos;}
/** creates a new report from the report definition. * *\returnThemodelor<NULL/>ifthemodelcouldnotbecreated.
*/
css::uno::Reference< css::frame::XModel> executeReport();
/** returns the RowSet which reflects the current settings of the report definition
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.