Lines Matching refs:aDocument
341 if ( aDocument.GetChangeTrack() && aDocument.GetChangeTrack()->GetFirst() ) in GetHiddenInformationState()
346 SCTAB nTableCount = aDocument.GetTableCount(); in GetHiddenInformationState()
351 ScCellIterator aCellIter( &aDocument, 0,0, nTable, MAXCOL,MAXROW, nTable ); in GetHiddenInformationState()
367 aDocument.DisableIdle( sal_True ); in BeforeXMLLoading()
373 aDocument.SetImportingXML( sal_True ); in BeforeXMLLoading()
374 …aDocument.EnableExecuteLink( false ); // #i101304# to be safe, prevent nested loading from exter… in BeforeXMLLoading()
375 aDocument.EnableUndo( sal_False ); in BeforeXMLLoading()
377 aDocument.SetInsertingFromOtherDoc( sal_True ); in BeforeXMLLoading()
389 aDocument.SetInsertingFromOtherDoc( sal_False ); in AfterXMLLoading()
392 ScChartListenerCollection* pChartListener = aDocument.GetChartListenerCollection(); in AfterXMLLoading()
397 SCTAB nTabCount = aDocument.GetTableCount(); in AfterXMLLoading()
400 if (aDocument.IsLinked( i )) in AfterXMLLoading()
403 aDocument.GetName(i, aName); in AfterXMLLoading()
404 String aLinkTabName = aDocument.GetLinkTab(i); in AfterXMLLoading()
436 … aName = ScGlobal::GetDocTabName( aDocument.GetLinkDoc( i ), aDocument.GetLinkTab( i ) ); in AfterXMLLoading()
437 aDocument.RenameTab(i, aName, sal_True, sal_True); in AfterXMLLoading()
451 ScDPCollection* pDPCollection = aDocument.GetDPCollection(); in AfterXMLLoading()
466 aDocument.SetInsertingFromOtherDoc( sal_False ); in AfterXMLLoading()
468 aDocument.SetImportingXML( sal_False ); in AfterXMLLoading()
469 aDocument.EnableExecuteLink( true ); in AfterXMLLoading()
470 aDocument.EnableUndo( sal_True ); in AfterXMLLoading()
483 aDocument.DisableIdle( sal_False ); in AfterXMLLoading()
499 aDocument.SetXMLFromWrapper( sal_True ); in LoadXML()
501 ScXMLImportWrapper aImport( aDocument, pLoadMedium, xStor ); in LoadXML()
513 aDocument.SetXMLFromWrapper( sal_False ); in LoadXML()
525 aDocument.DisableIdle( sal_True ); in SaveXML()
527 ScXMLImportWrapper aImport( aDocument, pSaveMedium, xStor ); in SaveXML()
534 aDocument.DisableIdle( sal_False ); in SaveXML()
543 ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); in Load()
563 aDocument.MakeTable(0); in Load()
564 aDocument.GetStyleSheetPool()->CreateStandardStyles(); in Load()
565 aDocument.UpdStlShtPtrsFrmNms(); in Load()
582 aDocument.InvalidateTableArea(); in Load()
596 … uno::Reference< script::vba::XVBAEventProcessor > xVbaEvents = aDocument.GetVbaEventProcessor(); in Notify()
615 aDocument.SetName( SfxShell::GetName() ); in Notify()
834 … ScChangeViewSettings* pChangeViewSet = aDocument.GetChangeViewSettings(); in Notify()
839 aDocument.SetChangeViewSettings( *pChangeViewSet ); in Notify()
865 aDocument.SetChangeViewSettings( *pChangeViewSet ); in Notify()
963 ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); in LoadFrom()
1039 LoadMediumGuard aLoadGuard(&aDocument); in ConvertFrom()
1044 ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); in ConvertFrom()
1077 aDocument.SetInsertingFromOtherDoc( sal_True ); in ConvertFrom()
1086 FltError eError = ScFormatFilter::Get().ScImportStarCalc10( *pStream, &aDocument ); in ConvertFrom()
1115 FltError eError = ScFormatFilter::Get().ScImportLotus123( rMedium, &aDocument, in ConvertFrom()
1148 FltError eError = ScFormatFilter::Get().ScImportExcel( rMedium, &aDocument, eFormat ); in ConvertFrom()
1150 aDocument.UpdateFontCharSet(); in ConvertFrom()
1151 if ( aDocument.IsChartListenerCollectionNeedsUpdate() ) in ConvertFrom()
1152 aDocument.UpdateChartListenerCollection(); //! fuer alle Importe? in ConvertFrom()
1155 aDocument.EnsureGraphicNames(); in ConvertFrom()
1203 ScImportExport aImpEx( &aDocument ); in ConvertFrom()
1213 aDocument.StartAllListeners(); in ConvertFrom()
1214 aDocument.SetDirty(); in ConvertFrom()
1300 eError = ScFormatFilter::Get().ScImportDif( *pStream, &aDocument, ScAddress(0,0,0), in ConvertFrom()
1322 ScImportExport aImpEx( &aDocument ); in ConvertFrom()
1330 aDocument.StartAllListeners(); in ConvertFrom()
1331 aDocument.SetDirty(); in ConvertFrom()
1348 FltError eError = ScFormatFilter::Get().ScImportQuattroPro( rMedium, &aDocument); in ConvertFrom()
1375 …eError = ScFormatFilter::Get().ScImportRTF( *pInStream, rMedium.GetBaseURL(), &aDocument, aRange ); in ConvertFrom()
1386 aDocument.StartAllListeners(); in ConvertFrom()
1387 aDocument.SetDirty(); in ConvertFrom()
1424 SvNumberFormatter aNumFormatter(aDocument.GetServiceManager(), eLang); in ConvertFrom()
1425 … eError = ScFormatFilter::Get().ScImportHTML( *pInStream, rMedium.GetBaseURL(), &aDocument, aRange, in ConvertFrom()
1437 aDocument.StartAllListeners(); in ConvertFrom()
1438 aDocument.SetDirty(); in ConvertFrom()
1456 aDocument.SetInsertingFromOtherDoc( sal_False ); in ConvertFrom()
1473 SCTAB nTabCount = aDocument.GetTableCount(); in ConvertFrom()
1478 aDocument.GetCellArea( nTab, nEndCol, nEndRow ); in ConvertFrom()
1489 sal_uInt16 nWidth = aDocument.GetOptimalColWidth( in ConvertFrom()
1492 aDocument.SetColWidth( nCol, nTab, in ConvertFrom()
1511 aDocument.InvalidateTableArea(); in ConvertFrom()
1524 ScChartListenerCollection* pCharts = mrDocShell.aDocument.GetChartListenerCollection(); in PrepareSaveGuard()
1527 mrDocShell.aDocument.StopTemporaryChartLock(); in PrepareSaveGuard()
1530 if (mrDocShell.aDocument.HasExternalRefManager()) in PrepareSaveGuard()
1532 ScExternalRefManager* pRefMgr = mrDocShell.aDocument.GetExternalRefManager(); in PrepareSaveGuard()
1536 …mrDocShell.aDocument.MarkUsedExternalReferences(); // Mark tables of external references to be wr… in PrepareSaveGuard()
1545 if (mrDocShell.aDocument.HasExternalRefManager()) in ~PrepareSaveGuard()
1547 ScExternalRefManager* pRefMgr = mrDocShell.aDocument.GetExternalRefManager(); in ~PrepareSaveGuard()
1561 ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); in Save()
1579 if (pViewShell && ScPassHashHelper::needsPassHashRegen(aDocument, PASSHASH_OOO)) in SaveAs()
1587 ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); in SaveAs()
1591 aDocument.setDocAccTitle(String()); in SaveAs()
1742 aDocument.GetCellArea( nTab, nEndCol, nEndRow ); in AsciiSave()
1751 : aDocument.GetViewOptions(); in AsciiSave()
1753 sal_Bool bTabProtect = aDocument.IsTabProtected( nTab ); in AsciiSave()
1761 SvNumberFormatter& rFormatter = *aDocument.GetFormatTable(); in AsciiSave()
1763 ScHorizontalCellIterator aIter( &aDocument, nTab, nStartCol, nStartRow, in AsciiSave()
1776 aDocument, nTab, nEmptyCol ); in AsciiSave()
1788 aDocument, nTab, nEmptyCol ); in AsciiSave()
1798 aDocument, nTab, nEmptyCol ); in AsciiSave()
1810 aDocument, nTab, nEmptyCol ); in AsciiSave()
1828 (const ScProtectionAttr*) aDocument.GetAttr( in AsciiSave()
1859 aDocument.GetNumberFormat( nCol, nRow, nTab, nFormat ); in AsciiSave()
1877 aDocument.GetNumberFormat( nCol, nRow, nTab, nFormat ); in AsciiSave()
1891 aDocument.GetNumberFormat( nCol, nRow, nTab, nFormat ); in AsciiSave()
1903 EditEngine& rEngine = aDocument.GetEditEngine(); in AsciiSave()
1912 aDocument.GetNumberFormat( nCol, nRow, nTab, nFormat ); in AsciiSave()
1935 ((const SvxHorJustifyItem*) aDocument.GetAttr( nCol, nRow, in AsciiSave()
1937 lcl_ScDocShell_GetFixedWidthString( aString, aDocument, nTab, nCol, in AsciiSave()
2068 aDocument, nTab, nEmptyCol ); in AsciiSave()
2081 aDocument, nTab, nEmptyCol ); in AsciiSave()
2096 ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); in ConvertTo()
2140 ScExtDocOptions* pExtDocOpt = aDocument.GetExtDocOptions(); in ConvertTo()
2142 aDocument.SetExtDocOptions( pExtDocOpt = new ScExtDocOptions ); in ConvertTo()
2164 … bool bNeedRetypePassDlg = ScPassHashHelper::needsPassHashRegen( aDocument, PASSHASH_XL ); in ConvertTo()
2177 …FltError eError = ScFormatFilter::Get().ScExportExcel5( rMed, &aDocument, eFormat, RTL_TEXTENCODIN… in ConvertTo()
2219 if (aDocument.GetTableCount() > 1) in ConvertTo()
2315 ScFormatFilter::Get().ScExportDif( *pStream, &aDocument, ScAddress(0,0,0), in ConvertTo()
2319 if (aDocument.GetTableCount() > 1) in ConvertTo()
2333 aDocument.GetCellArea( 0, nEndCol, nEndRow ); in ConvertTo()
2336 ScImportExport aImExport( &aDocument, aRange ); in ConvertTo()
2347 ScImportExport aImExport( &aDocument ); in ConvertTo()
2407 …uno::Reference< XVBAEventProcessor > xEventProcessor( aDocument.GetVbaEventProcessor(), uno::UNO_Q… in QuerySlotExecutable()
2439 if ( aDocument.IsInLinkUpdate() || aDocument.IsInInterpreter() ) in PrepareClose()
2452 …uno::Reference< script::vba::XVBAEventProcessor > xVbaEvents( aDocument.GetVbaEventProcessor(), un… in PrepareClose()
2469 aDocument.DisableIdle(sal_True); // nicht mehr drin rumpfuschen !!! in PrepareClose()
2484 aDocument.DisconnectDdeLinks(); in PrepareReload()
2542 aDocument ( SCDOCMODE_DOCUMENT, this ), \
2585 SfxStyleSheetPool* pStlPool = aDocument.GetStyleSheetPool(); in ScDocShell()
2612 aDocument.mbIsTemporary = true;
2621 SfxStyleSheetPool* pStlPool = aDocument.GetStyleSheetPool();
2626 aDocument.GetDBCollection()->SetRefreshHandler(
2638 SfxStyleSheetPool* pStlPool = aDocument.GetStyleSheetPool();
2650 delete aDocument.mpUndoManager;
2651 aDocument.mpUndoManager = 0;
2673 return aDocument.GetUndoManager(); in GetUndoManager()
2696 aDocument.Broadcast( SC_HINT_DATACHANGED, BCA_BRDCST_ALWAYS, NULL ); in SetDocumentModified()
2697 aDocument.InvalidateTableArea(); // #i105279# needed here in SetDocumentModified()
2698 aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); in SetDocumentModified()
2708 if ( aDocument.IsAutoCalcShellDisabled() ) in SetDocumentModified()
2713 aDocument.InvalidateStyleSheetUsage(); in SetDocumentModified()
2714 aDocument.InvalidateTableArea(); in SetDocumentModified()
2715 aDocument.InvalidateLastTableOpParams(); in SetDocumentModified()
2716 aDocument.Broadcast( SC_HINT_DATACHANGED, BCA_BRDCST_ALWAYS, NULL ); in SetDocumentModified()
2717 if ( aDocument.IsForcedFormulaPending() && aDocument.GetAutoCalc() ) in SetDocumentModified()
2718 aDocument.CalcFormulaTree( sal_True ); in SetDocumentModified()
2726 ScDetOpList* pList = aDocument.GetDetOpList(); in SetDocumentModified()
2727 if ( pList && ( aDocument.IsDetectiveDirty() || pList->HasAddError() ) && in SetDocumentModified()
2732 aDocument.SetDetectiveDirty(sal_False); // always reset, also if not refreshed in SetDocumentModified()
2736 aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); in SetDocumentModified()
2772 if ( aDocument.IsChartListenerCollectionNeedsUpdate() ) in SetDrawModified()
2774 aDocument.UpdateChartListenerCollection(); in SetDrawModified()
2791 aDocument.GetDocStat( rDocStat ); in GetDocStat()
2858 SCTAB nTabCount = aDocument.GetTableCount(); in UseSheetSaveEntries()
2870 if (aDocument.IsStreamValid(nTab)) in UseSheetSaveEntries()
2871 aDocument.SetStreamValid(nTab, sal_False); in UseSheetSaveEntries()
2936 ScChangeTrack* pChangeTrack = aDocument.GetChangeTrack(); in IsChangeRecording()
2944 ScChangeTrack* pChangeTrack = aDocument.GetChangeTrack(); in HasChangeRecordProtection()
2957 aDocument.StartChangeTracking(); in SetChangeRecording()
2960 aDocument.SetChangeViewSettings(aChangeViewSet); in SetChangeRecording()
2964 aDocument.EndChangeTracking(); in SetChangeRecording()
2982 ScChangeTrack* pChangeTrack = aDocument.GetChangeTrack(); in SetProtectionPassword()
3016 ScChangeTrack* pChangeTrack = aDocument.GetChangeTrack(); in GetProtectionHash()
3031 aDocument.SetImportingMSXML( true ); in BeforeLoading()
3044 aDocument.SetImportingMSXML( false ); in AfterLoading()