svdedxv.cxx (1cd65da9) svdedxv.cxx (a7185797)
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

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

59#include "svx/svdglob.hxx"
60#include "svx/globl3d.hxx"
61#include <editeng/outliner.hxx>
62#include <editeng/adjitem.hxx>
63#include <svtools/colorcfg.hxx>
64#include <vcl/svapp.hxx>
65#include <svx/sdrpaintwindow.hxx>
66#include <svx/sdrundomanager.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

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

59#include "svx/svdglob.hxx"
60#include "svx/globl3d.hxx"
61#include <editeng/outliner.hxx>
62#include <editeng/adjitem.hxx>
63#include <svtools/colorcfg.hxx>
64#include <vcl/svapp.hxx>
65#include <svx/sdrpaintwindow.hxx>
66#include <svx/sdrundomanager.hxx>
67#include <svx/sdr/contact/objectcontacttools.hxx>
68#include <svx/sdr/overlay/overlaytools.hxx>
67#include <svx/sdr/overlay/overlaytools.hxx>
69#include <drawinglayer/processor2d/baseprocessor2d.hxx>
68#include <drawinglayer/processor2d/processor2dtools.hxx>
70
71////////////////////////////////////////////////////////////////////////////////////////////////////
72
73void SdrObjEditView::ImpClearVars()
74{
75 bQuickTextEditMode=sal_True;
76 bMacroMode=sal_True;
77 pTextEditOutliner=NULL;

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

354 // #43095#
355 pTextEditOutliner->ClearModifyFlag();
356 }
357
358 if(bTextFrame && !bFitToSize)
359 {
360 // completely reworked to use primitives; this ensures same look and functionality
361 const drawinglayer::geometry::ViewInformation2D aViewInformation2D;
69
70////////////////////////////////////////////////////////////////////////////////////////////////////
71
72void SdrObjEditView::ImpClearVars()
73{
74 bQuickTextEditMode=sal_True;
75 bMacroMode=sal_True;
76 pTextEditOutliner=NULL;

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

353 // #43095#
354 pTextEditOutliner->ClearModifyFlag();
355 }
356
357 if(bTextFrame && !bFitToSize)
358 {
359 // completely reworked to use primitives; this ensures same look and functionality
360 const drawinglayer::geometry::ViewInformation2D aViewInformation2D;
362 drawinglayer::processor2d::BaseProcessor2D* pProcessor = ::sdr::contact::createBaseProcessor2DFromOutputDevice(
361 drawinglayer::processor2d::BaseProcessor2D* pProcessor = drawinglayer::processor2d::createProcessor2DFromOutputDevice(
363 rTargetDevice,
364 aViewInformation2D);
365
366 if(pProcessor)
367 {
368 const bool bMerk(rTargetDevice.IsMapModeEnabled());
369 const basegfx::B2DRange aRange(aPixRect.Left(), aPixRect.Top(), aPixRect.Right(), aPixRect.Bottom());
370 const SvtOptionsDrawinglayer aSvtOptionsDrawinglayer;

--- 1888 unchanged lines hidden ---
362 rTargetDevice,
363 aViewInformation2D);
364
365 if(pProcessor)
366 {
367 const bool bMerk(rTargetDevice.IsMapModeEnabled());
368 const basegfx::B2DRange aRange(aPixRect.Left(), aPixRect.Top(), aPixRect.Right(), aPixRect.Bottom());
369 const SvtOptionsDrawinglayer aSvtOptionsDrawinglayer;

--- 1888 unchanged lines hidden ---