/trunk/main/sc/source/core/tool/ |
H A D | rangenam.cxx | 69 pDoc ( pDok ), in ScRangeData() 78 ScCompiler aComp( pDoc, aPos ); in ScRangeData() 118 pDoc ( pDok ), in ScRangeData() 156 pDoc ( pDok ), in ScRangeData() 167 ScCompiler aComp( pDoc, aPos, *pCode ); in ScRangeData() 168 aComp.SetGrammar(pDoc->GetGrammar()); in ScRangeData() 181 pDoc (rScRangeData.pDoc), in ScRangeData() 243 ScCompiler aComp(pDoc, aPos, *pCode); in GetSymbol() 423 ScCompiler aComp( pDoc, aPos, *pCode); in UpdateTabRef() 542 if (aRange.Parse( rName, pDoc, details) || aAddr.Parse( rName, pDoc, details)) in IsNameValid() [all …]
|
H A D | detfunc.cxx | 288 if (pDoc->IsStreamValid(nTab)) in Modified() 304 ScCellIterator aCellIter( pDoc, rRange); in HasError() 357 aPos.X() += pDoc->GetColWidth( i, nTab ); in GetDrawPos() 363 if ( pDoc->IsNegativePage( nTab ) ) in GetDrawPos() 420 ScDrawLayer* pModel = pDoc->GetDrawLayer(); in HasArrow() 481 ScDrawLayer* pModel = pDoc->GetDrawLayer(); in InsertArrow() 811 ScCellIterator aCellIter( pDoc, rRef); in InsertPredLevelArea() 841 pDoc->GetCell( nCol, nRow, nTab, pCell ); in InsertPredLevel() 911 ScCellIterator aCellIter( pDoc, rRef); in FindPredLevelArea() 934 pDoc->GetCell( nCol, nRow, nTab, pCell ); in FindPredLevel() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | gridwin.cxx | 803 SCTAB nTabCount = pDoc->GetTableCount(); in DoScenarioMenue() 808 if (pDoc->GetName( i, aTabName )) in DoScenarioMenue() 811 if (pDoc->IsActiveScenario(i)) in DoScenarioMenue() 876 if ( nTab+1<nTabCount && pDoc->IsScenario(nTab+1) && !pDoc->IsScenario(nTab) ) in HasScenarioRange() 888 pDoc->ExtendTotalMerge( aRange ); in HasScenarioRange() 1453 if (pDoc->IsEmbedded()) in TestMouse() 1456 pDoc->GetEmbedded( aRange ); in TestMouse() 3278 if(pDoc->GetChangeTrack()!=NULL) in lcl_TestScenarioRedliningDrop() 3280 if( pDoc->IsScenario(nTab) && pDoc->HasScenarioRange(nTab, aDragRange)) in lcl_TestScenarioRedliningDrop() 5145 if ( nTab+1<nTabCount && pDoc->IsScenario(nTab+1) && !pDoc->IsScenario(nTab) ) in HasScenarioButton() [all …]
|
H A D | tabvwsh4.cxx | 337 pDoc->GetPageStyle( nCurTab ), in GetOptimalSizePixel() 492 pDoc->SnapVisArea( aLogicRect ); in QueryObjAreaPixel() 1309 if ( pDoc ) in TabKeyInput() 1629 if (!pDoc->HasTable(nVisTab)) in Construct() 1632 pDoc->SetVisibleTab(nVisTab); in Construct() 1642 if (pDoc->IsEmbedded()) in Construct() 1649 if (!pDoc->IsEmbedded()) in Construct() 1678 if (pDoc->GetDrawLayer()) in Construct() 1685 if ( !pDoc->IsUndoEnabled() ) in Construct() 1706 pDoc->MakeTable(i,false); in Construct() [all …]
|
H A D | tabview4.cxx | 136 ScDocument* pDoc = aViewData.GetDocument(); in StopRefMode() local 172 ScDocument* pDoc = aViewData.GetDocument(); in DoneRefMode() local 199 ScDocument* pDoc = aViewData.GetDocument(); in UpdateRef() local 224 pDoc->ExtendMerge( nStartX, nStartY, nEndX, nEndY, nTab ); in UpdateRef() 243 SC_MOD()->SetReference( aRef, pDoc, &rMark ); in UpdateRef() 306 ScDocument* pDoc = aViewData.GetDocument(); in InitRefMode() local 327 SC_MOD()->SetReference( aRef, pDoc, &rMark ); in InitRefMode() 408 ScDocument* pDoc = aViewData.GetDocument(); in UpdateScrollBars() local 481 if ( pDoc->SetVisibleSpellRange( aVisible ) ) in UpdateScrollBars() 527 ScDocument* pDoc = aViewData.GetDocument(); in InterpretVisible() local [all …]
|
H A D | tabvwsh3.cxx | 100 sal_uInt16 nResult = rScRange.Parse(aAddress, pDoc); in lcl_ParseRange() 111 sal_uInt16 nResult = rScAddress.Parse(aAddress, pDoc); in lcl_ParseAddress() 274 ScDocument* pDoc = pViewData->GetDocument(); in Execute() local 386 while ( pDoc->IsVerOverlapped( nCol, nRow, nTab ) ) in Execute() 418 if ( pDoc->GetTable( aAddress, nNameTab ) ) in Execute() 451 ScDocument* pDoc = GetViewData()->GetDocument(); in Execute() local 452 if ( nTab < pDoc->GetTableCount() ) in Execute() 987 ScDocument* pDoc = GetViewData()->GetDocument(); in Execute() local 1001 ScDocProtection* pProtect = pDoc->GetDocProtection(); in Execute() 1058 ScDocument* pDoc = GetViewData()->GetDocument(); in Execute() local [all …]
|
H A D | output2.cxx | 477 *pOutput->pDoc->GetFormatTable(), in SetText() 873 bHidden = pDoc->ColHidden(rOverX, nTab); in GetMergeOrigin() 905 !pDoc->ColHidden(rOverX, nTab) && in GetMergeOrigin() 906 !pDoc->RowHidden(rOverY, nTab) && in GetMergeOrigin() 1014 …return pDoc->GetCellScriptType( pCell, pPattern->GetNumberFormat( pDoc->GetFormatTable(), pCondSet… in GetScriptType() 1065 pDoc->GetCell( nCol, nRow, nTabP, rpCell ); in GetVisibleCell() 1339 pDoc->DisableIdle( sal_True ); in DrawStrings() 1899 pDoc->DisableIdle( bWasIdleDisabled ); in DrawStrings() 1918 pDoc->ApplyAsianEditSettings( *pEngine ); in CreateOutputEditEngine() 2513 *pDoc->GetFormatTable(), in DrawEdit() [all …]
|
/trunk/main/sw/source/core/unocore/ |
H A D | unocrsrhelper.cxx | 620 SwDoc* pDoc = rPam.GetDoc(); in setNumberingProperty() local 687 UnoActionContext aAction(pDoc); in setNumberingProperty() 707 UnoActionContext aAction( pDoc ); in setNumberingProperty() 716 UnoActionContext aAction(pDoc); in setNumberingProperty() 761 SwDoc* pDoc = rPam.GetDoc(); in resetCrsrPropertyValue() local 771 UnoActionContext aAction(pDoc); in resetCrsrPropertyValue() 783 pDoc->SetNodeNumStart( *rPam.GetPoint(), 0 ); in resetCrsrPropertyValue() 810 SwDoc* pDoc = pUnoCrsr->GetDoc(); in InsertFile() local 811 SwDocShell* pDocSh = pDoc->GetDocShell(); in InsertFile() 921 UnoActionContext aContext(pDoc); in InsertFile() [all …]
|
H A D | unoportenum.cxx | 442 SwDoc* pDoc = pUnoCrsr->GetDoc(); in lcl_ExportFieldMark() local 459 if ( pDoc != NULL ) in lcl_ExportFieldMark() 469 && pDoc != NULL ) in lcl_ExportFieldMark() 477 if ( pDoc != NULL ) in lcl_ExportFieldMark() 487 && pDoc != NULL ) in lcl_ExportFieldMark() 495 if ( pDoc != NULL ) in lcl_ExportFieldMark() 504 && pDoc != NULL ) in lcl_ExportFieldMark() 525 SwDoc* pDoc = pUnoCrsr->GetDoc(); in lcl_CreateRefMarkPortion() local 570 SwDoc* pDoc = pUnoCrsr->GetDoc(); in lcl_CreateTOXMarkPortion() local 754 SwDoc* pDoc = pUnoCrsr->GetDoc(); in lcl_ExportHints() local [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | unmove.cxx | 49 SwDoc* pDoc = rRange.GetDoc(); in SwUndoMove() local 50 SwTxtNode* pTxtNd = pDoc->GetNodes()[ nSttNode ]->GetTxtNode(); in SwUndoMove() 100 SwUndoMove::SwUndoMove( SwDoc* pDoc, const SwNodeRange& rRg, in SwUndoMove() argument 189 SwDoc *const pDoc = & rContext.GetDoc(); in UndoImpl() local 194 SwNodeIndex aIdx( pDoc->GetNodes(), nDestSttNode ); in UndoImpl() 202 bool bSuccess = pDoc->MoveNodeRange( aRg, aIdx, in UndoImpl() 210 *pDoc->GetNodes()[ nDestEndNode ], nDestEndCntnt ); in UndoImpl() 217 SwPosition aPos( *pDoc->GetNodes()[ nInsPosNode] ); in UndoImpl() 269 pHistory->Rollback( pDoc, nFtnStt ); in UndoImpl() 270 pHistory->TmpRollback( pDoc, 0 ); in UndoImpl() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlsect.cxx | 188 pCNd = pDoc->GetNodes()[rCntntStIdx.GetIndex()+1] in NewDivision() 195 pCNd = pDoc->GetNodes().MakeTxtNode( aSttIdx, in NewDivision() 206 pDoc->DelFullPara( aDelPam ); in NewDivision() 209 for( sal_uInt16 i=0; i < pDoc->GetPageDescCnt(); i++ ) in NewDivision() 211 if( RES_POOLPAGE_HTML==const_cast<const SwDoc *>(pDoc) in NewDivision() 214 pDoc->ChgPageDesc( i, *pPageDesc ); in NewDivision() 320 SfxItemSet aFrmItemSet( pDoc->GetAttrPool(), in NewDivision() 476 pTxtNode = pDoc->GetNodes()[nPrvNxtIdx] in FixHeaderFooterDistance() 628 SfxItemSet aFrmItemSet( pDoc->GetAttrPool(), in NewMultiCol() 700 SfxItemSet aFrmItemSet( pDoc->GetAttrPool(), in NewMultiCol() [all …]
|
H A D | wrthtml.cxx | 229 pDoc->GetDocShell()); in WriteStream() 271 eLang = ((const SvxLanguageItem&)pDoc in WriteStream() 351 if( !bWriteClipboardDoc && pDoc->GetDocShell() && in WriteStream() 372 if( !bWriteClipboardDoc && pDoc->GetDocShell() && in WriteStream() 373 …(!pDoc->get(IDocumentSettingAccess::HTML_MODE) && !pDoc->get(IDocumentSettingAccess::BROWSE_MODE))… in WriteStream() 449 ::EndProgress( pDoc->GetDocShell() ); in WriteStream() 501 rHTMLWrt.pDoc->GetNodes()[nIndex]->GetSectionNode(); in lcl_html_IsMultiColStart() 941 SwDocShell *pDocShell(pDoc->GetDocShell()); in MakeHeader() 965 while( nNodeIdx < pDoc->GetNodes().Count() ) in MakeHeader() 967 SwNode *pNd = pDoc->GetNodes()[ nNodeIdx ]; in MakeHeader() [all …]
|
/trunk/main/sw/source/core/swg/ |
H A D | SwXMLTextBlocks.cxx | 75 pDoc = pDocSh->GetDoc(); in SwXMLTextBlocks() 77 pDoc->SetOle2Link( Link() ); in SwXMLTextBlocks() 79 pDoc->acquire(); in SwXMLTextBlocks() 118 pDoc = pDocSh->GetDoc(); in SwXMLTextBlocks() 120 pDoc->SetOle2Link( Link() ); in SwXMLTextBlocks() 122 pDoc->acquire(); in SwXMLTextBlocks() 137 if( pDoc && !pDoc->release() ) in ~SwXMLTextBlocks() 138 delete pDoc; in ~SwXMLTextBlocks() 147 pDoc->ClearDoc(); in ClearDoc() 362 SwWriter aWriter (xRoot, *pDoc ); in PutBlock() [all …]
|
/trunk/main/sw/source/core/crsr/ |
H A D | bookmrk.cxx | 237 void DdeBookmark::DeregisterFromDoc(SwDoc* const pDoc) in DeregisterFromDoc() argument 240 pDoc->GetLinkManager().RemoveServer(m_aRefObj); in DeregisterFromDoc() 282 SwDoc *const pDoc( GetMarkPos().GetDoc() ); in GetRegistry() local 283 OSL_ENSURE(pDoc, "Bookmark::MakeUnoObject: no doc?"); in GetRegistry() 284 return pDoc->GetXmlIdRegistry(); in GetRegistry() 289 SwDoc *const pDoc( GetMarkPos().GetDoc() ); in IsInClipboard() local 291 return pDoc->IsClipBoard(); in IsInClipboard() 301 SwDoc *const pDoc( GetMarkPos().GetDoc() ); in IsInContent() local 302 OSL_ENSURE(pDoc, "Bookmark::IsInContent: no doc?"); in IsInContent() 309 SwDoc *const pDoc( GetMarkPos().GetDoc() ); in MakeUnoObject() local [all …]
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | sfiltdlg.cxx | 87 pDoc ( NULL ), in ScSpecialFilterDlg() 144 pDoc = pViewData ? pViewData->GetDocument() : NULL; in Init() 148 if ( pViewData && pDoc ) in Init() 150 if(pDoc->GetChangeTrack()!=NULL) aBtnCopyResult.Disable(); in Init() 152 ScRangeName* pRangeNames = pDoc->GetRangeName(); in Init() 192 aAdvSource.Format( aRefStr, SCR_ABS_3D, pDoc, pDoc->GetAddressConvention() ); in Init() 321 if ( (pBtn == &aBtnOk) && pDoc && pViewData ) in IMPL_LINK() 354 sal_uInt16 nResult = ScRange().Parse( theAreaStr, pDoc, eConv ); in IMPL_LINK() 402 pDoc->CreateQueryParam( rStart.Col(), in IMPL_LINK() 500 if ( pDoc && pViewData ) in IMPL_LINK() [all …]
|
H A D | foptmgr.cxx | 71 pDoc ( ptrViewData ? ptrViewData->GetDocument() : NULL ), in ScFilterOptionsMgr() 109 DBG_ASSERT( pViewData && pDoc, "Init failed :-/" ); in Init() 133 if ( pViewData && pDoc ) in Init() 142 ScDBCollection* pDBColl = pDoc->GetDBCollection(); in Init() 145 const formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention(); in Init() 147 theCurArea.Format( theAreaStr, SCR_ABS_3D, pDoc, eConv ); in Init() 154 ScAreaNameIterator aIter( pDoc ); in Init() 162 aRange.aStart.Format( aRefStr, SCA_ABS_3D, pDoc, eConv ); in Init() 211 ).Format( aString, SCA_ABS_3D, pDoc, eConv ); in Init() 246 sal_uInt16 nResult = ScAddress().Parse( aPosStr, pDoc, pDoc->GetAddressConvention() ); in VerifyPosStr() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | atrftn.cxx | 204 SwDoc* pDoc; in SetStartNode() local 207 pDoc = m_pTxtNode->GetDoc(); in SetStartNode() 216 pDoc = m_pStartNode->GetNodes().GetDoc(); in SetStartNode() 222 if( !pDoc->IsInDtor() ) in SetStartNode() 240 if( this == pDoc->GetFtnIdxs()[n] ) in SetStartNode() 242 pDoc->GetFtnIdxs().Remove( n ); in SetStartNode() 244 if( !pDoc->IsInDtor() && n < pDoc->GetFtnIdxs().Count() ) in SetStartNode() 247 pDoc->GetFtnIdxs().UpdateFtn( aTmp ); in SetStartNode() 430 SwDoc* pDoc = m_pTxtNode->GetDoc(); in SetSeqRefNo() local 431 if( pDoc->IsInReading() ) in SetSeqRefNo() [all …]
|
/trunk/main/sw/source/core/fields/ |
H A D | reffld.cxx | 284 SwDoc* pDoc = ((SwGetRefFieldType*)GetTyp())->GetDoc(); in UpdateField() local 350 sal_uInt16 n, nFtnCnt = pDoc->GetFtnIdxs().Count(); in UpdateField() 355 sTxt = pFtnIdx->GetFtn().GetViewNumStr( *pDoc ); in UpdateField() 722 if(!pDoc->GetFldType(RES_SETEXPFLD, rPar1, false)) in ConvertProgrammaticToUIName() 748 : SwFieldType( RES_GETREFFLD ), pDoc( pDc ) in SwGetRefFieldType() 754 return new SwGetRefFieldType( pDoc ); in Copy() 796 const SwFmtRefMark *pRef = pDoc->GetRefMark( rRefMark ); in FindAnchor() 870 sal_uInt16 n, nFtnCnt = pDoc->GetFtnIdxs().Count(); in FindAnchor() 1017 if( &rDestDoc != pDoc && in MergeWithOtherDoc() 1047 pMap->Check( *pDoc, rDestDoc, rRefFld, sal_True ); in MergeWithOtherDoc() [all …]
|
/trunk/main/sc/source/ui/app/ |
H A D | inputwin.cxx | 289 if (pDoc->RowFiltered(nRow, nTab)) in UseSubTotal() 1088 pNew = new ScFieldEditEngine( pDoc->GetEnginePool(), pDoc->GetEditPool() ); in StartEditEngine() 1154 sal_uInt8 nScript = pDoc->GetStringScriptType( aString ); in StartEditEngine() 1240 nOldScript = pDoc->GetStringScriptType( aString ); in SetTextString() 1241 nNewScript = pDoc->GetStringScriptType( rNewString ); in SetTextString() 1323 pNew = new ScFieldEditEngine( pDoc->GetEnginePool(), pDoc->GetEditPool() ); in MakeDialogEditView() 1468 ScDocument* pDoc = ((ScDocShell*)pObjSh)->GetDocument(); in FillRangeNames() local 1472 ScRangeName* pRangeNames = pDoc->GetRangeName(); in FillRangeNames() 1586 ScDocument* pDoc = pViewData->GetDocument(); in lcl_GetInputType() local 1609 else if ( pDoc->GetTable( rText, nNameTab ) ) in lcl_GetInputType() [all …]
|
H A D | inputhdl.cxx | 111 ScCompiler aComp(pDoc, ScAddress()); in lcl_getSheetSeparator() 112 aComp.SetGrammar(pDoc->GetGrammar()); in lcl_getSheetSeparator() 120 ScDocument* pDoc = pDocSh->GetDocument(); in InitRangeFinder() local 168 NULL != pDoc && in InitRangeFinder() 543 pEngine = new ScFieldEditEngine( pDoc->GetEnginePool(), pDoc->GetEditPool() ); in ImplCreateEditEngine() 606 ScDocument* pDoc = pViewData->GetDocument(); in UpdateSpellSettings() local 607 pDoc->ApplyAsianEditSettings( *pEngine ); in UpdateSpellSettings() 692 pDoc->GetFormulaEntries( *pFormulaData ); in GetFormulaData() 1877 aTester.TestSelection( pDoc, rMark ); in StartTable() 2819 if (!pDoc->GetDocumentShell()->HasName()) in SetReference() [all …]
|
/trunk/main/sw/source/filter/basflt/ |
H A D | docfact.cxx | 45 : pDoc( pDc ) in SwDocFac() 47 if( pDoc ) in SwDocFac() 48 pDoc->acquire(); in SwDocFac() 61 if( pDoc && !pDoc->release() ) in ~SwDocFac() 62 delete pDoc; in ~SwDocFac() 75 if( !pDoc ) in GetDoc() 77 pDoc = new SwDoc; in GetDoc() 78 pDoc->acquire(); in GetDoc() 80 return pDoc; in GetDoc()
|
/trunk/main/oox/source/core/ |
H A D | xmlfilterbase.cxx | 314 pDoc->startElement( nXmlElement, FSEND ); in writeElement() 315 pDoc->write( sValue ); in writeElement() 316 pDoc->endElement( nXmlElement ); in writeElement() 322 pDoc->startElement( nXmlElement, FSEND ); in writeElement() 323 pDoc->write( OUString::valueOf( nValue ) ); in writeElement() 324 pDoc->endElement( nXmlElement ); in writeElement() 334 pDoc->startElement( nXmlElement, FSEND ); in writeElement() 336 pDoc->startElement( nXmlElement, in writeElement() 346 pDoc->write( pStr ); in writeElement() 348 pDoc->endElement( nXmlElement ); in writeElement() [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | autofmt.cxx | 110 SwDoc* pDoc; member in SwAutoFormat 367 pDoc->GetDocShell() ); in GoNextPara() 1048 SfxItemSet aSet( pDoc->GetAttrPool(), in SetColl() 1863 pDoc->SetAutoFmtRedlineComment( &sTxt ); in BuildHeadLine() 2200 pDoc( pEdShell->GetDoc() ), in SwAutoFormat() 2243 pDoc->GetDocShell() ); in SwAutoFormat() 2248 pDoc->SetAutoFmtRedline( sal_True ); in SwAutoFormat() 2253 pDoc->SetRedlineMode( eRedlMode ); in SwAutoFormat() 2663 pDoc->SetAutoFmtRedline( sal_False ); in SwAutoFormat() 2664 pDoc->SetRedlineMode( eOldMode ); in SwAutoFormat() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | dbdocutl.cxx | 68 nFormatIndex = pDoc->GetFormatTable()->GetStandardFormat( in PutData() 99 SvNumberFormatter* pFormTable = pDoc->GetFormatTable(); in PutData() 113 SvNumberFormatter* pFormTable = pDoc->GetFormatTable(); in PutData() 127 SvNumberFormatter* pFormTable = pDoc->GetFormatTable(); in PutData() 158 nFormatIndex = pDoc->GetFormatTable()->GetStandardFormat( in PutData() 165 pDoc->PutCell( nCol, nRow, nTab, pCell ); in PutData() 169 pDoc->SetError( nCol, nRow, nTab, NOTAVAILABLE ); in PutData() 175 pDoc->PutCell( nCol, nRow, nTab, pCell ); in PutData() 177 pDoc->PutCell( nCol, nRow, nTab, pCell, nFormatIndex ); in PutData() 183 pCell = ScBaseCell::CreateTextCell( aString, pDoc ); in PutData() [all …]
|
/trunk/main/sw/source/filter/writer/ |
H A D | writer.cxx | 144 , pOrigPam(0), pOrigFileName(0), pDoc(0), pCurPam(0) in Writer() 169 m_pImpl->RemoveFontList( *pDoc ); in ResetWriter() 181 pDoc = 0; in ResetWriter() 319 pDoc = rPaM.GetDoc(); in Write() 422 SfxItemPool& rPool = pDoc->GetAttrPool(); in PutNumFmtFontsInAttrPool() 423 const SwNumRuleTbl& rListTbl = pDoc->GetNumRuleTbl(); in PutNumFmtFontsInAttrPool() 434 if( pDoc->IsUsed( *(pRule = rListTbl[ --nGet ] ))) in PutNumFmtFontsInAttrPool() 458 SfxItemPool& rPool = pDoc->GetAttrPool(); in PutEditEngFontsInAttrPool() 472 SfxItemPool& rPool = pDoc->GetAttrPool(); in PutCJKandCTLFontsInAttrPool() 588 pDoc = rPaM.GetDoc(); in Write() [all …]
|