LibreOffice Module svx (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
sdr::contact::ViewObjectContact Class Reference

#include <viewobjectcontact.hxx>

Inheritance diagram for sdr::contact::ViewObjectContact:
[legend]
Collaboration diagram for sdr::contact::ViewObjectContact:
[legend]

Public Member Functions

 ViewObjectContact (ObjectContact &rObjectContact, ViewContact &rViewContact)
 
virtual ~ViewObjectContact ()
 
ObjectContactGetObjectContact () const
 
ViewContactGetViewContact () const
 
const basegfx::B2DRangegetObjectRange () const
 
virtual void ActionChanged ()
 
void triggerLazyInvalidate ()
 
bool isAnimated () const
 
void ActionChildInserted (ViewContact &rChild)
 
drawinglayer::primitive2d::Primitive2DContainer const & getPrimitive2DSequence (const DisplayInfo &rDisplayInfo) const
 
void createStructureTag (drawinglayer::primitive2d::Primitive2DContainer &rNewPrimitiveSequence) const
 Check if we need to embed to a StructureTagPrimitive2D, too. More...
 
virtual bool isExportPDFTags () const
 check if getPrimitive2DSequence() should create tag More...
 
virtual bool isPrimitiveVisible (const DisplayInfo &rDisplayInfo) const
 
virtual bool isPrimitiveGhosted (const DisplayInfo &rDisplayInfo) const
 
virtual void getPrimitive2DSequenceHierarchy (DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const
 
void getPrimitive2DSequenceSubHierarchy (DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const
 
const basegfx::B2DVectorgetGridOffset () const
 
void resetGridOffset ()
 

Protected Member Functions

void checkForPrimitive2DAnimations ()
 
virtual void createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const
 
void flushPrimitive2DSequence ()
 

Private Attributes

ObjectContactmrObjectContact
 
ViewContactmrViewContact
 
basegfx::B2DRange maObjectRange
 
drawinglayer::primitive2d::Primitive2DContainer mxPrimitive2DSequence
 
std::unique_ptr< sdr::animation::PrimitiveAnimationmpPrimitiveAnimation
 
basegfx::B2DVector maGridOffset
 
int mnActionChangedCount
 
bool mbLazyInvalidate: 1
 

Friends

class ViewObjectContactRedirector
 

Detailed Description

Definition at line 41 of file viewobjectcontact.hxx.

Constructor & Destructor Documentation

◆ ViewObjectContact()

sdr::contact::ViewObjectContact::ViewObjectContact ( ObjectContact rObjectContact,
ViewContact rViewContact 
)

◆ ~ViewObjectContact()

sdr::contact::ViewObjectContact::~ViewObjectContact ( )
virtual

Member Function Documentation

◆ ActionChanged()

void sdr::contact::ViewObjectContact::ActionChanged ( )
virtual

◆ ActionChildInserted()

void sdr::contact::ViewObjectContact::ActionChildInserted ( ViewContact rChild)

◆ checkForPrimitive2DAnimations()

void sdr::contact::ViewObjectContact::checkForPrimitive2DAnimations ( )
protected

◆ createPrimitive2DSequence()

void sdr::contact::ViewObjectContact::createPrimitive2DSequence ( const DisplayInfo rDisplayInfo,
drawinglayer::primitive2d::Primitive2DDecompositionVisitor rVisitor 
) const
protectedvirtual

◆ createStructureTag()

void sdr::contact::ViewObjectContact::createStructureTag ( drawinglayer::primitive2d::Primitive2DContainer rNewPrimitiveSequence) const

◆ flushPrimitive2DSequence()

void sdr::contact::ViewObjectContact::flushPrimitive2DSequence ( )
inlineprotected

◆ getGridOffset()

const basegfx::B2DVector & sdr::contact::ViewObjectContact::getGridOffset ( ) const

◆ GetObjectContact()

ObjectContact & sdr::contact::ViewObjectContact::GetObjectContact ( ) const
inline

Definition at line 93 of file viewobjectcontact.hxx.

Referenced by ActionChanged(), sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), ActionChildInserted(), checkForPrimitive2DAnimations(), createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfE3dScene::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfGraphic::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageBackground::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageFill::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageGrid::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfPageHelplines::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfUnoControl::createPrimitive2DSequence(), sdr::contact::PagePrimitiveExtractor::createPrimitive2DSequenceForPage(), createStructureTag(), sdr::contact::ViewObjectContactOfUnoControl_Impl::ensureControl(), getGridOffset(), getObjectRange(), sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice(), sdr::contact::PagePrimitiveExtractor::GetPDFExtOutDevData(), getPrimitive2DSequence(), getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfGroup::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfSdrPage::getPrimitive2DSequenceHierarchy(), getPrimitive2DSequenceSubHierarchy(), sdr::contact::ViewContact::GetViewObjectContact(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_getOutputDevice_throw(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_getPageView_nothrow(), sdr::contact::PagePrimitiveExtractor::isDrawModeGray(), sdr::contact::PagePrimitiveExtractor::isDrawModeHighContrast(), isExportPDFTags(), sdr::contact::PagePrimitiveExtractor::isExportTaggedPDF(), sdr::contact::PagePrimitiveExtractor::isMasterPageActive(), sdr::contact::PagePrimitiveExtractor::isOutputToPDFFile(), sdr::contact::PagePrimitiveExtractor::isOutputToPrinter(), sdr::contact::PagePrimitiveExtractor::isOutputToRecordingMetaFile(), sdr::contact::PagePrimitiveExtractor::isPageDecorationActive(), isPrimitiveGhosted(), sdr::contact::ViewObjectContactOfUnoControl::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageSubObject::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageBackground::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageFill::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageShadow::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfOuterPageBorder::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfInnerPageBorder::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageGrid::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageHelplines::isPrimitiveVisible(), sdr::animation::PrimitiveAnimation::prepareNextEvent(), triggerLazyInvalidate(), sdr::contact::PagePrimitiveExtractor::TryToGetOutputDevice(), sdr::contact::PagePrimitiveExtractor::TryToGetSdrPageView(), sdr::contact::ViewObjectContactOfSdrMediaObj::updateMediaWindow(), ViewObjectContactPrimitiveHit(), sdr::animation::PrimitiveAnimation::~PrimitiveAnimation(), and ~ViewObjectContact().

◆ getObjectRange()

const basegfx::B2DRange & sdr::contact::ViewObjectContact::getObjectRange ( ) const

◆ getPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer const & sdr::contact::ViewObjectContact::getPrimitive2DSequence ( const DisplayInfo rDisplayInfo) const

◆ getPrimitive2DSequenceHierarchy()

void sdr::contact::ViewObjectContact::getPrimitive2DSequenceHierarchy ( DisplayInfo rDisplayInfo,
drawinglayer::primitive2d::Primitive2DDecompositionVisitor rVisitor 
) const
virtual

◆ getPrimitive2DSequenceSubHierarchy()

void sdr::contact::ViewObjectContact::getPrimitive2DSequenceSubHierarchy ( DisplayInfo rDisplayInfo,
drawinglayer::primitive2d::Primitive2DDecompositionVisitor rVisitor 
) const

◆ GetViewContact()

ViewContact & sdr::contact::ViewObjectContact::GetViewContact ( ) const
inline

◆ isAnimated()

bool sdr::contact::ViewObjectContact::isAnimated ( ) const
inline

Definition at line 109 of file viewobjectcontact.hxx.

◆ isExportPDFTags()

bool sdr::contact::ViewObjectContact::isExportPDFTags ( ) const
virtual

check if getPrimitive2DSequence() should create tag

Definition at line 348 of file viewobjectcontact.cxx.

References GetObjectContact(), and sdr::contact::ObjectContact::isExportTaggedPDF().

Referenced by createStructureTag().

◆ isPrimitiveGhosted()

bool sdr::contact::ViewObjectContact::isPrimitiveGhosted ( const DisplayInfo rDisplayInfo) const
virtual

◆ isPrimitiveVisible()

bool sdr::contact::ViewObjectContact::isPrimitiveVisible ( const DisplayInfo rDisplayInfo) const
virtual

◆ resetGridOffset()

void sdr::contact::ViewObjectContact::resetGridOffset ( )

◆ triggerLazyInvalidate()

void sdr::contact::ViewObjectContact::triggerLazyInvalidate ( )

Friends And Related Function Documentation

◆ ViewObjectContactRedirector

friend class ViewObjectContactRedirector
friend

Definition at line 71 of file viewobjectcontact.hxx.

Member Data Documentation

◆ maGridOffset

basegfx::B2DVector sdr::contact::ViewObjectContact::maGridOffset
private

Definition at line 60 of file viewobjectcontact.hxx.

Referenced by getGridOffset(), and resetGridOffset().

◆ maObjectRange

basegfx::B2DRange sdr::contact::ViewObjectContact::maObjectRange
private

◆ mbLazyInvalidate

bool sdr::contact::ViewObjectContact::mbLazyInvalidate
private

Definition at line 67 of file viewobjectcontact.hxx.

Referenced by ActionChanged(), and triggerLazyInvalidate().

◆ mnActionChangedCount

int sdr::contact::ViewObjectContact::mnActionChangedCount
private

Definition at line 63 of file viewobjectcontact.hxx.

Referenced by ActionChanged(), and getPrimitive2DSequenceHierarchy().

◆ mpPrimitiveAnimation

std::unique_ptr<sdr::animation::PrimitiveAnimation> sdr::contact::ViewObjectContact::mpPrimitiveAnimation
private

Definition at line 57 of file viewobjectcontact.hxx.

Referenced by checkForPrimitive2DAnimations(), and ~ViewObjectContact().

◆ mrObjectContact

ObjectContact& sdr::contact::ViewObjectContact::mrObjectContact
private

Definition at line 45 of file viewobjectcontact.hxx.

Referenced by ViewObjectContact().

◆ mrViewContact

ViewContact& sdr::contact::ViewObjectContact::mrViewContact
private

◆ mxPrimitive2DSequence

drawinglayer::primitive2d::Primitive2DContainer sdr::contact::ViewObjectContact::mxPrimitive2DSequence
private

The documentation for this class was generated from the following files: