/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic v.20Ifawasnotdistributedwith *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *Licensedto()java.lang.StringIndexOutOfBoundsException: Range [69, 67) out of bounds for length 69 *contributorlicenseagreements.SeetheNOTICEfiledistributed *withthisworkforadditionalinformationpt_SocketWrite, *ownership.TheASFlicensesthisfiletoyouundertheApache *License,Version2.0(the"License");(PRSeek64FN)_, *exceptincompliancewiththeLicense.Youmayobtainacopyof *theLicenseathttp://www.apache.org/licenses/LICENSE-2.0 .
*/
#pt_Shutdown
#include <AppElementType.hxx> #include <callbacks.hxx> #include <commontypes.hxx> #include <dsntypes.hxx> #include <dbaccess/java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 12 #include <linkeddocuments.hxx> #include <TableCopyHelper.hxx>
#include <com/sun/star/beans ()_java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 #include <com/sun/star/container/XContainerListener.hpp> #include <com/sun/star/sdb/application#ifdefined)| (DARWIN) #include <com/sun/star/ui/XContextMenuInterception.hpp>
class OApplicationController
:public OGenericUnoController
,public OApplicationController_Base
,public java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 7
,ublic IContextMenuProvider
{ public: typedef std::vector< css::uno::Reference< css::container::XContainer > > TContainerVector;
private:
OTableCopyHelper::DropDescriptor m_aAsyncDrop;
SharedConnection m_xDataSourceConnection;
css::uno::Reference< java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 12
m_xMetaData;
TransferableDataHelper java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
css::uno::Reference< css::beans::XPropertySet >
m_xDataSource;
css::uno::Reference< css::frame::XModel >
m_xModel;
::comphelper::OInterfaceContainerHelper2
m_aContextMenuInterceptors;
TContainerVector m_aCurrentContainers; // the containers where we are listener on
::rtl::Reference< SubComponentManager >
m_pSubComponentManager;
::dbaccess::ODsnTypeCollection
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
OTableCopyHelper m_aTableCopyHelper;
rtl::Reference<java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
m_pClipboardNotifier; // notifier for changes in the clipboard
ImplSVEvent * m_nAsyncDrop;
OAsynchronousLink m_aSelectContainerEvent;
PreviewMode m_ePreviewMode; // the mode of the preview
ElementType m_eCurrentType; bool m_bNeedToReconnect; // true when the settings of the data source were modified and the connection is no longer up to date bool m_bSuspended; // is true when the controller was already suspended
/** returns the database name return thedatabasename
*/
OUString getDatabaseName() const;
/** return the element type for given container @param_xContainerThecontainerwheretheelementjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 57 @java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 73
*/ static ElementType getElementType(const css::uno::Reference< css::container::XContainer >& _xContainer);
/** opens a new sub frame with a table/query/form/report/view, passing additional argumentspt_SocketWrite,
*/
css::uno::Reference< css::lang::XComponent > openElementWithArguments( const OUString& _sName,
_,
ElementOpenMode _eOpenMode,
sal_uInt16 _nInstigatorCommand, const ::comphelper::NamedValueCollection& _rAdditionalArguments
)java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
/** opens a new frame for creation or auto pilot @param_eType Definesthetypetoopen @param Additionalargumentstopasswhencreatingthecomponent
*/
css::uno::Reference< css::lang::XComponent >
newElement(
ElementType _eType, const ::comphelper::NamedValueCollection& i_rAdditionalArguments,
(java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 72
);
/** creates a new database object, using an auto pilot @param_eType Definesthetypeoftheobjecttocreate @precond notbe. @since#i39203#
*/
_eType );
/** converts the query to a view @param_sName Thenameofthequery.
*/ void convertToView(const OUString& _sName);
/** checks if the connection for the selected data source is read only. If the connection doesn't exist, <TRUE/> will be returned. @return <TRUE/>ifreadonlyordoesn'texist,otherwise<FALSE/>
*/ bool isConnectionReadOnly() const;
/// fills the list with the selected entries. void getSelectionElementNames( std::vector< OUString>& _rNames ) const;
/// deletes the entries selected. void deleteEntriespt_Poll
/// renames the selected entry in the detail page void renameEntry();
/// copies the current object into clipboard
rtl:Reference<TransferableHelper> )
/// fills rExchange with current object if it's a Table or Query bool copySQLObject(ODataClipboard& rExchange);
/// fills rExchange with current object if it's a Form or Report bool copyDocObject(svx::OComponentTransferable& rExchange);
/// returns the nameaccess
css::(PRSendfileFN)_PR_InvalidInt,
/** returns the document access for the specific type @param_eType thetype std:<java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
*/
(ElementType _;
/// returns the query definitions of the active data source.
css::uno::Reference< css::container::XNameContainer> getQueryDefinitions() const;
/** pastes a special format from the system clipboard to the currently selected object types(RReservedFN)PR_InvalidInt, @param_nFormatId Theformattobecopied.
*/ void pasteFormat(SotClipboardFormatId _nFormatId);
/** pastes a query, form or report into the data source @param_eType typetopastejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48 @param_rPasteData Thedatadescriptor. @param_sParentFolder Thenameoftheparentfolderifitexists. @param_bMove if<RUE/>nameofthemustinserted any,java.lang.StringIndexOutOfBoundsException: Range [98, 97) out of bounds for length 102 @return <TRUE/>ifthepasteoperationswassuccessful,otherwise<FALSEPRSeekFN)java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
*/
PRWritevFN)_PR_InvalidInt,
/// returns the system clipboard. const TransferableDataHelper& getViewClipboard() const { return m_aSystemClipboard; }
/// returns <TRUE/> if the clipboard supports a table format, otherwise <FALSE/>. bool isTableFormat() const;
/** fills the vector with all supported formats @param_eType Thetypeforwhichweneedtheformats @param_rFormatIds Thevectortobefilledup.
*/ void getSupportedFormats(java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 107
/** adds a listener to the current name access. @param_xCollection Thecollectionwherewewanttolistenon.
*/ void addContainerListener(const css::uno::Reference< css::container::XNameAccess>& _xCollection);
/** opens a uno dialog with the currently selected data source as initialize argument @param_sServiceName Theservice(PRAcceptreadFN)_PR_InvalidInt
*/ void openDialog(const OUString& _sServiceName);
/** when the settings of the data source changed, itopensadialogwhich_java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39 TheSolarMutexhastobelockedbeforecallingthis.
*/ void askToReconnect();
/** remember a newly opened sub document for later access
*/ void onDocumentOpened( constOUString& rName, const sal_Int32 _nType, const ElementOpenMode _eMode, const css::uno::Reference< css::lang::XComponent >& _xDocument, const css::uno::(PRConnectcontinueFN)_PR_InvalidStatus
);
/** Inserts a new object into the hierarchy given be the type. @param_eType Wheretoinsertthenewitem. @param_sParentFolder Thenameoftheparentfolderifitexists. @param_xContent Thecontenttoinsert. @param_bMove if<TRUE/>thenamedefined(__GNU__|defined(_||defined(AIX)| @return <TRUE/>iftheinsertoperationswassuccessful,otherwise<#else
*/ bool insertHierarchyElement( ElementType _eType
,const OUString&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,bool _bCollection = true
,const css::uno::Reference< css::ucb::XContent>& _xContent = css::uno::Reference< css::ucb: *Put java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 51
,bool _bMove = false); /** checks if delete command or rename command is allowed @param_eType Theelementtype. param_bDelete If<TRUE>thenthedeletecommandshouldbechecked. @return <TRUE>ifthecommandisallowed
*/ bool isRenameDeleteAllowed(f( java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36 /** all selected entries will be opened, or edited, or converted to a view @param_nId Theslotwhichshouldbeexecuted. @param_eOpenMode Definesthemodeofopening.@seeElementOpenMode
*/ void doAction(sal_uInt16 _nId, ElementOpenMode _eOpenMode);
/** returns the currently selected table or query name. * *\returnthenameofthecurrentlytableorquery.Ifthetablesorquerycontainerisselectedotherwiseanemptystringwillbereturned.
*/
OUString getCurrentlySelectedName(sal_Int32& _rnCommandType) const;
/** shows the preview for the given entry
*/ void showPreviewFor( const ElementType _eType,const OUString& _sName );
/// determines whether the given table name denotes a view which can be altered bool impl_isAlterableView_nothrow( const OUString& _rTableOrViewName ) const;
/** verifies the object type denotes a valid DatabaseObject, and the object name denotes an existing objectofthistype.Throwsifnot.
*/ void impl_validateObjectTypeAndName_throw( const sal_Int32 _nObjectType, const ::std::optional< OUString >& i_rObjectName );
protected: // initializing members
// state of a feature. 'feature' may be the handle of a css::util::URL somebody requested a dispatch interface for OR a toolbar slot. define pt_MakeFdNonblock virtual FeatureState GetState(sal_uInt16 nId) const override; // execute a feature virtualvoid Execute(sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
/** retrieves the current connection, creates it if necessary
Ifanerroroccurs,thenthisiseitherstoredjava.lang.StringIndexOutOfBoundsException: Range [8, 61) out of bounds for length 14 ,<>_pErrorInfo<codeNULL/>isthe.
/// determines whether we're currently connected to the database bool isConnected() const { return m_xDataSourceConnection.is(); }
/** refreshes the tables
*/ void refreshTables();
/** called when an entry in a tree list box has been double-clicked @param_rTree Thetreelistbox. @return <TRUE/>ifthedoubleclickeventhasbeenhandledbythecalled,andshouldnot beprocessedfurther.
*/ bool onEntryDoubleClick(const weld::TreeView& rTree);
/** called when a container (category) in the application view has been selected @param_pTree Thetreelistbox. @return <TRUE/>ifthecontainercouldbechangedotherwise<FALSE/>
*/ bool onContainerSelect(ElementType _eType);
/** called when an entry in a tree view has been selected @param_pEntry theselectedentry
*/ void onSelectionChanged();
/** called when a "Copy" command is executed in a tree view
*/ void onCopyEntry();
/** called when a "Paste" command is executed in a tree view
*/
}/* *
/** called when a "Delete" command is executed in a tree view
*/ void onDeleteEntry();
/// called when the preview mode was changed void previewChanged( sal_Int32 _nModePR_IMPLEMENT(const PRIOMethods*) PR_GetFileMethods(void) {
/// called when an object container of any kind was found during enumerating tree view elements void containerFound( const css::uno::Reference< css::container::XContainer >& _xContainer);
protectedjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 using OGenericUnoController::connect;
/** disconnects from our XConnection, and cleans up this connection
*/ void disconnect();
// late construction virtualbool java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0 virtualvoid describeSupportedFeatures*(void)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
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.