Lines Matching refs:pDocShell
555 pDocShell( pDocSh ) in ScStyleFamiliesObj()
557 pDocShell->GetDocument()->AddUnoObject(*this); in ScStyleFamiliesObj()
562 if (pDocShell) in ~ScStyleFamiliesObj()
563 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScStyleFamiliesObj()
573 pDocShell = NULL; // ungueltig geworden in Notify()
581 if ( pDocShell ) in GetObjectByType_Impl()
584 return new ScStyleFamilyObj( pDocShell, SFX_STYLE_FAMILY_PARA ); in GetObjectByType_Impl()
586 return new ScStyleFamilyObj( pDocShell, SFX_STYLE_FAMILY_PAGE ); in GetObjectByType_Impl()
602 if ( pDocShell ) in GetObjectByName_Impl()
606 return new ScStyleFamilyObj( pDocShell, SFX_STYLE_FAMILY_PARA ); in GetObjectByName_Impl()
608 return new ScStyleFamilyObj( pDocShell, SFX_STYLE_FAMILY_PAGE ); in GetObjectByName_Impl()
694 if ( pSource && pDocShell ) in loadStylesFromURL()
717 pDocShell->LoadStylesArgs( *pSource, bLoadReplace, bLoadCellStyles, bLoadPageStyles ); in loadStylesFromURL()
718 pDocShell->SetDocumentModified(); // paint is inside LoadStyles in loadStylesFromURL()
745 pDocShell( pDocSh ), in ScStyleFamilyObj()
748 pDocShell->GetDocument()->AddUnoObject(*this); in ScStyleFamilyObj()
753 if (pDocShell) in ~ScStyleFamilyObj()
754 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScStyleFamilyObj()
764 pDocShell = NULL; // ungueltig geworden in Notify()
772 if ( pDocShell ) in GetObjectByIndex_Impl()
774 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByIndex_Impl()
783 return new ScStyleObj( pDocShell, eFamily, String (pStyle->GetName()) ); in GetObjectByIndex_Impl()
792 if ( pDocShell ) in GetObjectByName_Impl()
796 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByName_Impl()
799 return new ScStyleObj( pDocShell, eFamily, aString ); in GetObjectByName_Impl()
820 ScDocument* pDoc = pDocShell->GetDocument(); in insertByName()
833 pStyleObj->InitDoc( pDocShell, aNameStr ); // Objekt kann benutzt werden in insertByName()
835 pDocShell->SetDocumentModified(); // verwendet wird der neue Style noch nicht in insertByName()
866 if ( pDocShell ) in removeByName()
870 ScDocument* pDoc = pDocShell->GetDocument(); in removeByName()
889 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID|PAINT_LEFT ); in removeByName()
890 pDocShell->SetDocumentModified(); in removeByName()
899 pDocShell->PageStyleModified( ScGlobal::GetRscString(STR_STYLENAME_STANDARD), sal_True ); in removeByName()
903 SfxBindings* pBindings = pDocShell->GetViewBindings(); in removeByName()
906 pDocShell->SetDocumentModified(); in removeByName()
920 if ( pDocShell ) in getCount()
922 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()
976 if ( pDocShell ) in getElementNames()
978 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
1006 if ( pDocShell ) in hasByName()
1010 ScDocument* pDoc = pDocShell->GetDocument(); in hasByName()
1095 pDocShell( pDocSh ), in ScStyleObj()
1101 if (pDocShell) in ScStyleObj()
1102 pDocShell->GetDocument()->AddUnoObject(*this); in ScStyleObj()
1107 if ( pNewDocSh && !pDocShell ) in InitDoc()
1110 pDocShell = pNewDocSh; in InitDoc()
1111 pDocShell->GetDocument()->AddUnoObject(*this); in InitDoc()
1117 if (pDocShell) in ~ScStyleObj()
1118 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScStyleObj()
1170 pDocShell = NULL; // ungueltig geworden in Notify()
1176 if ( pDocShell ) in GetStyle_Impl()
1178 ScDocument* pDoc = pDocShell->GetDocument(); in GetStyle_Impl()
1222 if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) in setParentStyle()
1234 ScDocument* pDoc = pDocShell->GetDocument(); in setParentStyle()
1246 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID|PAINT_LEFT ); in setParentStyle()
1247 pDocShell->SetDocumentModified(); in setParentStyle()
1253 pDocShell->PageStyleModified( aStyleName, sal_True ); in setParentStyle()
1278 if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) in setName()
1290 ScDocument* pDoc = pDocShell->GetDocument(); in setName()
1297 SfxBindings* pBindings = pDocShell->GetViewBindings(); in setName()
1595 if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) in setAllPropertiesToDefault()
1603 ScDocument* pDoc = pDocShell->GetDocument(); in setAllPropertiesToDefault()
1615 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID|PAINT_LEFT ); in setAllPropertiesToDefault()
1616 pDocShell->SetDocumentModified(); in setAllPropertiesToDefault()
1628 pDocShell->PageStyleModified( aStyleName, sal_True ); in setAllPropertiesToDefault()
1710 if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) in SetOnePropertyValueWithoutUpdate()
1760 pDocShell->GetDocument()->GetFormatTable(); in SetOnePropertyValueWithoutUpdate()
1871 Printer* pPrinter = pDocShell->GetPrinter(); in SetOnePropertyValueWithoutUpdate()
1962 pDocShell->PageStyleModified( aStyleName, sal_True ); in SetOnePropertyValueWithoutUpdate()
1984 ScDocument* pDoc = pDocShell->GetDocument(); in StyleSheetChangedUpdate()
1987 pDocShell->PostPaint(0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID|PAINT_LEFT); in StyleSheetChangedUpdate()
1988 pDocShell->SetDocumentModified(); in StyleSheetChangedUpdate()
2025 if ( pDocShell ) in getPropertyValue()
2031 nOldFormat = pDocShell->GetDocument()->GetFormatTable()-> in getPropertyValue()
2069 Printer* pPrinter = pDocShell->GetPrinter(); in getPropertyValue()