Home
last modified time | relevance | path

Searched refs:aDocument (Results 1 – 25 of 36) sorted by relevance

12

/trunk/main/sc/source/ui/docshell/
H A Ddocsh5.cxx101 return !IsReadOnly() || aDocument.IsImportingXML() || aDocument.IsChangeReadOnlyEnabled(); in IsEditable()
466 aDocument.EnableUndo( sal_False ); in UpdatePendingRowHeights()
499 aDocument.LockStreamValid( false ); in UpdatePendingRowHeights()
500 aDocument.EnableUndo( bIsUndoEnabled ); in UpdatePendingRowHeights()
711 if (!aDocument.IsScenario(nTab)) in UseScenario()
722 aDocument.GetName( nEndTab, aCompare ); in UseScenario()
772 aDocument.SetDirty(); in UseScenario()
805 aDocument.GetName( nTab, aOldName ); in ModifyScenario()
817 aDocument.RenameTab( nTab, rName ); in ModifyScenario()
838 while (aDocument.IsScenario(nNewTab)) in MakeScenario()
[all …]
H A Ddocsh.cxx341 if ( aDocument.GetChangeTrack() && aDocument.GetChangeTrack()->GetFirst() ) in GetHiddenInformationState()
400 if (aDocument.IsLinked( i )) in AfterXMLLoading()
403 aDocument.GetName(i, aName); in AfterXMLLoading()
563 aDocument.MakeTable(0); in Load()
1214 aDocument.SetDirty(); in ConvertFrom()
1331 aDocument.SetDirty(); in ConvertFrom()
1387 aDocument.SetDirty(); in ConvertFrom()
1438 aDocument.SetDirty(); in ConvertFrom()
2439 if ( aDocument.IsInLinkUpdate() || aDocument.IsInInterpreter() ) in PrepareClose()
2651 aDocument.mpUndoManager = 0;
[all …]
H A Ddocsh4.cxx230 if ( aPos.Parse( sTarget, &aDocument, aDocument.GetAddressConvention() ) & SCA_VALID ) in Execute()
422 aDocument.SetAutoCalc( bNewVal ); in Execute()
477 aDocument.UpdateDdeLinks(); in Execute()
478 aDocument.UpdateAreaLinks(); in Execute()
864 if (aDocument.IsScenario(nTab)) in Execute()
1226 aDocument.CalcFormulaTree(); in DoRecalc()
1253 aDocument.CalcAll(); in DoHardRecalc()
1899 if (!aDocument.HasTable(nVisTab)) in Draw()
1941 sal_Bool bNegativePage = aDocument.IsNegativePage( aDocument.GetVisibleTab() ); in GetVisArea()
1944 aDocument.SnapVisArea( aArea ); in GetVisArea()
[all …]
H A Ddocsh6.cxx86 sal_Bool bNegativePage = aDocument.IsNegativePage( aDocument.GetVisibleTab() ); in SetVisAreaOrSize()
128 if ( !aDocument.IsImportingXML() ) in SetVisAreaOrSize()
129 aDocument.SnapVisArea( aArea ); in SetVisAreaOrSize()
156 if (aDocument.IsEmbedded()) in SetVisAreaOrSize()
159 aDocument.GetEmbedded( aOld); in SetVisAreaOrSize()
160 aDocument.SetEmbedded( aArea ); in SetVisAreaOrSize()
162 aDocument.GetEmbedded( aNew); in SetVisAreaOrSize()
268 aDocument.StylesToNames(); in LoadStyles()
273 aDocument.UpdStlShtPtrsFrmNms(); in LoadStyles()
395 if (aDocument.IsLinked(i)) in UpdateLinks()
[all …]
H A Ddocsh3.cxx447 aDocument.SetDocOptions( aDocOpt ); in InitOptions()
448 aDocument.SetViewOptions( aViewOpt ); in InitOptions()
459 return aDocument.GetPrinter(); in GetDocumentPrinter()
480 return aDocument.GetRefDevice(); in GetRefDevice()
493 aDocument.SetPrinter( pNewPrinter ); in SetPrinter()
494 aDocument.SetPrintOptions(); in SetPrinter()
709 aDocument.EndChangeTracking(); in CompareDocument()
710 aDocument.StartChangeTracking(); in CompareDocument()
713 pTrack = aDocument.GetChangeTrack(); in CompareDocument()
754 pTrack = aDocument.GetChangeTrack(); in CompareDocument()
[all …]
H A Ddocsh2.cxx77 aDocument.MakeTable(0); in InitNew()
92 aDocument.GetStyleSheetPool()->CreateStandardStyles(); in InitNew()
93 aDocument.UpdStlShtPtrsFrmNms(); in InitNew()
152 ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); in InitItems()
176 !aDocument.IsValidAsianCompression() || !aDocument.IsValidAsianKerning() ) in InitItems()
205 if ( !aDocument.IsValidAsianCompression() ) in InitItems()
211 if ( !aDocument.IsValidAsianKerning() ) in InitItems()
223 ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); in ResetDrawObjectShell()
244 ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); in MakeDrawLayer()
249 aDocument.InitDrawLayer(this); in MakeDrawLayer()
[all …]
H A Ddocsh8.cxx363 ScDatabaseDocUtil::PutData( &aDocument, nCol, nRow, 0, in DBaseImport()
713 aDocument.GetDataStart( nTab, nFirstCol, nFirstRow ); in DBaseExport()
714 aDocument.GetCellArea( nTab, nLastCol, nLastRow ); in DBaseExport()
721 SvNumberFormatter* pNumFmt = aDocument.GetFormatTable(); in DBaseExport()
726 if ( !aDocument.HasStringData( nDocCol, nFirstRow, nTab ) ) in DBaseExport()
743 ScFieldEditEngine aEditEngine( aDocument.GetEditPool() ); in DBaseExport()
888 aDocument.GetCell( nDocCol, nDocRow, nTab, pCell ); in DBaseExport()
910 aDocument.GetString( nDocCol, nDocRow, nTab, aString ); in DBaseExport()
918 aDocument.GetValue( nDocCol, nDocRow, nTab, fVal ); in DBaseExport()
942 aDocument.GetValue( nDocCol, nDocRow, nTab, fVal ); in DBaseExport()
[all …]
/trunk/main/basctl/source/basicide/
H A Dbasides1.cxx97 ScriptDocument aDocument( pCurWin->GetDocument() ); in ExecuteCurrent() local
108 BasicIDE::MarkDocumentModified( aDocument ); in ExecuteCurrent()
120 BasicIDE::MarkDocumentModified( aDocument ); in ExecuteCurrent()
286 if ( aDocument.isDocument() ) in ExecuteGlobal()
381 SetCurLib( aDocument, aLibName ); in ExecuteGlobal()
552 RemoveWindows( aDocument, aLibName, sal_True ); in ExecuteGlobal()
621 SetCurLib( aDocument, aLibName ); in ExecuteGlobal()
798 bDisable = ( !aDocument.isAlive() ) in GetState()
799 … || ( aDocument.isDocument() ? !aDocument.isDocumentModified() : !IsAppBasicModified() ); in GetState()
944 … bModified = aDocument.isDocument() ? aDocument.isDocumentModified() : IsAppBasicModified(); in GetState()
[all …]
H A Dbastype3.cxx53 ScriptDocument aDocument( aDesc.GetDocument() ); in RequestingChilds() local
55 if ( !aDocument.isAlive() ) in RequestingChilds()
63 ImpCreateLibEntries( pEntry, aDocument, eLocation ); in RequestingChilds()
115 ImpCreateLibSubEntries( pEntry, aDocument, aLibName ); in RequestingChilds()
307 aDocument = pBasicDocumentEntry->GetDocument(); in GetEntryDescriptor()
419 ScriptDocument aDocument( aDesc.GetDocument() ); in IsValidEntry() local
430 bIsValid = aDocument.isAlive() in IsValidEntry()
431 && ( aDocument.isApplication() in IsValidEntry()
438 …bIsValid = aDocument.hasLibrary( E_SCRIPTS, aLibName ) || aDocument.hasLibrary( E_DIALOGS, aLibNam… in IsValidEntry()
443 bIsValid = aDocument.hasModule( aLibName, aName ); in IsValidEntry()
[all …]
H A Dmoduldlg.cxx86 ScriptDocument aDocument( aDesc.GetDocument() ); in EditingEntry() local
117 ScriptDocument aDocument( aDesc.GetDocument() ); in EditedEntry() local
119 if ( !aDocument.isValid() ) in EditedEntry()
131 BasicIDE::MarkDocumentModified( aDocument ); in EditedEntry()
624 ScriptDocument aDocument( aDesc.GetDocument() ); in CheckButtons() local
627 sal_Bool bVBAEnabled = aDocument.isInVBAMode(); in CheckButtons()
803 if ( GetSelection( aDocument, aLibName ) ) in NewModule()
816 if ( GetSelection( aDocument, aLibName ) ) in NewDialog()
887 ScriptDocument aDocument( aDesc.GetDocument() ); in DeleteCurrent() local
889 if ( !aDocument.isAlive() ) in DeleteCurrent()
[all …]
H A Dmacrodlg.cxx323 aDocument.setDocumentModified(); in DeleteMacro()
355 ScriptDocument aDocument( aDesc.GetDocument() ); in CreateMacro() local
357 if ( !aDocument.isAlive() ) in CreateMacro()
365 aDocument.getOrCreateLibrary( E_SCRIPTS, aLibName ); in CreateMacro()
375 BasicManager* pBasMgr = aDocument.getBasicManager(); in CreateMacro()
397 aDocument, aBasicBox, aLibName, aModName ); in CreateMacro()
432 ScriptDocument aDocument( aDesc.GetDocument() ); in CheckButtons() local
681 if ( aDocument.isDocument() && !aDocument.allowMacros() ) in IMPL_LINK()
715 ScriptDocument aDocument( aDesc.GetDocument() ); in IMPL_LINK() local
717 if ( !aDocument.isAlive() ) in IMPL_LINK()
[all …]
H A Dbasobj2.cxx64 … Reference< frame::XModel > aDocument( static_cast< frame::XModel* >( pOnlyInDocument_AsXModel ) ); in basicide_choose_macro() local
65 ::rtl::OUString aScriptURL = BasicIDE::ChooseMacro( aDocument, bChooseOnly, aMacroDesc ); in basicide_choose_macro()
228 ScriptDocument aDocument; member
232 :aDocument( ScriptDocument::NoDocument ) in MacroExecutionData()
257 if ( pData->aDocument.isDocument() ) in IMPL_STATIC_LINK()
258 … pUndoGuard.reset( new ::framework::DocumentUndoGuard( pData->aDocument.getDocument() ) ); in IMPL_STATIC_LINK()
325 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in ChooseMacro() local
326 if ( aDocument.isDocument() ) in ChooseMacro()
352 if ( xLimitToDocument != aDocument.getDocument() ) in ChooseMacro()
380 pExecData->aDocument = aDocument; in ChooseMacro()
H A Dbasobj3.cxx138 ScriptDocument aDocument( ScriptDocument::NoDocument ); in CreateMacro() local
148 aDocument = ScriptDocument::getDocumentForBasicManager( pBasMgr ); in CreateMacro()
149 …OSL_ENSURE( aDocument.isValid(), "BasicIDE::CreateMacro: no document for the given BasicManager!" … in CreateMacro()
150 if ( aDocument.isValid() ) in CreateMacro()
154 OSL_VERIFY( aDocument.updateModule( aLibName, aModName, aOUSource ) ); in CreateMacro()
166 if ( aDocument.isAlive() ) in CreateMacro()
167 BasicIDE::MarkDocumentModified( aDocument ); in CreateMacro()
452 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in HandleBasicError() local
453 …OSL_ENSURE( aDocument.isValid(), "BasicIDE::HandleBasicError: no document for the given BasicManag… in HandleBasicError()
454 if ( aDocument.isValid() ) in HandleBasicError()
[all …]
H A Dlocalizationmgr.cxx897 ScriptDocument aDocument( pDlgWin->GetDocument() ); in setControlResourceIDsForNewEditorObject() local
899 if ( !aDocument.isValid() ) in setControlResourceIDsForNewEditorObject()
902 …Reference< container::XNameContainer > xDialogLib( aDocument.getLibrary( E_DIALOGS, rLibName, sal_… in setControlResourceIDsForNewEditorObject()
917 BasicIDE::MarkDocumentModified( aDocument ); in setControlResourceIDsForNewEditorObject()
927 ScriptDocument aDocument( pDlgWin->GetDocument() ); in renameControlResourceIDsForEditorObject() local
929 if ( !aDocument.isValid() ) in renameControlResourceIDsForEditorObject()
955 ScriptDocument aDocument( pDlgWin->GetDocument() ); in deleteControlResourceIDsForDeletedEditorObject() local
957 if ( !aDocument.isValid() ) in deleteControlResourceIDsForDeletedEditorObject()
971 BasicIDE::MarkDocumentModified( aDocument ); in deleteControlResourceIDsForDeletedEditorObject()
1130 ScriptDocument aDocument( pDlgWin->GetDocument() ); in copyResourcesForPastedEditorObject() local
[all …]
H A Dbastype2.cxx655 ScriptDocument aDocument( aDesc.GetDocument() ); in ExpandingHdl() local
656 …OSL_ENSURE( aDocument.isAlive(), "BasicTreeListBox::ExpandingHdl: no document, or document is dead… in ExpandingHdl()
657 if ( aDocument.isAlive() ) in ExpandingHdl()
668 …Reference< script::XLibraryContainer > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS … in ExpandingHdl()
690 ScriptDocument aDocument( aDesc.GetDocument() ); in IsEntryProtected() local
691 …OSL_ENSURE( aDocument.isAlive(), "BasicTreeListBox::IsEntryProtected: no document, or document is … in IsEntryProtected()
692 if ( aDocument.isAlive() ) in IsEntryProtected()
695 …Reference< script::XLibraryContainer > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS … in IsEntryProtected()
819 ScriptDocument aDocument( aDesc.GetDocument() ); in SetCurrentEntry() local
820 OSL_ENSURE( aDocument.isValid(), "BasicTreeListBox::SetCurrentEntry: invalid document!" ); in SetCurrentEntry()
[all …]
H A Diderdll.cxx185 ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); in IMPL_LINK() local
186 …OSL_ENSURE( aDocument.isValid(), "BasicIDEData::GlobalBasicBreakHdl: no document for the basic man… in IMPL_LINK()
187 if ( aDocument.isValid() ) in IMPL_LINK()
190 …Reference< script::XLibraryContainer > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS … in IMPL_LINK()
H A Dbaside2.cxx324 ScriptDocument aDocument( GetDocument() ); in BasicExecute() local
325 if ( aDocument.isDocument() ) in BasicExecute()
327 if ( !aDocument.allowMacros() ) in BasicExecute()
347 if ( aDocument.isInVBAMode() ) in BasicExecute()
356 if ( aDocument.isInVBAMode() ) in BasicExecute()
372 if ( aDocument.isInVBAMode() ) in BasicExecute()
1399 ScriptDocument aDocument( GetDocument() ); in CreateEntryDescriptor() local
1401 LibraryLocation eLocation = aDocument.getLibraryLocation( aLibName ); in CreateEntryDescriptor()
1404 if( xBasic.Is() && aDocument.isInVBAMode() && XModule().Is() ) in CreateEntryDescriptor()
1411 …uno::Reference< container::XNameContainer > xLib = aDocument.getOrCreateLibrary( E_SCRIPTS, aLibNa… in CreateEntryDescriptor()
[all …]
H A Dmoduldl2.cxx140 ScriptDocument aDocument( in Paint() local
147 aDocument.getLibraryContainer( E_SCRIPTS ), UNO_QUERY); in Paint()
149 aDocument.getLibraryContainer( E_DIALOGS ), UNO_QUERY); in Paint()
1527 ScriptDocument aDocument( pEntry->GetDocument() ); in SetCurLib() local
1528 DBG_ASSERT( aDocument.isAlive(), "LibPage::SetCurLib: no document, or document is dead!" ); in SetCurLib()
1529 if ( !aDocument.isAlive() ) in SetCurLib()
1532 if ( aDocument != m_aCurDocument || eLocation != m_eCurLocation ) in SetCurLib()
1534 m_aCurDocument = aDocument; in SetCurLib()
1536 aLibBox.SetDocument( aDocument ); in SetCurLib()
1540 Sequence< ::rtl::OUString > aLibNames = aDocument.getLibraryNames(); in SetCurLib()
[all …]
H A Dbastypes.cxx572 ScriptDocument aDocument( pIDEShell->GetCurDocument() ); in Command() local
574 …Reference< script::XLibraryContainer2 > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS… in Command()
575 …Reference< script::XLibraryContainer2 > xDlgLibContainer( aDocument.getLibraryContainer( E_DIALOGS… in Command()
584 if ( aDocument.isInVBAMode() ) in Command()
587 BasicManager* pBasMgr = aDocument.getBasicManager(); in Command()
/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/
H A DOOoBean.java70 private transient OfficeDocument aDocument; field in OOoBean
401 aDocument = null; in clear()
620 if ( aDocument != null ) in loadFromURL()
623 aDocument.setModified(false); in loadFromURL()
660 if ( xComponent == null && aDocument != null ) in loadFromURL()
665 aDocument.setModified(true); in loadFromURL()
674 aDocument = new OfficeDocument( in loadFromURL()
832 if ( aDocument == null ) in storeToURL()
842 try { aDocument.storeToURL( aURL, aArguments ); } in storeToURL()
1008 return aDocument; in getDocument()
/trunk/main/forms/source/xforms/submission/
H A Dreplace.cxx51 …n::replace(const ::rtl::OUString& aReplace, const Reference<XDocument>& aDocument, const Reference… in replace() argument
83 if (aDocument.is()) { in replace()
91 Reference< XElement > oldRoot = aDocument->getDocumentElement(); in replace()
95 …Reference< XNode > aImportedNode = aDocument->importNode(Reference< XNode >(newRoot, UNO_QUERY_THR… in replace()
96 …Reference< XNode >(aDocument, UNO_QUERY_THROW)->replaceChild(aImportedNode, Reference< XNode >(old… in replace()
/trunk/main/embedserv/source/embed/
H A Ded_ipersiststr.cxx412 uno::Reference< frame::XModel > aDocument( in InitNew() local
415 if ( aDocument.is() ) in InitNew()
417 m_pDocHolder->SetDocument( aDocument ); in InitNew()
547 uno::Reference< frame::XModel > aDocument( in Load() local
550 if ( aDocument.is() ) in Load()
552 m_pDocHolder->SetDocument( aDocument ); in Load()
797 uno::Reference< frame::XModel > aDocument( in Load() local
800 if ( aDocument.is() ) in Load()
802 m_pDocHolder->SetDocument( aDocument, sal_True ); in Load()
/trunk/main/sc/source/ui/inc/
H A Ddocsh.hxx86 ScDocument aDocument; member in ScDocShell
235 ScDocument* GetDocument() { return &aDocument; } in GetDocument()
410 virtual void setDocAccTitle( const String& rTitle ) { aDocument.setDocAccTitle( rTitle ); } in setDocAccTitle()
411 virtual const String getDocAccTitle() const { return aDocument.getDocAccTitle(); } in getDocAccTitle()
412 void setDocReadOnly( sal_Bool b){ aDocument.setDocReadOnly(b);} in setDocReadOnly()
413 sal_Bool getDocReadOnly() const { return aDocument.getDocReadOnly(); } in getDocReadOnly()
/trunk/main/dbaccess/source/ui/dlg/
H A Dgeneralpage.cxx572 DocumentDescriptor aDocument; in GetSelectedDocument() local
574 aDocument = m_aBrowsedDocument; in GetSelectedDocument()
577 aDocument.sURL = m_pLB_DocumentList->GetSelectedDocumentURL(); in GetSelectedDocument()
578 aDocument.sFilter = m_pLB_DocumentList->GetSelectedDocumentFilter(); in GetSelectedDocument()
580 return aDocument; in GetSelectedDocument()
/trunk/main/forms/source/xforms/
H A Dsubmission.cxx648 Reference< XDocument > aDocument; in getInstanceDocument() local
654 aDocument = aList->item(0)->getOwnerDocument(); in getInstanceDocument()
656 return aDocument; in getInstanceDocument()
664 Reference< XDocument > aDocument = aDocBuilder->newDocument(); in createSubmissionDocument() local
665 Reference< XDocumentFragment > aFragment = aDocument->createDocumentFragment(); in createSubmissionDocument()

Completed in 163 milliseconds

12