Home
last modified time | relevance | path

Searched refs:xDocument (Results 1 – 25 of 69) sorted by relevance

123

/aoo4110/main/embeddedobj/source/commonembedding/
H A Dpersistence.cxx221 uno::Reference< uno::XInterface > xDocument; in CreateDocument() local
242 if ( xDocument.is() ) in SetDocToEmbedded()
345 EmbedAndReparentDoc_Impl( xDocument ); in InitNewDocument_Impl()
388 return xDocument; in InitNewDocument_Impl()
424 EmbedAndReparentDoc_Impl( xDocument ); in LoadLink_Impl()
460 return xDocument; in LoadLink_Impl()
518 ( xDocument, uno::UNO_QUERY ) in LoadDocumentFromStorage_Impl()
559 EmbedAndReparentDoc_Impl( xDocument ); in LoadDocumentFromStorage_Impl()
588 return xDocument; in LoadDocumentFromStorage_Impl()
834 EmbedAndReparentDoc_Impl( xDocument ); in CreateDocFromMediaDescr_Impl()
[all …]
/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/
H A DFunctionHelper.java548 com.sun.star.lang.XComponent xDocument = null; in loadDocument() local
574 xDocument = xLoader.loadComponentFromURL( in loadDocument()
588 xDocument = null; in loadDocument()
597 xDocument = null; in loadDocument()
606 xDocument = null; in loadDocument()
615 xDocument = null; in loadDocument()
620 return xDocument; in loadDocument()
640 xDocument); in saveDocument()
701 xDocument); in saveAsHTML()
794 com.sun.star.frame.XModel.class, xDocument); in closeDocument()
[all …]
H A DDocumentView.java252 … com.sun.star.lang.XComponent xDocument = FunctionHelper.loadDocument(mxFrame,sURL,lArguments); in load() local
253 if(xDocument!=null) in load()
272 com.sun.star.frame.XModel xDocument = xController.getModel(); in save()
273 if (xDocument==null) in save()
275 FunctionHelper.saveDocument(xDocument); in save()
285 com.sun.star.frame.XModel xDocument = xController.getModel(); in exportHTML()
286 if (xDocument==null) in exportHTML()
288 FunctionHelper.saveAsHTML(xDocument,sURL); in exportHTML()
/aoo4110/main/dbaccess/source/ext/macromigration/
H A Dmacromigrationdialog.cxx125 Reference< XOfficeDatabaseDocument > xDocument; member
137 ,xDocument( _rxDocument ) in MacroMigrationDialog_Data()
193 return m_pData->xDocument; in getDocument()
326 … MigrationEngine aEngine( m_pData->aContext, m_pData->xDocument, rProgressPage, m_pData->aLogger );
366 if ( !m_pData->xDocument.is() ) in impl_closeSubDocs_nothrow()
460 const Reference< XStorable > xDocument( getDocument(), UNO_QUERY_THROW ); in impl_backupDocument_nothrow() local
461 xDocument->storeToURL( sBackupLocation, Sequence< PropertyValue >() ); in impl_backupDocument_nothrow()
504 Reference< XModifiable > xModify( m_pData->xDocument, UNO_QUERY_THROW ); in impl_reloadDocument_nothrow()
584 m_pData->xDocument = xNewDocument; in impl_reloadDocument_nothrow()
592 Reference< XModifiable > xModify( m_pData->xDocument, UNO_QUERY_THROW ); in impl_reloadDocument_nothrow()
[all …]
H A Dmigrationengine.cxx162 Reference< XModel > xDocument; // valid only temporarily member
170 ,xDocument() in SubDocument()
322 _rDocument.xDocument.set( xDocComponent, UNO_QUERY_THROW ); in lcl_loadSubDocument_nothrow()
350 return _rDocument.xDocument.is() ? eOpenedDoc : eFailure; in lcl_loadSubDocument_nothrow()
377 _rDocument.xDocument.clear(); in lcl_unloadSubDocument_nothrow()
1288 if ( !_rDocument.xDocument.is() ) in impl_checkScriptStorageStructure_nothrow()
1294 ScriptsStorage aDocStorage( _rDocument.xDocument, m_rLogger ); in impl_checkScriptStorageStructure_nothrow()
1334 if ( !_rDocument.xDocument.is() ) in impl_migrateScriptStorage_nothrow()
1348 ScriptsStorage aDocStorage( _rDocument.xDocument, m_rLogger ); in impl_migrateScriptStorage_nothrow()
1763 Reference< XEventsSupplier > xSuppEvents( _rDocument.xDocument, UNO_QUERY ); in impl_adjustDocumentEvents_nothrow()
[all …]
/aoo4110/main/unoxml/source/dom/
H A Ddocument.cxx752 lcl_ImportNode( Reference< XDocument > const& xDocument, in lcl_ImportNode() argument
763 xDocument->createAttribute(xAttr->getName()); in lcl_ImportNode()
782 xDocument->createComment(xComment->getData()); in lcl_ImportNode()
791 xDocument->createDocumentFragment(); in lcl_ImportNode()
811 xNewElement = xDocument->createElement(aQName); in lcl_ImportNode()
856 xDocument->createProcessingInstruction( in lcl_ImportNode()
865 xDocument->createTextNode(xText->getData())); in lcl_ImportNode()
884 lcl_ImportSiblings(xDocument, xNode, xChild); in lcl_ImportNode()
936 Reference< XDocument > const xDocument(this); in importNode() local
938 if (xImportedNode->getOwnerDocument() == xDocument) { in importNode()
[all …]
/aoo4110/main/framework/source/services/
H A Dautorecovery.cxx867 implts_registerDocument(xDocument); in notifyEvent()
873 implts_updateModifiedState(xDocument); in notifyEvent()
896 implts_markDocumentAsSaved(xDocument); in notifyEvent()
990 if (! xDocument.is()) in modified()
993 implts_markDocumentModifiedAgainstLastBackup(xDocument); in modified()
1019 if (xDocument.is()) in disposing()
1738 if (!xDocument.is()) in implts_registerDocument()
1754 implts_updateModifiedState(xDocument); in implts_registerDocument()
1760 ::comphelper::MediaDescriptor lDescriptor(xDocument->getArgs()); in implts_registerDocument()
1787 aNew.Document = xDocument; in implts_registerDocument()
[all …]
/aoo4110/main/dbaccess/source/core/dataaccess/
H A Ddocumenteventexecutor.cxx80 WeakReference< XEventsSupplier > xDocument; member
84 :xDocument( _rxDocument ) in DocumentEventExecutor_Data()
95 Reference< XModel > xDocument( _rDocExecData.xDocument.get(), UNO_QUERY_THROW ); in lcl_dispatchScriptURL_throw() local
97 Reference< XController > xController( xDocument->getCurrentController() ); in lcl_dispatchScriptURL_throw()
165 Reference< XEventsSupplier > xEventsSupplier( m_pData->xDocument.get(), UNO_QUERY ); in documentEventOccured()
172 Reference< XModel > xDocument( xEventsSupplier, UNO_QUERY_THROW ); in documentEventOccured() local
/aoo4110/main/sw/source/ui/vba/
H A Dvbaparagraph.cxx32 …ponentContext >& rContext, const uno::Reference< text::XTextDocument >& xDocument, const uno::Refe… in SwVbaParagraph() argument
33 SwVbaParagraph_BASE( rParent, rContext ), mxTextDocument( xDocument ), mxTextRange( xTextRange ) in SwVbaParagraph()
82 …st uno::Reference< text::XTextDocument >& xDocument ) throw (uno::RuntimeException): mxTextDocumen… in ParagraphCollectionHelper() argument
129xDocument ) throw (uno::RuntimeException) : SwVbaParagraphs_BASE( xParent, xContext, new Paragraph… in SwVbaParagraphs() argument
H A Dvbatables.cxx42 …::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xDocument, const uno::Any&… in lcl_createTable() argument
45 uno::Reference< text::XTextDocument > xTextDocument( xDocument, uno::UNO_QUERY_THROW ); in lcl_createTable()
60 …l >& xDocument, const uno::Reference< container::XIndexAccess >& xIndexAccess ) : mxParent( xParen… in TableEnumerationImpl() argument
76 …erence< frame::XModel >& xDocument ) : SwVbaTables_BASE( xParent, xContext , lcl_getTables( xDocum… in SwVbaTables() argument
/aoo4110/main/xmloff/source/xforms/
H A Dxformsapi.cxx89 const Reference<frame::XModel>& xDocument, in lcl_addXFormsModel() argument
95 Reference<XFormsSupplier> xSupplier( xDocument, UNO_QUERY ); in lcl_addXFormsModel()
118 Reference<frame::XModel>& xDocument, in lcl_findXFormsBindingOrSubmission() argument
129 Reference<XFormsSupplier> xSupplier( xDocument, UNO_QUERY ); in lcl_findXFormsBindingOrSubmission()
173 Reference<frame::XModel>& xDocument, in lcl_findXFormsBinding() argument
176 return lcl_findXFormsBindingOrSubmission( xDocument, rBindingID, true ); in lcl_findXFormsBinding()
180 Reference<frame::XModel>& xDocument, in lcl_findXFormsSubmission() argument
183 return lcl_findXFormsBindingOrSubmission( xDocument, rBindingID, false ); in lcl_findXFormsSubmission()
/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/
H A DAsciiReplaceFilter.java254 …public void setTargetDocument( com.sun.star.lang.XComponent xDocument ) throws com.sun.star.lang.I… in setTargetDocument() argument
258 if (xDocument==null) in setTargetDocument()
262 com.sun.star.lang.XServiceInfo.class, xDocument); in setTargetDocument()
271 com.sun.star.text.XTextDocument.class, xDocument); in setTargetDocument()
290 …public void setSourceDocument( com.sun.star.lang.XComponent xDocument ) throws com.sun.star.lang.I… in setSourceDocument() argument
294 if (xDocument==null) in setSourceDocument()
298 com.sun.star.lang.XServiceInfo.class, xDocument); in setSourceDocument()
307 com.sun.star.text.XTextDocument.class, xDocument); in setSourceDocument()
/aoo4110/main/framework/inc/services/
H A Dautorecovery.hxx644 void implts_registerDocument(const css::uno::Reference< css::frame::XModel >& xDocument);
660 …void implts_deregisterDocument(const css::uno::Reference< css::frame::XModel >& xDocument
665 …_markDocumentModifiedAgainstLastBackup(const css::uno::Reference< css::frame::XModel >& xDocument);
669 void implts_updateModifiedState(const css::uno::Reference< css::frame::XModel >& xDocument);
673 …_updateDocumentUsedForSavingState(const css::uno::Reference< css::frame::XModel >& xDocument ,
678 void implts_markDocumentAsSaved(const css::uno::Reference< css::frame::XModel >& xDocument);
697 … const css::uno::Reference< css::frame::XModel >& xDocument);
/aoo4110/main/sdext/source/pdfimport/
H A Dpdfiadaptor.cxx208 …idAdaptor::setTargetDocument( const uno::Reference< lang::XComponent >& xDocument ) throw( lang::I… in setTargetDocument() argument
211 m_xModel = uno::Reference< frame::XModel >( xDocument, uno::UNO_QUERY ); in setTargetDocument()
212 if( xDocument.is() && ! m_xModel.is() ) in setTargetDocument()
317 …awAdaptor::setTargetDocument( const uno::Reference< lang::XComponent >& xDocument ) throw( lang::I… in setTargetDocument() argument
320 m_xModel = uno::Reference< frame::XModel >( xDocument, uno::UNO_QUERY ); in setTargetDocument()
321 if( xDocument.is() && ! m_xModel.is() ) in setTargetDocument()
/aoo4110/main/xmloff/source/core/
H A DDomBuilderContext.cxx219 Reference<XDocument> xDocument = xParent->getOwnerDocument(); in lcl_createElement() local
220 DBG_ASSERT( xDocument.is(), "no XDocument found!" ); in lcl_createElement()
231 xElement = xDocument->createElement( rLocalName ); in lcl_createElement()
236 xElement = xDocument->createElement( rLocalName ); in lcl_createElement()
249 xElement = xDocument->createElementNS( in lcl_createElement()
H A DDomExport.cxx139 void visit( DomVisitor& rVisitor, const Reference<XDocument>& xDocument ) in visit() argument
141 visit( rVisitor, Reference<XNode>( xDocument, UNO_QUERY_THROW ) ); in visit()
291 void exportDom( SvXMLExport& rExport, const Reference<XDocument>& xDocument ) in exportDom() argument
294 visit( aDomExport, xDocument ); in exportDom()
/aoo4110/main/svx/source/form/
H A DfmPropBrw.cxx547 Reference< XInterface > xDocument; in impl_createPropertyBrowser_throw() local
549 xDocument = _pFormShell->GetObjectShell()->GetModel(); in impl_createPropertyBrowser_throw()
586 …_Init( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ContextDocument" ) ), makeAny( xDocument ) ), in impl_createPropertyBrowser_throw()
633 Reference< XInterface > xDocument; in impl_ensurePropertyBrowser_nothrow() local
636 xDocument = pObjectShell->GetModel(); in impl_ensurePropertyBrowser_nothrow()
637 if ( ( xDocument == m_xLastKnownDocument ) && m_xBrowserController.is() ) in impl_ensurePropertyBrowser_nothrow()
659 m_xLastKnownDocument = xDocument; in impl_ensurePropertyBrowser_nothrow()
H A Dfmdocumentclassification.cxx168 Reference< XModel > xDocument( getDocument( _rxFormComponent.get() ) ); in classifyHostDocument() local
169 if ( !xDocument.is() ) in classifyHostDocument()
171 eType = classifyDocument( xDocument ); in classifyHostDocument()
/aoo4110/main/forms/source/component/
H A DImageControl.cxx536 Reference< XModel > xDocument( getXModel( *this ) ); in onConnectedDbColumn() local
537 if ( xDocument.is() ) in onConnectedDbColumn()
539 m_sDocumentURL = xDocument->getURL(); in onConnectedDbColumn()
542 Reference< XChild > xAsChild( xDocument, UNO_QUERY ); in onConnectedDbColumn()
545 xDocument.set( xAsChild->getParent(), UNO_QUERY ); in onConnectedDbColumn()
546 if ( xDocument.is() ) in onConnectedDbColumn()
547 m_sDocumentURL = xDocument->getURL(); in onConnectedDbColumn()
548 xAsChild.set( xDocument, UNO_QUERY ); in onConnectedDbColumn()
/aoo4110/main/forms/source/xforms/submission/
H A Dserialization_app_xml.cxx103 Reference< XDocument > const xDocument( xDocBuilder->newDocument(), UNO_SET_THROW ); in serialize_node() local
106 … Reference< XNode > const xImportedNode( xDocument->importNode( xNode, true ), UNO_SET_THROW ); in serialize_node()
107 xDocument->appendChild( xImportedNode ); in serialize_node()
110 xSerializer.set( xDocument, UNO_QUERY ); in serialize_node()
/aoo4110/main/cui/source/customize/
H A Dcfgutil.cxx605 Reference< XModel > xDocument; in lcl_getScriptableDocument_nothrow() local
615 xDocument = lcl_getDocumentWithScripts_throw( xController->getModel() ); in lcl_getScriptableDocument_nothrow()
617 if ( !xDocument.is() ) in lcl_getScriptableDocument_nothrow()
620 xDocument = lcl_getDocumentWithScripts_throw( _rxFrame->getController() ); in lcl_getScriptableDocument_nothrow()
629 return xDocument; in lcl_getScriptableDocument_nothrow()
721 Reference< XModel > xDocument( lcl_getScriptableDocument_nothrow( m_xFrame ) ); in Init() local
722 if ( xDocument.is() ) in Init()
724 currentDocTitle = ::comphelper::DocumentInfo::getDocumentTitle( xDocument ); in Init()
1186 … Reference< XModel > xDocument( lcl_getScriptableDocument_nothrow( m_xFrame ) ); in RequestingChilds() local
1187 if ( xDocument.is() ) in RequestingChilds()
[all …]
/aoo4110/main/basctl/source/basicide/
H A Ddoceventnotifier.cxx142 Reference< XModel > xDocument( _rEvent.Source, UNO_QUERY ); in notifyEvent() local
143 … OSL_ENSURE( xDocument.is(), "DocumentEventNotifier_Impl::notifyEvent: illegal source document!" ); in notifyEvent()
144 if ( !xDocument.is() ) in notifyEvent()
169 ScriptDocument aDocument( xDocument ); in notifyEvent()
/aoo4110/main/extensions/source/propctrlr/
H A Dsubmissionhandler.cxx258 Reference< frame::XModel > xDocument( impl_getContextDocument_nothrow() ); in onNewComponent() local
259 DBG_ASSERT( xDocument.is(), "SubmissionPropertyHandler::onNewComponent: no document!" ); in onNewComponent()
263 if ( SubmissionHelper::canTriggerSubmissions( m_xComponent, xDocument ) ) in onNewComponent()
265 m_pHelper.reset( new SubmissionHelper( m_aMutex, m_xComponent, xDocument ) ); in onNewComponent()
H A Dcellbindinghandler.cxx90 Reference< XModel > xDocument( impl_getContextDocument_nothrow() ); in onNewComponent() local
91 DBG_ASSERT( xDocument.is(), "CellBindingPropertyHandler::onNewComponent: no document!" ); in onNewComponent()
92 if ( CellBindingHelper::isSpreadsheetDocument( xDocument ) ) in onNewComponent()
93 m_pHelper.reset( new CellBindingHelper( m_xComponent, xDocument ) ); in onNewComponent()
/aoo4110/main/dbaccess/source/core/recovery/
H A Dsubcomponentrecovery.cxx141 Reference< XModel > xDocument( i_rComponent, UNO_QUERY ); in lcl_determineReadOnly() local
142 if ( !xDocument.is() ) in lcl_determineReadOnly()
145 xDocument = xController->getModel(); in lcl_determineReadOnly()
148 if ( !xDocument.is() ) in lcl_determineReadOnly()
151 ::comphelper::NamedValueCollection aDocArgs( xDocument->getArgs() ); in lcl_determineReadOnly()

Completed in 169 milliseconds

123