LibreOffice Module svx (master)
1
svx
inc
sdr
contact
viewcontactofpageobj.hxx
Go to the documentation of this file.
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
#pragma once
21
22
#include <
svx/sdr/contact/viewcontactofsdrobj.hxx
>
23
#include <
svx/svdopage.hxx
>
24
25
class
SdrPage
;
26
27
namespace
sdr::contact
28
{
29
class
ViewContactOfPageObj
final :
public
ViewContactOfSdrObj
30
{
31
// Create an Object-Specific ViewObjectContact, set ViewContact and
32
// ObjectContact. Always needs to return something.
33
virtual
ViewObjectContact
&
34
CreateObjectSpecificViewObjectContact
(
ObjectContact
& rObjectContact)
override
;
35
36
// create graphical visualisation data
37
virtual
void
createViewIndependentPrimitive2DSequence
(
38
drawinglayer::primitive2d::Primitive2DDecompositionVisitor
& rVisitor)
const override
;
39
40
public
:
41
// basic constructor, used from SdrObject.
42
explicit
ViewContactOfPageObj
(
SdrPageObj
& rPageObj);
43
virtual
~ViewContactOfPageObj
()
override
;
44
45
// #WIP# React on changes of the object of this ViewContact
46
virtual
void
ActionChanged
()
override
;
47
48
// access to SdrObject
49
const
SdrPageObj
&
GetPageObj
()
const
{
return
static_cast<
const
SdrPageObj
&
>
(
GetSdrObject
()); }
50
};
51
}
52
53
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SdrPageObj
Definition:
svdopage.hxx:27
SdrPage
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
Definition:
svdpage.hxx:379
drawinglayer::primitive2d::Primitive2DDecompositionVisitor
sdr::contact::ObjectContact
Definition:
objectcontact.hxx:49
sdr::contact::ViewContactOfPageObj
Definition:
viewcontactofpageobj.hxx:30
sdr::contact::ViewContactOfPageObj::createViewIndependentPrimitive2DSequence
virtual void createViewIndependentPrimitive2DSequence(drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override
Definition:
viewcontactofpageobj.cxx:62
sdr::contact::ViewContactOfPageObj::ActionChanged
virtual void ActionChanged() override
Definition:
viewcontactofpageobj.cxx:45
sdr::contact::ViewContactOfPageObj::GetPageObj
const SdrPageObj & GetPageObj() const
Definition:
viewcontactofpageobj.hxx:49
sdr::contact::ViewContactOfPageObj::~ViewContactOfPageObj
virtual ~ViewContactOfPageObj() override
Definition:
viewcontactofpageobj.cxx:42
sdr::contact::ViewContactOfPageObj::CreateObjectSpecificViewObjectContact
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
Definition:
viewcontactofpageobj.cxx:31
sdr::contact::ViewContactOfPageObj::ViewContactOfPageObj
ViewContactOfPageObj(SdrPageObj &rPageObj)
Definition:
viewcontactofpageobj.cxx:37
sdr::contact::ViewContactOfSdrObj
Definition:
viewcontactofsdrobj.hxx:32
sdr::contact::ViewContactOfSdrObj::GetSdrObject
SdrObject & GetSdrObject() const
Definition:
viewcontactofsdrobj.hxx:44
sdr::contact::ViewObjectContact
Definition:
viewobjectcontact.hxx:42
sdr::contact
svdopage.hxx
viewcontactofsdrobj.hxx
Generated on Sun Jul 30 2023 04:27:43 for LibreOffice Module svx (master) by
1.9.3