undoblk3.cxx (b3f79822) | undoblk3.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 --- 1662 unchanged lines hidden (view full) --- 1671// pRedoDoc->TransferDrawPage( pDoc, nTab, nTab ); 1672 pRedoDoc->SetLink( nTab, 1673 pDoc->GetLinkMode(nTab), 1674 pDoc->GetLinkDoc(nTab), 1675 pDoc->GetLinkFlt(nTab), 1676 pDoc->GetLinkOpt(nTab), 1677 pDoc->GetLinkTab(nTab), 1678 pDoc->GetLinkRefreshDelay(nTab) ); | 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 --- 1662 unchanged lines hidden (view full) --- 1671// pRedoDoc->TransferDrawPage( pDoc, nTab, nTab ); 1672 pRedoDoc->SetLink( nTab, 1673 pDoc->GetLinkMode(nTab), 1674 pDoc->GetLinkDoc(nTab), 1675 pDoc->GetLinkFlt(nTab), 1676 pDoc->GetLinkOpt(nTab), 1677 pDoc->GetLinkTab(nTab), 1678 pDoc->GetLinkRefreshDelay(nTab) ); |
1679 pRedoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); |
|
1679 } 1680 1681 pDoc->DeleteAreaTab( aRange,IDF_ALL ); 1682 pUndoDoc->CopyToDocument( aRange, IDF_ALL, sal_False, pDoc ); 1683// pDoc->TransferDrawPage( pUndoDoc, nTab, nTab ); 1684 pDoc->SetLink( nTab, pUndoDoc->GetLinkMode(nTab), pUndoDoc->GetLinkDoc(nTab), 1685 pUndoDoc->GetLinkFlt(nTab), pUndoDoc->GetLinkOpt(nTab), 1686 pUndoDoc->GetLinkTab(nTab), 1687 pUndoDoc->GetLinkRefreshDelay(nTab) ); | 1680 } 1681 1682 pDoc->DeleteAreaTab( aRange,IDF_ALL ); 1683 pUndoDoc->CopyToDocument( aRange, IDF_ALL, sal_False, pDoc ); 1684// pDoc->TransferDrawPage( pUndoDoc, nTab, nTab ); 1685 pDoc->SetLink( nTab, pUndoDoc->GetLinkMode(nTab), pUndoDoc->GetLinkDoc(nTab), 1686 pUndoDoc->GetLinkFlt(nTab), pUndoDoc->GetLinkOpt(nTab), 1687 pUndoDoc->GetLinkTab(nTab), 1688 pUndoDoc->GetLinkRefreshDelay(nTab) ); |
1689 pDoc->SetTabBgColor( nTab, pUndoDoc->GetTabBgColor(nTab) ); |
|
1688 } 1689 1690 pDocShell->PostPaintGridAll(); | 1690 } 1691 1692 pDocShell->PostPaintGridAll(); |
1693 pDocShell->PostPaintExtras(); |
|
1691 1692 EndUndo(); 1693} 1694 1695 1696//---------------------------------------------------------------------------- 1697 1698void __EXPORT ScUndoRefreshLink::Redo() --- 14 unchanged lines hidden (view full) --- 1713// pDoc->TransferDrawPage( pRedoDoc, nTab, nTab ); 1714 pDoc->SetLink( nTab, 1715 pRedoDoc->GetLinkMode(nTab), 1716 pRedoDoc->GetLinkDoc(nTab), 1717 pRedoDoc->GetLinkFlt(nTab), 1718 pRedoDoc->GetLinkOpt(nTab), 1719 pRedoDoc->GetLinkTab(nTab), 1720 pRedoDoc->GetLinkRefreshDelay(nTab) ); | 1694 1695 EndUndo(); 1696} 1697 1698 1699//---------------------------------------------------------------------------- 1700 1701void __EXPORT ScUndoRefreshLink::Redo() --- 14 unchanged lines hidden (view full) --- 1716// pDoc->TransferDrawPage( pRedoDoc, nTab, nTab ); 1717 pDoc->SetLink( nTab, 1718 pRedoDoc->GetLinkMode(nTab), 1719 pRedoDoc->GetLinkDoc(nTab), 1720 pRedoDoc->GetLinkFlt(nTab), 1721 pRedoDoc->GetLinkOpt(nTab), 1722 pRedoDoc->GetLinkTab(nTab), 1723 pRedoDoc->GetLinkRefreshDelay(nTab) ); |
1724 pDoc->SetTabBgColor( nTab, pRedoDoc->GetTabBgColor(nTab) ); |
|
1721 } 1722 1723 pDocShell->PostPaintGridAll(); | 1725 } 1726 1727 pDocShell->PostPaintGridAll(); |
1728 pDocShell->PostPaintExtras(); |
|
1724 1725 EndUndo(); 1726} 1727 1728 1729//---------------------------------------------------------------------------- 1730 1731void __EXPORT ScUndoRefreshLink::Repeat(SfxRepeatTarget& /* rTarget */) --- 385 unchanged lines hidden --- | 1729 1730 EndUndo(); 1731} 1732 1733 1734//---------------------------------------------------------------------------- 1735 1736void __EXPORT ScUndoRefreshLink::Repeat(SfxRepeatTarget& /* rTarget */) --- 385 unchanged lines hidden --- |