fuinsert.cxx (77bc49c4) | fuinsert.cxx (6f0b96b4) |
---|---|
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 --- 57 unchanged lines hidden (view full) --- 66#endif 67#include <sot/storage.hxx> 68#include <sot/formats.hxx> 69#include <svx/svdpagv.hxx> 70#ifndef _MSGBOX_HXX //autogen 71#include <vcl/msgbox.hxx> 72#endif 73#include <sfx2/opengrf.hxx> | 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 --- 57 unchanged lines hidden (view full) --- 66#endif 67#include <sot/storage.hxx> 68#include <sot/formats.hxx> 69#include <svx/svdpagv.hxx> 70#ifndef _MSGBOX_HXX //autogen 71#include <vcl/msgbox.hxx> 72#endif 73#include <sfx2/opengrf.hxx> |
74 | |
75#include <sfx2/viewfrm.hxx> | 74#include <sfx2/viewfrm.hxx> |
75#include <svx/charthelper.hxx> |
|
76 77#include "app.hrc" 78#include "misc.hxx" 79#include "sdresid.hxx" 80#include "View.hxx" 81#include "app.hxx" 82#include "Window.hxx" 83#include "drawview.hxx" --- 305 unchanged lines hidden (view full) --- 389 //HMHmpView->HideMarkHdl(); 390 pOleObj->SetLogicRect(aRect); 391 Size aTmp( OutputDevice::LogicToLogic( aRect.GetSize(), MAP_100TH_MM, aUnit ) ); 392 awt::Size aVisualSize; 393 aVisualSize.Width = aTmp.Width(); 394 aVisualSize.Height = aTmp.Height(); 395 xObj->setVisualAreaSize( nAspect, aVisualSize ); 396 mpViewShell->ActivateObject(pOleObj, SVVERB_SHOW); | 76 77#include "app.hrc" 78#include "misc.hxx" 79#include "sdresid.hxx" 80#include "View.hxx" 81#include "app.hxx" 82#include "Window.hxx" 83#include "drawview.hxx" --- 305 unchanged lines hidden (view full) --- 389 //HMHmpView->HideMarkHdl(); 390 pOleObj->SetLogicRect(aRect); 391 Size aTmp( OutputDevice::LogicToLogic( aRect.GetSize(), MAP_100TH_MM, aUnit ) ); 392 awt::Size aVisualSize; 393 aVisualSize.Width = aTmp.Width(); 394 aVisualSize.Height = aTmp.Height(); 395 xObj->setVisualAreaSize( nAspect, aVisualSize ); 396 mpViewShell->ActivateObject(pOleObj, SVVERB_SHOW); |
397 398 if (nSlotId == SID_INSERT_DIAGRAM) 399 { 400 // note, that this call modified the chart model which 401 // results in a change notification. So call this after 402 // everything else is finished. 403 ChartHelper::AdaptDefaultsForChart( xObj ); 404 } |
|
397 } 398 } 399 else 400 { 401 ErrorHandler::HandleError(* new StringErrorInfo(ERRCODE_SFX_OLEGENERAL, 402 aEmptyStr ) ); 403 } 404 } --- 364 unchanged lines hidden --- | 405 } 406 } 407 else 408 { 409 ErrorHandler::HandleError(* new StringErrorInfo(ERRCODE_SFX_OLEGENERAL, 410 aEmptyStr ) ); 411 } 412 } --- 364 unchanged lines hidden --- |