tpline.cxx (3a5971bb) | tpline.cxx (3c42630d) |
---|---|
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 --- 1004 unchanged lines hidden (view full) --- 1013 1014 SdrModel* pModel = new SdrModel(NULL, NULL, LOADREFCOUNTS); 1015 pModel->GetItemPool().FreezeIdRanges(); 1016 SdrPage* pPage = new SdrPage( *pModel, sal_False ); 1017 pPage->SetSize(Size(1000,1000)); 1018 pModel->InsertPage( pPage, 0 ); 1019 SdrView* pView = new SdrView( pModel, &aVDev ); 1020 pView->hideMarkHandles(); | 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 --- 1004 unchanged lines hidden (view full) --- 1013 1014 SdrModel* pModel = new SdrModel(NULL, NULL, LOADREFCOUNTS); 1015 pModel->GetItemPool().FreezeIdRanges(); 1016 SdrPage* pPage = new SdrPage( *pModel, sal_False ); 1017 pPage->SetSize(Size(1000,1000)); 1018 pModel->InsertPage( pPage, 0 ); 1019 SdrView* pView = new SdrView( pModel, &aVDev ); 1020 pView->hideMarkHandles(); |
1021 SdrPageView* pPageView = pView->ShowSdrPage(pPage); 1022// SdrPageView* pPageView = pView->ShowSdrPage(pPage, Point()); | 1021 /*SdrPageView* pPageView = */pView->ShowSdrPage(pPage); |
1023 SdrObject *pObj=NULL; 1024 long nSymTmp=nSymType; 1025 if(pSymbolList) 1026 { 1027 if(pSymbolList->GetObjCount()) 1028 { 1029 nSymTmp=nSymTmp%pSymbolList->GetObjCount(); //Liste wird als cyclisch betrachtet!!! 1030 pObj=pSymbolList->GetObj(nSymTmp); --- 713 unchanged lines hidden (view full) --- 1744 pModel->GetItemPool().FreezeIdRanges(); 1745 // Page 1746 SdrPage* pPage = new SdrPage( *pModel, sal_False ); 1747 pPage->SetSize(Size(1000,1000)); 1748 pModel->InsertPage( pPage, 0 ); 1749 // 3D View 1750 SdrView* pView = new SdrView( pModel, &aVDev ); 1751 pView->hideMarkHandles(); | 1022 SdrObject *pObj=NULL; 1023 long nSymTmp=nSymType; 1024 if(pSymbolList) 1025 { 1026 if(pSymbolList->GetObjCount()) 1027 { 1028 nSymTmp=nSymTmp%pSymbolList->GetObjCount(); //Liste wird als cyclisch betrachtet!!! 1029 pObj=pSymbolList->GetObj(nSymTmp); --- 713 unchanged lines hidden (view full) --- 1743 pModel->GetItemPool().FreezeIdRanges(); 1744 // Page 1745 SdrPage* pPage = new SdrPage( *pModel, sal_False ); 1746 pPage->SetSize(Size(1000,1000)); 1747 pModel->InsertPage( pPage, 0 ); 1748 // 3D View 1749 SdrView* pView = new SdrView( pModel, &aVDev ); 1750 pView->hideMarkHandles(); |
1752// SdrPageView* pPageView = pView->ShowSdrPage(pPage, Point()); 1753 SdrPageView* pPageView = pView->ShowSdrPage(pPage); | 1751 /*SdrPageView* pPageView = */pView->ShowSdrPage(pPage); |
1754 1755 PopupMenu* pPopup = new PopupMenu; 1756 String aEmptyStr; 1757 1758 // Generate invisible square to give all symbols a 1759 // bitmap size, which is indepedent from specific glyph 1760 SdrObject *pInvisibleSquare=pSymbolList->GetObj(0); 1761 pInvisibleSquare=pInvisibleSquare->Clone(); --- 308 unchanged lines hidden --- | 1752 1753 PopupMenu* pPopup = new PopupMenu; 1754 String aEmptyStr; 1755 1756 // Generate invisible square to give all symbols a 1757 // bitmap size, which is indepedent from specific glyph 1758 SdrObject *pInvisibleSquare=pSymbolList->GetObj(0); 1759 pInvisibleSquare=pInvisibleSquare->Clone(); --- 308 unchanged lines hidden --- |