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 != ( pDrawDoc = dynamic_cast< SwDrawDocument * >( pDocShell->GetDoc()->GetDrawModel() ) ) ) in setPropertyValue()
2104 … pDrawDoc = dynamic_cast< SwDrawDocument * > (pDocShell->GetDoc()->GetOrCreateDrawModel() ); in setPropertyValue()
2115 … if ( 0 != ( pDrawDoc = dynamic_cast< SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) in setPropertyValue()
2126 … pDrawDoc = dynamic_cast< SwDrawDocument * > (pDocShell->GetDoc()->GetOrCreateDrawModel() ); in setPropertyValue()
2136 SwDoc* pDoc = pDocShell->GetDoc(); in setPropertyValue()
2151 pDocShell->GetDoc()->SetApplyWorkaroundForB6375613( bApplyWorkaroundForB6375613 ); in setPropertyValue()
2159 pDocShell->GetDoc()->SetDefaultPageMode( bDefaultPageMode ); in setPropertyValue()
2165 const SfxPoolItem& rItem = pDocShell->GetDoc()->GetDefault(pEntry->nWID); in setPropertyValue()
2168 pDocShell->GetDoc()->SetDefault(*pNewItem); in setPropertyValue()
2193 SwDocStat aStat(pDocShell->GetDoc()->GetDocStat()); in getPropertyValue()
2195 pDocShell->GetDoc()->UpdateDocStat( aStat ); in getPropertyValue()
2214 sal_uInt16 eMode = pDocShell->GetDoc()->GetRedlineMode(); in getPropertyValue()
2230 SwDoc* pDoc = pDocShell->GetDoc(); in getPropertyValue()
2235 aAny <<= OUString(pDocShell->GetDoc()->GetTOIAutoMarkURL()); in getPropertyValue()
2245 sal_Int16 eRedMode = pDocShell->GetDoc()->GetRedlineMode(); in getPropertyValue()
2266 …aAny <<= static_cast < sal_Int16 > (pDocShell->GetDoc()->GetNumberFormatter ( sal_True )->GetYear2… in getPropertyValue()
2273 … if ( 0 != ( pDrawDoc = dynamic_cast< SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) in getPropertyValue()
2284 … if ( 0 != ( pDrawDoc = dynamic_cast< SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) in getPropertyValue()
2292 aAny <<= pDocShell->GetBasicContainer(); in getPropertyValue()
2295 aAny <<= pDocShell->GetDialogContainer(); in getPropertyValue()
2301 aAny <<= static_cast<bool>( pDocShell->GetDoc()->IsInReading() ); in getPropertyValue()
2312 aAny <<= pDocShell->GetDoc()->ApplyWorkaroundForB6375613(); in getPropertyValue()
2319 const SfxPoolItem& rItem = pDocShell->GetDoc()->GetDefault(pEntry->nWID); in getPropertyValue()
2381 (*pxXRedlines) = new SwXRedlines(pDocShell->GetDoc()); in getRedlines()
2393 ViewShell *pViewShell = pDocShell->GetWrtShell(); in refresh()
2427 SwDoc* pDoc = pDocShell->GetDoc(); in updateLinks()
2583 if (xModel == pDocShell->GetModel()) in GetRenderDoc()
2584 pDoc = pDocShell->GetDoc(); in GetRenderDoc()
2687 m_pPrintUIOptions = lcl_GetPrintUIOptions( pDocShell, pView ); in getRendererCount()
2860 m_pPrintUIOptions = lcl_GetPrintUIOptions( pDocShell, pView ); in getRenderer()
2985 pDocShell->GetDoc()->GetPreViewPrtData(); in getRenderer()
3015 Printer* pPrinter = pDocShell->GetDoc()->getPrinter( false ); in getRenderer()
3055 SfxViewFrame *pFrame = SfxViewFrame::GetFirst( pDocShell, sal_False ); in GuessViewShell()
3073 pFrame = SfxViewFrame::GetNext( *pFrame, pDocShell, sal_False ); in GuessViewShell()
3112 m_pPrintUIOptions = lcl_GetPrintUIOptions( pDocShell, pView ); in render()
3227 if ( !pDocShell ) in getXForms()
3229 SwDoc* pDoc = pDocShell->GetDoc(); in getXForms()
3239 return new SwXFlatParagraphIterator( *pDocShell->GetDoc(), nTextMarkupType, bAutomatic ); in getFlatParagraphIterator()
3254 SfxObjectShellRef pShell = pDocShell->GetDoc()->CreateCopy(false); in createClone()
3302 if (!pDocShell) in getDocumentLanguages()
3304 SwDoc* pDoc = pDocShell->GetDoc(); in getDocumentLanguages()
3400 SwWrtShell *pWrtSh = pDocShell->GetWrtShell(); in getDocumentLanguages()
3499 lcl_DisposeView( m_pHiddenViewFrame, pDocShell); in CleanUpRenderingData()
3501 SfxItemSet *pSet = pDocShell->GetMedium()->GetItemSet(); in CleanUpRenderingData()