LCOV - code coverage report
Current view: top level - libreoffice/sc/source/ui/drawfunc - futext2.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 9 11.1 %
Date: 2012-12-27 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : // TOOLS
      21             : #define _BIGINT_HXX
      22             : #define _CACHESTR_HXX
      23             : #define _SVMEMPOOL_HXX
      24             : #define _CACHESTR_HXX
      25             : #define _SV_MULTISEL_HXX
      26             : 
      27             : //SV
      28             : #define _CONFIG_HXX
      29             : #define _CURSOR_HXX
      30             : #define _HELP_HXX
      31             : #define _SPIN_HXX
      32             : #define _STATUS_HXX
      33             : #define _SOUND_HXX
      34             : 
      35             : //svtools
      36             : #define _SCRWIN_HXX
      37             : #define _RULER_HXX
      38             : #define _STDMENU_HXX
      39             : #define _CTRLTOOL_HXX
      40             : 
      41             : //SVTOOLS
      42             : #define _FILTER_HXX
      43             : #define _SVTABBX_HXX
      44             : 
      45             : //sfxcore.hxx
      46             : #define _SFXGENLINK_HXX
      47             : #define _SFXHINTPOST_HXX
      48             : #define _SFXDOCINF_HXX
      49             : 
      50             : // SFX
      51             : #define _SFXMSGPOOL_HXX
      52             : #define _PASSWD_HXX
      53             : #define _SFXTBXCTRL_HXX
      54             : #define _SFXSTBITEM_HXX
      55             : #define _SFXMNUITEM_HXX
      56             : #define _SFXIMGMGR_HXX
      57             : #define _SFX_MINFITEM_HXX
      58             : #define _SFXEVENT_HXX
      59             : 
      60             : //sfxdlg.hxx
      61             : #define _SFX_DINFDLG_HXX
      62             : #define _SFX_MGETEMPL_HXX
      63             : #define _SFX_TPLPITEM_HXX
      64             : #define _NEWSTYLE_HXX
      65             : 
      66             : //sfxitems.hxx
      67             : #define _SFXFLAGITEM_HXX
      68             : #define _SFXPTITEM_HXX
      69             : #define _SFXRECTITEM_HXX
      70             : #define _SFXITEMITER_HXX
      71             : #define _SFX_WHITER_HXX
      72             : #define _SFXPOOLCACH_HXX
      73             : #define _SFXRNGITEM_HXX
      74             : 
      75             : //------------------------------------------------------------------------
      76             : 
      77             : #include <svx/svdmodel.hxx>
      78             : #include <svx/svdoutl.hxx>
      79             : #include <svx/svdetc.hxx>
      80             : 
      81             : #include "futext.hxx"
      82             : #include "tabvwsh.hxx"
      83             : 
      84             : //------------------------------------------------------------------------
      85             : 
      86           0 : SdrOutliner* FuText::MakeOutliner()
      87             : {
      88           0 :     ScViewData* pViewData = pViewShell->GetViewData();
      89           0 :     SdrOutliner* pOutl = SdrMakeOutliner(OUTLINERMODE_OUTLINEOBJECT, pDrDoc);
      90             : 
      91           0 :     pViewData->UpdateOutlinerFlags(*pOutl);
      92             : 
      93             :     //  Die EditEngine benutzt beim RTF Export (Clipboard / Drag&Drop)
      94             :     //  den MapMode des RefDevices, um die Fontgroesse zu setzen
      95             : 
      96             :     //  #i10426# The ref device isn't set to the EditEngine before SdrBeginTextEdit now,
      97             :     //  so the device must be taken from the model here.
      98           0 :     OutputDevice* pRef = pDrDoc->GetRefDevice();
      99           0 :     if (pRef && pRef != pWindow)
     100           0 :         pRef->SetMapMode( MapMode(MAP_100TH_MM) );
     101             : 
     102           0 :     return pOutl;
     103          15 : }
     104             : 
     105             : 
     106             : 
     107             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10