Home
last modified time | relevance | path

Searched refs:m_xDoc (Results 1 – 25 of 68) sorted by relevance

123

/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/app/
H A Ddocshini.cxx361 , m_xDoc(pD) in SwDocShell()
377 if (m_xDoc) in ~SwDocShell()
411 if (!m_xDoc) in AddLink()
414 m_xDoc = aFactory.GetDoc(); in AddLink()
421 SetPool(&m_xDoc->GetAttrPool()); in AddLink()
434 if (m_xDoc) in UpdateFontList()
448 if (m_xDoc) in RemoveLink()
456 m_xDoc->SetDocShell( nullptr ); in RemoveLink()
570 InitDrawModelAndDocShell(this, m_xDoc ? m_xDoc->getIDocumentDrawModelAccess().GetDrawModel() in Load()
592 if (m_xDoc) in LoadFrom()
[all …]
H A Ddocsh.cxx241 m_xDoc->setDocAccTitle(OUString()); in ConvertFrom()
263 if (m_xDoc.get() != pRdr->GetDoc()) in ConvertFrom()
266 m_xDoc = pRdr->GetDoc(); in ConvertFrom()
275 …InitDrawModelAndDocShell(this, m_xDoc ? m_xDoc->getIDocumentDrawModelAccess().GetDrawModel() : nul… in ConvertFrom()
305 if (m_pWrtShell && m_xDoc.get() && in Save()
528 if (m_xDoc->ContainsMSVBasic()) in SaveAs()
567 SwWriter aWrt( rMedium, *m_xDoc ); in SaveAs()
583 m_xDoc->setRsid( m_xDoc->getRsid() ); in SaveAs()
585 m_xDoc->cleanupUnoCursorTable(); in SaveAs()
632 if (m_xDoc->ContainsMSVBasic()) in ConvertTo()
[all …]
H A Ddocsh2.cxx205 if (!m_xDoc) in DoFlushDocInfo()
250 if (!m_xDoc) in Notify()
256 m_xDoc->GetVbaEventProcessor(); in Notify()
373 if (bRet && m_xDoc && IsInPrepareClose()) in PrepareClose()
396 if (m_xDoc && IsInPrepareClose()) in PrepareClose()
399 m_xDoc->GetVbaEventProcessor(); in PrepareClose()
908 m_xDoc->RemoveInvisibleContent(); in Execute()
920 m_xDoc->RestoreInvisibleContent(); in Execute()
1364 if (m_xDoc) in ReconnectDdeLink()
1561 m_xDoc->getIDocumentState().ResetModified(); in ReloadFromHtml()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/app/
H A Ddocshini.cxx343 , m_xDoc(&rD) in SwDocShell()
359 if (m_xDoc) in ~SwDocShell()
393 if (!m_xDoc) in AddLink()
396 m_xDoc = &aFactory.GetDoc(); in AddLink()
403 SetPool(&m_xDoc->GetAttrPool()); in AddLink()
416 if (m_xDoc) in UpdateFontList()
430 if (m_xDoc) in RemoveLink()
438 m_xDoc->SetDocShell( nullptr ); in RemoveLink()
549 InitDrawModelAndDocShell(this, m_xDoc ? m_xDoc->getIDocumentDrawModelAccess().GetDrawModel() in Load()
571 if (m_xDoc) in LoadFrom()
[all …]
H A Ddocsh.cxx212 m_xDoc->setDocAccTitle(OUString()); in ConvertFrom()
234 if (m_xDoc.get() != &pRdr->GetDoc()) in ConvertFrom()
237 m_xDoc = &pRdr->GetDoc(); in ConvertFrom()
246 …InitDrawModelAndDocShell(this, m_xDoc ? m_xDoc->getIDocumentDrawModelAccess().GetDrawModel() : nul… in ConvertFrom()
276 if (m_pWrtShell && m_xDoc && in Save()
507 if (m_xDoc->ContainsMSVBasic()) in SaveAs()
546 SwWriter aWrt( rMedium, *m_xDoc ); in SaveAs()
562 m_xDoc->setRsid( m_xDoc->getRsid() ); in SaveAs()
564 m_xDoc->cleanupUnoCursorTable(); in SaveAs()
611 if (m_xDoc->ContainsMSVBasic()) in ConvertTo()
[all …]
H A Ddocsh2.cxx186 if (!m_xDoc) in DoFlushDocInfo()
232 if (!m_xDoc) in Notify()
238 m_xDoc->GetVbaEventProcessor(); in Notify()
355 if (bRet && m_xDoc && IsInPrepareClose()) in PrepareClose()
378 if (m_xDoc && IsInPrepareClose()) in PrepareClose()
381 m_xDoc->GetVbaEventProcessor(); in PrepareClose()
889 m_xDoc->RemoveInvisibleContent(); in Execute()
901 m_xDoc->RestoreInvisibleContent(); in Execute()
1344 if (m_xDoc) in ReconnectDdeLink()
1545 m_xDoc->getIDocumentState().ResetModified(); in ReloadFromHtml()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/writerperfect/qa/unit/
H A DWpftLoader.cxx85 const css::uno::Reference<css::lang::XComponent>& WpftLoader::getDocument() const { return m_xDoc; } in getDocument()
90 m_xDoc.set(m_xDesktop->loadComponentFromURL(m_aFactoryURL, "_blank", 0, in impl_load()
95 m_xFrame.set(m_xDoc, uno::UNO_QUERY); in impl_load()
96 uno::Reference<frame::XModel> xModel(m_xDoc, uno::UNO_QUERY); in impl_load()
97 uno::Reference<frame::XController> xController(m_xDoc, uno::UNO_QUERY); in impl_load()
123 xImporter->setTargetDocument(m_xDoc); in impl_load()
172 else if (m_xDoc.is()) in impl_dispose()
173 m_xDoc->dispose(); in impl_dispose()
174 m_xDoc.clear(); in impl_dispose()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/writerperfect/qa/unit/
H A DWpftLoader.cxx88 const css::uno::Reference<css::lang::XComponent>& WpftLoader::getDocument() const { return m_xDoc; } in getDocument()
93 m_xDoc.set(m_xDesktop->loadComponentFromURL(m_aFactoryURL, "_blank", 0, in impl_load()
98 m_xFrame.set(m_xDoc, uno::UNO_QUERY); in impl_load()
99 uno::Reference<frame::XModel> xModel(m_xDoc, uno::UNO_QUERY); in impl_load()
100 uno::Reference<frame::XController> xController(m_xDoc, uno::UNO_QUERY); in impl_load()
126 xImporter->setTargetDocument(m_xDoc); in impl_load()
175 else if (m_xDoc.is()) in impl_dispose()
176 m_xDoc->dispose(); in impl_dispose()
177 m_xDoc.clear(); in impl_dispose()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/filter/html/
H A Dswhtml.cxx266 m_xDoc( pD ), in SwHTMLParser()
470 m_xDoc->SetInLoadAsynchron( false ); in ~SwHTMLParser()
477 if( m_xDoc->GetDocShell() ) in ~SwHTMLParser()
514 m_xDoc.clear(); in ~SwHTMLParser()
521 …if ( m_bRemoveHidden && m_xDoc.is() && m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->GetMedium()… in ~SwHTMLParser()
532 if( ( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in IMPL_LINK_NOARG()
615 if( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in Continue()
639 if( m_xDoc->GetDocShell() ) in Continue()
976 if( ( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in NextToken()
2548 if( ( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in Show()
[all …]
H A Dhtmlsect.cxx192 pCNd = m_xDoc->GetNodes()[rContentStIdx.GetIndex()+1] in NewDivision()
199 pCNd = m_xDoc->GetNodes().MakeTextNode( aSttIdx, in NewDivision()
217 for( size_t i=0; i < m_xDoc->GetPageDescCnt(); i++ ) in NewDivision()
221 m_xDoc->ChgPageDesc( i, *pPageDesc ); in NewDivision()
327 SfxItemSet aFrameItemSet( m_xDoc->GetAttrPool(), in NewDivision()
451 SwTextNode *pTextNode = m_xDoc->GetNodes()[nPrvNxtIdx]->GetTextNode(); in FixHeaderFooterDistance()
482 pTextNode = m_xDoc->GetNodes()[nPrvNxtIdx] in FixHeaderFooterDistance()
631 SfxItemSet aFrameItemSet( m_xDoc->GetAttrPool(), in NewMultiCol()
703 SfxItemSet aFrameItemSet( m_xDoc->GetAttrPool(), in NewMultiCol()
791 SwContentNode *pCNd = m_xDoc->GetNodes()[rFlyCntIdx.GetIndex()+1] in InsertFlyFrame()
[all …]
H A Dhtmlnumreader.cxx72 sal_uInt16 nPos = m_xDoc->MakeNumRule( m_xDoc->GetUniqueNumRuleName() ); in NewNumberBulletList()
73 rInfo.SetNumRule( m_xDoc->GetNumRuleTable()[nPos] ); in NewNumberBulletList()
256 SfxItemSet aItemSet( m_xDoc->GetAttrPool(), m_pCSS1Parser->GetWhichMap() ); in NewNumberBulletList()
308 m_xDoc->ChgNumRuleFormats( *rInfo.GetNumRule() ); in NewNumberBulletList()
321 m_xDoc->ChgNumRuleFormats( *rInfo.GetNumRule() ); in NewNumberBulletList()
394 m_xDoc->ChgNumRuleFormats( *rInfo.GetNumRule() ); in EndNumberBulletList()
488 aNumRuleName = m_xDoc->GetUniqueNumRuleName(); in NewNumberBulletListItem()
503 m_xDoc->MakeNumRule( aNumRuleName, &aNumRule ); in NewNumberBulletListItem()
536 SfxItemSet aItemSet( m_xDoc->GetAttrPool(), m_pCSS1Parser->GetWhichMap() ); in NewNumberBulletListItem()
H A Dhtmlfld.cxx268 SwDocShell *pDocShell(m_xDoc->GetDocShell()); in NewField()
288 SwFieldType* pType = m_xDoc->getIDocumentFieldsAccess().GetSysFieldType( nWhich ); in NewField()
352 SvNumberFormatter *pFormatter = m_xDoc->GetNumberFormatter(); in NewField()
383 SvNumberFormatter *pFormatter = m_xDoc->GetNumberFormatter(); in NewField()
388 *m_xDoc->GetNumberFormatter() ); in NewField()
462 *m_xDoc->GetNumberFormatter() ); in NewField()
531 m_xDoc->getIDocumentContentOperations().InsertPoolItem(*m_pPam, SwFormatField(*xNewField)); in NewField()
569 m_xDoc->getIDocumentContentOperations().InsertPoolItem( *m_pPam, SwFormatField(*m_xField) ); in EndField()
641 …static_cast<SwPostItFieldType*>(m_xDoc->getIDocumentFieldsAccess().GetSysFieldType( SwFieldIds::Po… in InsertComment()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/filter/html/
H A Dswhtml.cxx267 m_xDoc( pD ), in SwHTMLParser()
454 m_xDoc->SetInLoadAsynchron( false ); in ~SwHTMLParser()
461 if( m_xDoc->GetDocShell() ) in ~SwHTMLParser()
498 m_xDoc.clear(); in ~SwHTMLParser()
505 …if ( m_bRemoveHidden && m_xDoc.is() && m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->GetMedium()… in ~SwHTMLParser()
516 if( ( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in IMPL_LINK_NOARG()
599 if( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in Continue()
623 if( m_xDoc->GetDocShell() ) in Continue()
960 if( ( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in NextToken()
2532 if( ( m_xDoc->GetDocShell() && m_xDoc->GetDocShell()->IsAbortingImport() ) in Show()
[all …]
H A Dhtmlsect.cxx183 pCNd = m_xDoc->GetNodes()[rContentStIdx.GetIndex()+1] in NewDivision()
190 pCNd = m_xDoc->GetNodes().MakeTextNode( aSttIdx, in NewDivision()
208 for( size_t i=0; i < m_xDoc->GetPageDescCnt(); i++ ) in NewDivision()
212 m_xDoc->ChgPageDesc( i, *pPageDesc ); in NewDivision()
318 SfxItemSet aFrameItemSet( m_xDoc->GetAttrPool(), in NewDivision()
441 SwTextNode *pTextNode = m_xDoc->GetNodes()[nPrvNxtIdx]->GetTextNode(); in FixHeaderFooterDistance()
472 pTextNode = m_xDoc->GetNodes()[nPrvNxtIdx] in FixHeaderFooterDistance()
621 SfxItemSet aFrameItemSet( m_xDoc->GetAttrPool(), in NewMultiCol()
693 SfxItemSet aFrameItemSet( m_xDoc->GetAttrPool(), in NewMultiCol()
781 SwContentNode *pCNd = m_xDoc->GetNodes()[rFlyCntIdx.GetIndex()+1] in InsertFlyFrame()
[all …]
H A Dhtmlnumreader.cxx76 sal_uInt16 nPos = m_xDoc->MakeNumRule( m_xDoc->GetUniqueNumRuleName() ); in NewNumBulList()
77 rInfo.SetNumRule( m_xDoc->GetNumRuleTable()[nPos] ); in NewNumBulList()
260 SfxItemSet aItemSet( m_xDoc->GetAttrPool(), m_pCSS1Parser->GetWhichMap() ); in NewNumBulList()
312 m_xDoc->ChgNumRuleFormats( *rInfo.GetNumRule() ); in NewNumBulList()
325 m_xDoc->ChgNumRuleFormats( *rInfo.GetNumRule() ); in NewNumBulList()
398 m_xDoc->ChgNumRuleFormats( *rInfo.GetNumRule() ); in EndNumBulList()
492 aNumRuleName = m_xDoc->GetUniqueNumRuleName(); in NewNumBulListItem()
507 m_xDoc->MakeNumRule( aNumRuleName, &aNumRule ); in NewNumBulListItem()
540 SfxItemSet aItemSet( m_xDoc->GetAttrPool(), m_pCSS1Parser->GetWhichMap() ); in NewNumBulListItem()
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/drivers/writer/
H A DWConnection.cxx94 if (m_xDoc.is()) in acquireDoc()
97 return m_xDoc; in acquireDoc()
127 m_xDoc.set(xComponent, uno::UNO_QUERY); in acquireDoc()
131 if (!m_xDoc.is()) in acquireDoc()
148 m_xCloseVetoButTerminateListener->start(m_xDoc, xDesktop); in acquireDoc()
149 return m_xDoc; in acquireDoc()
161 m_xDoc.clear(); in releaseDoc()
175 m_xDoc.clear(); in disposing()
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/drivers/calc/
H A DCConnection.cxx101 if ( m_xDoc.is() ) in acquireDoc()
104 return m_xDoc; in acquireDoc()
134 m_xDoc.set(xComponent, UNO_QUERY ); in acquireDoc()
138 if ( !m_xDoc.is() ) in acquireDoc()
163 m_xCloseVetoButTerminateListener->start(m_xDoc, xDesktop); in acquireDoc()
164 return m_xDoc; in acquireDoc()
176 m_xDoc.clear(); in releaseDoc()
190 m_xDoc.clear(); in disposing()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/drivers/calc/
H A DCConnection.cxx103 if ( m_xDoc.is() ) in acquireDoc()
106 return m_xDoc; in acquireDoc()
136 m_xDoc.set(xComponent, UNO_QUERY ); in acquireDoc()
140 if ( !m_xDoc.is() ) in acquireDoc()
165 m_xCloseVetoButTerminateListener->start(m_xDoc, xDesktop); in acquireDoc()
166 return m_xDoc; in acquireDoc()
178 m_xDoc.clear(); in releaseDoc()
192 m_xDoc.clear(); in disposing()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/drivers/writer/
H A DWConnection.cxx96 if (m_xDoc.is()) in acquireDoc()
99 return m_xDoc; in acquireDoc()
129 m_xDoc.set(xComponent, uno::UNO_QUERY); in acquireDoc()
133 if (!m_xDoc.is()) in acquireDoc()
150 m_xCloseVetoButTerminateListener->start(m_xDoc, xDesktop); in acquireDoc()
151 return m_xDoc; in acquireDoc()
163 m_xDoc.clear(); in releaseDoc()
177 m_xDoc.clear(); in disposing()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/swg/
H A DSwXMLTextBlocks.cxx70 m_xDoc = pDocSh->GetDoc(); in SwXMLTextBlocks()
72 m_xDoc->SetOle2Link( Link<bool,void>() ); in SwXMLTextBlocks()
73 m_xDoc->GetIDocumentUndoRedo().DoUndo(false); in SwXMLTextBlocks()
112 m_xDoc = pDocSh->GetDoc(); in SwXMLTextBlocks()
114 m_xDoc->SetOle2Link( Link<bool,void>() ); in SwXMLTextBlocks()
115 m_xDoc->GetIDocumentUndoRedo().DoUndo(false); in SwXMLTextBlocks()
134 SwDocShell * pDocShell = m_xDoc->GetDocShell(); in ClearDoc()
138 m_xDoc->ClearDoc(); in ClearDoc()
271 SwWriter aWriter (m_xRoot, *m_xDoc ); in PutBlock()
277 SwDocShell *pDocSh = m_xDoc->GetDocShell(); in PutBlock()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/swg/
H A DSwXMLTextBlocks.cxx72 m_xDoc = pDocSh->GetDoc(); in SwXMLTextBlocks()
74 m_xDoc->SetOle2Link( Link<bool,void>() ); in SwXMLTextBlocks()
75 m_xDoc->GetIDocumentUndoRedo().DoUndo(false); in SwXMLTextBlocks()
114 m_xDoc = pDocSh->GetDoc(); in SwXMLTextBlocks()
116 m_xDoc->SetOle2Link( Link<bool,void>() ); in SwXMLTextBlocks()
117 m_xDoc->GetIDocumentUndoRedo().DoUndo(false); in SwXMLTextBlocks()
136 SwDocShell * pDocShell = m_xDoc->GetDocShell(); in ClearDoc()
140 m_xDoc->ClearDoc(); in ClearDoc()
273 SwWriter aWriter (xRoot, *m_xDoc ); in PutBlock()
279 SwDocShell *pDocSh = m_xDoc->GetDocShell(); in PutBlock()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/inc/writer/
H A DWConnection.hxx44 css::uno::Reference<css::text::XTextDocument> m_xDoc; member in connectivity::writer::OWriterConnection
136 css::uno::Reference<css::text::XTextDocument> m_xDoc; member in connectivity::writer::OWriterConnection::ODocHolder
142 m_xDoc = m_pConnection->acquireDoc(); in ODocHolder()
146 m_xDoc.clear(); in ~ODocHolder()
149 const css::uno::Reference<css::text::XTextDocument>& getDoc() const { return m_xDoc; } in getDoc()
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/inc/calc/
H A DCConnection.hxx42 css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDoc; member in connectivity::calc::OCalcConnection
132 css::uno::Reference< css::sheet::XSpreadsheetDocument> m_xDoc; member in connectivity::calc::OCalcConnection::ODocHolder
136 m_xDoc = m_pConnection->acquireDoc(); in ODocHolder()
140 m_xDoc.clear(); in ~ODocHolder()
143 … const css::uno::Reference< css::sheet::XSpreadsheetDocument>& getDoc() const { return m_xDoc; } in getDoc()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/inc/writer/
H A DWConnection.hxx56 css::uno::Reference<css::text::XTextDocument> m_xDoc; member in connectivity::writer::OWriterConnection
148 css::uno::Reference<css::text::XTextDocument> m_xDoc; member in connectivity::writer::OWriterConnection::ODocHolder
154 m_xDoc = m_pConnection->acquireDoc(); in ODocHolder()
158 m_xDoc.clear(); in ~ODocHolder()
161 const css::uno::Reference<css::text::XTextDocument>& getDoc() const { return m_xDoc; } in getDoc()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/inc/calc/
H A DCConnection.hxx45 css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDoc; member in connectivity::calc::OCalcConnection
135 css::uno::Reference< css::sheet::XSpreadsheetDocument> m_xDoc; member in connectivity::calc::OCalcConnection::ODocHolder
139 m_xDoc = m_pConnection->acquireDoc(); in ODocHolder()
143 m_xDoc.clear(); in ~ODocHolder()
146 … const css::uno::Reference< css::sheet::XSpreadsheetDocument>& getDoc() const { return m_xDoc; } in getDoc()

123