Lines Matching refs:pDocShell
185 SwDocShell * pDocShell, in lcl_GetPrintUIOptions() argument
188 if (!pDocShell) in lcl_GetPrintUIOptions()
191 const sal_Bool bWebDoc = NULL != dynamic_cast< const SwWebDocShell * >(pDocShell); in lcl_GetPrintUIOptions()
195 const bool bHasPostIts = lcl_GetPostIts( pDocShell->GetDoc(), 0 ); in lcl_GetPrintUIOptions()
198 const SwPrintData &rPrintData = pDocShell->GetDoc()->getPrintData(); in lcl_GetPrintUIOptions()
217 void lcl_DisposeView( SfxViewFrame* pToClose, SwDocShell* pDocShell ) in lcl_DisposeView() argument
220 SfxViewFrame* pFound = SfxViewFrame::GetFirst( pDocShell, in lcl_DisposeView()
230 pDocShell, in lcl_DisposeView()
369 pDocShell(pShell), in SwXTextDocument()
433 pPropertyHelper = new SwXDocumentPropertyHelper(*pDocShell->GetDoc()); in GetPropertyHelper()
444 if ( pDocShell->GetDoc() ) in GetNumberFormatter()
447 pDocShell->GetDoc()->GetNumberFormatter( sal_True )); in GetNumberFormatter()
468 pNumFmt->SetNumberFormatter(pDocShell->GetDoc()->GetNumberFormatter( sal_True )); in GetNumberFormatter()
482 pBodyText = new SwXBodyText(pDocShell->GetDoc()); in getText()
504 UnoActionContext* pContext = new UnoActionContext(pDocShell->GetDoc()); in lockControllers()
560 while(pView && pView->GetObjectShell() != pDocShell) in getCurrentSelection()
624 lcl_DisposeView( m_pHiddenViewFrame, pDocShell); in close()
627 SfxItemSet *pSet = pDocShell->GetMedium()->GetItemSet(); in close()
660 (*pxXLineNumberingProperties) = new SwXLineNumberingProperties(pDocShell->GetDoc()); in getLineNumberingProperties()
679 *pxXChapterNumbering = new SwXChapterNumbering(*pDocShell); in getChapterNumberingRules()
692 *pxXNumberingRules = new SwXNumberingRulesCollection( pDocShell->GetDoc() ); in getNumberingRules()
708 *pxXFootnotes = new SwXFootnotes(sal_False, pDocShell->GetDoc()); in getFootnotes()
724 *pxXFootnoteSettings = new SwXFootnoteProperties(pDocShell->GetDoc()); in getFootnoteSettings()
739 *pxXEndnotes = new SwXFootnotes(sal_True, pDocShell->GetDoc()); in getEndnotes()
754 *pxXEndnoteSettings = new SwXEndnoteProperties(pDocShell->GetDoc()); in getEndnoteSettings()
812 UnoActionContext aContext(pDocShell->GetDoc()); in replaceAll()
816 SfxItemSet aSearch(pDocShell->GetDoc()->GetAttrPool(), in replaceAll()
821 SfxItemSet aReplace(pDocShell->GetDoc()->GetAttrPool(), in replaceAll()
953 SfxItemSet aSearch(pDocShell->GetDoc()->GetAttrPool(), in FindAny()
1031 ::sw::CreateParentXText(*pDocShell->GetDoc(), in findFirst()
1058 ::sw::CreateParentXText(*pDocShell->GetDoc(), in findNext()
1078 const SwPagePreViewPrtData* pData = pDocShell->GetDoc()->GetPreViewPrtData(); in getPagePrintSettings()
1162 const SwPagePreViewPrtData* pData = pDocShell->GetDoc()->GetPreViewPrtData(); in setPagePrintSettings()
1219 pDocShell->GetDoc()->SetPreViewPrtData(&aData); in setPagePrintSettings()
1233 SfxViewFrame* pFrame = SfxViewFrame::LoadHiddenDocument( *pDocShell, 7 ); in printPages()
1235 pDocShell->GetDoc()->GetAttrPool()); in printPages()
1326 *pxXReferenceMarks = new SwXReferenceMarks(pDocShell->GetDoc()); in getReferenceMarks()
1341 *pxXTextFieldTypes = new SwXTextFieldTypes(pDocShell->GetDoc()); in getTextFields()
1357 *pxXTextFieldMasters = new SwXTextFieldMasters(pDocShell->GetDoc()); in getTextFieldMasters()
1372 *pxXEmbeddedObjects = new SwXTextEmbeddedObjects(pDocShell->GetDoc()); in getEmbeddedObjects()
1387 *pxXBookmarks = new SwXBookmarks(pDocShell->GetDoc()); in getBookmarks()
1402 *pxXTextSections = new SwXTextSections(pDocShell->GetDoc()); in getTextSections()
1417 *pxXTextTables = new SwXTextTables(pDocShell->GetDoc()); in getTextTables()
1432 *pxXGraphicObjects = new SwXTextGraphicObjects(pDocShell->GetDoc()); in getGraphicObjects()
1447 *pxXTextFrames = new SwXTextFrames(pDocShell->GetDoc()); in getTextFrames()
1462 *pxXStyleFamilies = new SwXStyleFamilies(*pDocShell); in getStyleFamilies()
1478 *pxXAutoStyles = new SwXAutoStyles(*pDocShell); in getAutoStyles()
1495 ((SwXTextDocument*)this)->pDrawPage = new SwXDrawPage(pDocShell->GetDoc()); in getDrawPage()
1537 pDocShell = 0; in Invalidate()
1545 if(pDocShell && pDocShell != pNewDocShell) in Reactivate()
1547 pDocShell = pNewDocShell; in Reactivate()
1775 xRet = SwXServiceProvider::MakeInstance(nType, pDocShell->GetDoc()); in createInstance()
1815 …xRet = (::cppu::OWeakObject * )new SvXMLEmbeddedObjectHelper( *pDocShell, EMBEDDEDOBJECTHELPER_MOD… in createInstance()
1826 …eference < XInterface > ( dynamic_cast< chart2::data::XDataProvider * >(pDocShell->getIDocumentCha… in createInstance()
1926 sal_Bool bWebDoc = (0 != PTR_CAST(SwWebDocShell, pDocShell)); in supportsService()
1927 sal_Bool bGlobalDoc = (0 != PTR_CAST(SwGlobalDocShell, pDocShell)); in supportsService()
1941 sal_Bool bWebDoc = (0 != PTR_CAST(SwWebDocShell, pDocShell)); in getSupportedServiceNames()
1942 sal_Bool bGlobalDoc = (0 != PTR_CAST(SwGlobalDocShell, pDocShell)); in getSupportedServiceNames()
1973 *pxXDocumentIndexes = new SwXDocumentIndexes(pDocShell->GetDoc()); in getDocumentIndexes()
2020 sal_uInt16 eMode = pDocShell->GetDoc()->GetRedlineMode(); in setPropertyValue()
2032 pDocShell->GetDoc()->SetRedlineMode( (RedlineMode_t)(eMode )); in setPropertyValue()
2040 SwDoc* pDoc = pDocShell->GetDoc(); in setPropertyValue()
2055 pDocShell->GetDoc()->SetTOIAutoMarkURL(sURL); in setPropertyValue()
2063 sal_Int16 eRedMode = pDocShell->GetDoc()->GetRedlineMode(); in setPropertyValue()
2077 pDocShell->GetDoc()->SetRedlineMode(eRedMode); in setPropertyValue()
2084 SfxRequest aRequest ( SID_ATTR_YEAR2000, SFX_CALLMODE_SLOT, pDocShell->GetDoc()->GetAttrPool()); in setPropertyValue()
2086 pDocShell->Execute ( aRequest ); in setPropertyValue()
2094 if ( 0 != ( pDrawModel = pDocShell->GetDoc()->GetDrawModel() ) ) in setPropertyValue()
2106 pDrawModel = pDocShell->GetDoc()->GetOrCreateDrawModel(); in setPropertyValue()
2117 if ( 0 != ( pDrawModel = pDocShell->GetDoc()->GetDrawModel() ) ) in setPropertyValue()
2130 pDrawModel = pDocShell->GetDoc()->GetOrCreateDrawModel(); in setPropertyValue()
2140 SwDoc* pDoc = pDocShell->GetDoc(); in setPropertyValue()
2155 pDocShell->GetDoc()->SetApplyWorkaroundForB6375613( bApplyWorkaroundForB6375613 ); in setPropertyValue()
2163 pDocShell->GetDoc()->SetDefaultPageMode( bDefaultPageMode ); in setPropertyValue()
2169 const SfxPoolItem& rItem = pDocShell->GetDoc()->GetDefault(pEntry->nWID); in setPropertyValue()
2172 pDocShell->GetDoc()->SetDefault(*pNewItem); in setPropertyValue()
2197 SwDocStat aStat(pDocShell->GetDoc()->GetDocStat()); in getPropertyValue()
2199 pDocShell->GetDoc()->UpdateDocStat( aStat ); in getPropertyValue()
2218 sal_uInt16 eMode = pDocShell->GetDoc()->GetRedlineMode(); in getPropertyValue()
2234 SwDoc* pDoc = pDocShell->GetDoc(); in getPropertyValue()
2239 aAny <<= OUString(pDocShell->GetDoc()->GetTOIAutoMarkURL()); in getPropertyValue()
2249 sal_Int16 eRedMode = pDocShell->GetDoc()->GetRedlineMode(); in getPropertyValue()
2270 …aAny <<= static_cast < sal_Int16 > (pDocShell->GetDoc()->GetNumberFormatter ( sal_True )->GetYear2… in getPropertyValue()
2278 if ( 0 != ( pDrawModel = pDocShell->GetDoc()->GetDrawModel() ) ) in getPropertyValue()
2295 if ( 0 != ( pDrawModel = pDocShell->GetDoc()->GetDrawModel() ) ) in getPropertyValue()
2308 aAny <<= pDocShell->GetBasicContainer(); in getPropertyValue()
2311 aAny <<= pDocShell->GetDialogContainer(); in getPropertyValue()
2317 aAny <<= static_cast<bool>( pDocShell->GetDoc()->IsInReading() ); in getPropertyValue()
2328 aAny <<= pDocShell->GetDoc()->ApplyWorkaroundForB6375613(); in getPropertyValue()
2335 const SfxPoolItem& rItem = pDocShell->GetDoc()->GetDefault(pEntry->nWID); in getPropertyValue()
2397 (*pxXRedlines) = new SwXRedlines(pDocShell->GetDoc()); in getRedlines()
2409 ViewShell *pViewShell = pDocShell->GetWrtShell(); in refresh()
2443 SwDoc* pDoc = pDocShell->GetDoc(); in updateLinks()
2599 if (xModel == pDocShell->GetModel()) in GetRenderDoc()
2600 pDoc = pDocShell->GetDoc(); in GetRenderDoc()
2703 m_pPrintUIOptions = lcl_GetPrintUIOptions( pDocShell, pView ); in getRendererCount()
2876 m_pPrintUIOptions = lcl_GetPrintUIOptions( pDocShell, pView ); in getRenderer()
3001 pDocShell->GetDoc()->GetPreViewPrtData(); in getRenderer()
3031 Printer* pPrinter = pDocShell->GetDoc()->getPrinter( false ); in getRenderer()
3071 SfxViewFrame *pFrame = SfxViewFrame::GetFirst( pDocShell, sal_False ); in GuessViewShell()
3089 pFrame = SfxViewFrame::GetNext( *pFrame, pDocShell, sal_False ); in GuessViewShell()
3128 m_pPrintUIOptions = lcl_GetPrintUIOptions( pDocShell, pView ); in render()
3243 if ( !pDocShell ) in getXForms()
3245 SwDoc* pDoc = pDocShell->GetDoc(); in getXForms()
3255 return new SwXFlatParagraphIterator( *pDocShell->GetDoc(), nTextMarkupType, bAutomatic ); in getFlatParagraphIterator()
3270 SfxObjectShellRef pShell = pDocShell->GetDoc()->CreateCopy(false); in createClone()
3318 if (!pDocShell) in getDocumentLanguages()
3320 SwDoc* pDoc = pDocShell->GetDoc(); in getDocumentLanguages()
3416 SwWrtShell *pWrtSh = pDocShell->GetWrtShell(); in getDocumentLanguages()
3515 lcl_DisposeView( m_pHiddenViewFrame, pDocShell); in CleanUpRenderingData()
3517 SfxItemSet *pSet = pDocShell->GetMedium()->GetItemSet(); in CleanUpRenderingData()