svdpagv.cxx (f6e50924) svdpagv.cxx (a56bd57b)
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

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

41#include <svx/svdetc.hxx>
42#include <svx/svdobj.hxx>
43#include <svx/svdouno.hxx>
44#include <svx/svdpage.hxx>
45#include <svx/svdview.hxx>
46#include "svx/svditer.hxx"
47#include <svx/svdogrp.hxx>
48#include <svx/svdtypes.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

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

41#include <svx/svdetc.hxx>
42#include <svx/svdobj.hxx>
43#include <svx/svdouno.hxx>
44#include <svx/svdpage.hxx>
45#include <svx/svdview.hxx>
46#include "svx/svditer.hxx"
47#include <svx/svdogrp.hxx>
48#include <svx/svdtypes.hxx>
49
50#include <svx/svdotext.hxx> // fuer PaintOutlinerView
51#include <svx/svdoole2.hxx>
52
53// #110094#
54#include <svx/sdr/contact/objectcontactofpageview.hxx>
55#include <svx/svdogrp.hxx>
56#include <svx/sdr/contact/viewobjectcontactredirector.hxx>
57#include <svx/fmview.hxx>
58

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

316void SdrPageView::InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix)
317{
318 if(IsVisible())
319 {
320 GetView().InvalidateAllWin(rRect, bPlus1Pix);
321 }
322}
323
49#include <svx/svdoole2.hxx>
50
51// #110094#
52#include <svx/sdr/contact/objectcontactofpageview.hxx>
53#include <svx/svdogrp.hxx>
54#include <svx/sdr/contact/viewobjectcontactredirector.hxx>
55#include <svx/fmview.hxx>
56

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

314void SdrPageView::InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix)
315{
316 if(IsVisible())
317 {
318 GetView().InvalidateAllWin(rRect, bPlus1Pix);
319 }
320}
321
324void SdrPageView::PaintOutlinerView(OutputDevice* pOut, const Rectangle& rRect) const
325{
326 if (GetView().pTextEditOutliner==NULL) return;
327 //const SdrObject* pTextObjTmp=GetView().GetTextEditObject();
328 //const SdrTextObj* pText=PTR_CAST(SdrTextObj,pTextObjTmp);
329 //FASTBOOL bTextFrame=pText!=NULL && pText->IsTextFrame();
330 sal_uIntPtr nViewAnz=GetView().pTextEditOutliner->GetViewCount();
331 for (sal_uIntPtr i=0; i<nViewAnz; i++) {
332 OutlinerView* pOLV=GetView().pTextEditOutliner->GetView(i);
333 if (pOLV->GetWindow()==pOut) {
334 GetView().ImpPaintOutlinerView(*pOLV, rRect);
335 return;
336 }
337 }
338}
339
340////////////////////////////////////////////////////////////////////////////////////////////////////
341
342void SdrPageView::PrePaint()
343{
344 const sal_uInt32 nCount(PageWindowCount());
345
346 for(sal_uInt32 a(0); a < nCount; a++)
347 {

--- 782 unchanged lines hidden ---
322////////////////////////////////////////////////////////////////////////////////////////////////////
323
324void SdrPageView::PrePaint()
325{
326 const sal_uInt32 nCount(PageWindowCount());
327
328 for(sal_uInt32 a(0); a < nCount; a++)
329 {

--- 782 unchanged lines hidden ---