tablink.cxx (06fcc994) tablink.cxx (8f080d45)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 252 unchanged lines hidden (view full) ---

261 else
262 pUndoDoc->AddUndoTab( nTab, nTab, sal_True, sal_True );
263 bFirst = sal_False;
264 ScRange aRange(0,0,nTab,MAXCOL,MAXROW,nTab);
265 pDoc->CopyToDocument(aRange, IDF_ALL, sal_False, pUndoDoc);
266 pUndoDoc->TransferDrawPage( pDoc, nTab, nTab );
267 pUndoDoc->SetLink( nTab, nMode, aFileName, aFilterName,
268 aOptions, aTabName, GetRefreshDelay() );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 252 unchanged lines hidden (view full) ---

261 else
262 pUndoDoc->AddUndoTab( nTab, nTab, sal_True, sal_True );
263 bFirst = sal_False;
264 ScRange aRange(0,0,nTab,MAXCOL,MAXROW,nTab);
265 pDoc->CopyToDocument(aRange, IDF_ALL, sal_False, pUndoDoc);
266 pUndoDoc->TransferDrawPage( pDoc, nTab, nTab );
267 pUndoDoc->SetLink( nTab, nMode, aFileName, aFilterName,
268 aOptions, aTabName, GetRefreshDelay() );
269 pUndoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) );
269 }
270
271 // Tabellenname einer ExtDocRef anpassen
272
273 if ( bNewUrlName && nMode == SC_LINK_VALUE )
274 {
275 String aName;
276 pDoc->GetName( nTab, aName );

--- 342 unchanged lines hidden ---
270 }
271
272 // Tabellenname einer ExtDocRef anpassen
273
274 if ( bNewUrlName && nMode == SC_LINK_VALUE )
275 {
276 String aName;
277 pDoc->GetName( nTab, aName );

--- 342 unchanged lines hidden ---