LibreOffice Module svx (master) 1
|
#include <viewobjectcontact.hxx>
Protected Member Functions | |
void | checkForPrimitive2DAnimations () |
virtual void | createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const |
void | flushPrimitive2DSequence () |
Friends | |
class | ViewObjectContactRedirector |
Definition at line 41 of file viewobjectcontact.hxx.
sdr::contact::ViewObjectContact::ViewObjectContact | ( | ObjectContact & | rObjectContact, |
ViewContact & | rViewContact | ||
) |
Definition at line 154 of file viewobjectcontact.cxx.
References sdr::contact::ObjectContact::AddViewObjectContact(), sdr::contact::ViewContact::AddViewObjectContact(), mrObjectContact, and mrViewContact.
|
virtual |
Definition at line 168 of file viewobjectcontact.cxx.
References GetObjectContact(), getObjectRange(), GetViewContact(), sdr::contact::ObjectContact::InvalidatePartOfView(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), maObjectRange, mpPrimitiveAnimation, sdr::contact::ObjectContact::RemoveViewObjectContact(), and sdr::contact::ViewContact::RemoveViewObjectContact().
|
virtual |
Reimplemented in sdr::contact::ViewObjectContactOfSdrMediaObj, and sdr::contact::ViewObjectContactOfUnoControl.
Definition at line 222 of file viewobjectcontact.cxx.
References GetObjectContact(), getObjectRange(), sdr::contact::ObjectContact::InvalidatePartOfView(), maObjectRange, mbLazyInvalidate, mnActionChangedCount, mxPrimitive2DSequence, basegfx::Range2D< typename TYPE, typename TRAITS >::reset(), resetGridOffset(), and sdr::contact::ObjectContact::setLazyInvalidate().
Referenced by sdr::contact::ViewContact::ActionChanged(), sdr::contact::ViewObjectContactOfSdrMediaObj::ActionChanged(), sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), ActionChildInserted(), sdr::contact::PagePrimitiveExtractor::InvalidatePartOfView(), and sdr::animation::PrimitiveAnimation::Trigger().
void sdr::contact::ViewObjectContact::ActionChildInserted | ( | ViewContact & | rChild | ) |
Definition at line 272 of file viewobjectcontact.cxx.
References ActionChanged(), GetObjectContact(), and sdr::contact::ViewContact::GetViewObjectContact().
Referenced by sdr::contact::ViewContact::ActionChildInserted().
|
protected |
Definition at line 283 of file viewobjectcontact.cxx.
References GetObjectContact(), mpPrimitiveAnimation, and mxPrimitive2DSequence.
Referenced by getPrimitive2DSequence().
|
protectedvirtual |
Reimplemented in sdr::contact::ViewObjectContactOfE3d, sdr::contact::ViewObjectContactOfE3dScene, sdr::contact::ViewObjectContactOfGraphic, sdr::contact::ViewObjectContactOfPageObj, sdr::contact::ViewObjectContactOfSdrOle2Obj, sdr::contact::ViewObjectContactOfPageBackground, sdr::contact::ViewObjectContactOfPageFill, sdr::contact::ViewObjectContactOfPageGrid, sdr::contact::ViewObjectContactOfPageHelplines, sdr::contact::ViewObjectContactOfUnoControl, and sdr::contact::UnoControlPrintOrPreviewContact.
Definition at line 309 of file viewobjectcontact.cxx.
References drawinglayer::primitive2d::Primitive2DContainer::append(), GetObjectContact(), GetViewContact(), sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer(), isPrimitiveGhosted(), and drawinglayer::primitive2d::Primitive2DDecompositionVisitor::visit().
Referenced by sdr::contact::ViewObjectContactOfGraphic::createPrimitive2DSequence(), sdr::contact::ViewObjectContactRedirector::createRedirectedPrimitive2DSequence(), and getPrimitive2DSequence().
void sdr::contact::ViewObjectContact::createStructureTag | ( | drawinglayer::primitive2d::Primitive2DContainer & | rNewPrimitiveSequence | ) | const |
Check if we need to embed to a StructureTagPrimitive2D, too.
This was done at ImplRenderPaintProc::createRedirectedPrimitive2DSequence before
Definition at line 356 of file viewobjectcontact.cxx.
References vcl::PDFWriter::Annot, Default, vcl::PDFWriter::Division, DynCastSdrTextObj(), vcl::PDFWriter::Figure, GetObjectContact(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrObject::getParentSdrObjectFromSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrObject::GetUserCall(), Graphic, Group, SdrTextObj::HasText(), vcl::PDFWriter::Heading, SdrObject::IsDecorative(), isExportPDFTags(), SdrPage::IsMasterPage(), Media, mrViewContact, vcl::PDFWriter::NonStructElement, OutlineText, vcl::PDFWriter::Table, Table, TitleText, and sdr::contact::ViewContact::TryToGetSdrObject().
Referenced by getPrimitive2DSequence(), and sdr::contact::ViewObjectContactOfGroup::getPrimitive2DSequenceHierarchy().
|
inlineprotected |
Definition at line 85 of file viewobjectcontact.hxx.
Referenced by sdr::contact::ViewObjectContactOfUnoControl::impl_onControlChangedOrModified().
const basegfx::B2DVector & sdr::contact::ViewObjectContact::getGridOffset | ( | ) | const |
Definition at line 580 of file viewobjectcontact.cxx.
References sdr::contact::ObjectContact::calculateGridOffsetForViewOjectContact(), GetObjectContact(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), and maGridOffset.
Referenced by SdrMarkView::getPossibleGridOffsetForSdrObject(), getPrimitive2DSequence(), and sdr::contact::ViewObjectContactOfUnoControl::isPrimitiveVisible().
|
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().
const basegfx::B2DRange & sdr::contact::ViewObjectContact::getObjectRange | ( | ) | const |
Definition at line 195 of file viewobjectcontact.cxx.
References drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), GetObjectContact(), getPrimitive2DSequence(), sdr::contact::ViewContact::getRange(), GetViewContact(), sdr::contact::ObjectContact::getViewInformation2D(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), and maObjectRange.
Referenced by ActionChanged(), triggerLazyInvalidate(), sdr::contact::ViewObjectContactOfSdrMediaObj::updateMediaWindow(), ViewObjectContactPrimitiveHit(), and ~ViewObjectContact().
drawinglayer::primitive2d::Primitive2DContainer const & sdr::contact::ViewObjectContact::getPrimitive2DSequence | ( | const DisplayInfo & | rDisplayInfo | ) | const |
Definition at line 446 of file viewobjectcontact.cxx.
References checkForPrimitive2DAnimations(), createPrimitive2DSequence(), sdr::contact::ViewObjectContactRedirector::createRedirectedPrimitive2DSequence(), createStructureTag(), basegfx::utils::createTranslateB2DHomMatrix(), drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), getGridOffset(), GetObjectContact(), SdrObject::getSdrModelFromSdrObject(), sdr::contact::ObjectContact::GetViewObjectContactRedirector(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), SdrModel::IsVOCInvalidationIsReliable(), maObjectRange, mrViewContact, mxPrimitive2DSequence, and sdr::contact::ViewContact::TryToGetSdrObject().
Referenced by getObjectRange(), getPrimitive2DSequenceHierarchy(), and ViewObjectContactPrimitiveHit().
|
virtual |
Reimplemented in sdr::contact::ViewObjectContactOfE3dScene, sdr::contact::ViewObjectContactOfGroup, sdr::contact::ViewObjectContactOfMasterPageDescriptor, sdr::contact::ViewObjectContactOfPageHierarchy, and sdr::contact::ViewObjectContactOfSdrPage.
Definition at line 533 of file viewobjectcontact.cxx.
References bVisible, drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), GetObjectContact(), getPrimitive2DSequence(), drawinglayer::geometry::ViewInformation2D::getViewport(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), isPrimitiveVisible(), mnActionChangedCount, mxPrimitive2DSequence, basegfx::Range2D< typename TYPE, typename TRAITS >::overlaps(), and drawinglayer::primitive2d::Primitive2DDecompositionVisitor::visit().
Referenced by sdr::contact::PagePrimitiveExtractor::createPrimitive2DSequenceForPage(), sdr::contact::ObjectContactOfPageView::DoProcessDisplay(), sdr::contact::ViewObjectContactOfE3dScene::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfGroup::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), getPrimitive2DSequenceSubHierarchy(), and sdr::contact::ObjectContactOfObjListPainter::ProcessDisplay().
void sdr::contact::ViewObjectContact::getPrimitive2DSequenceSubHierarchy | ( | DisplayInfo & | rDisplayInfo, |
drawinglayer::primitive2d::Primitive2DDecompositionVisitor & | rVisitor | ||
) | const |
Definition at line 565 of file viewobjectcontact.cxx.
References a, GetObjectContact(), getPrimitive2DSequenceHierarchy(), and GetViewContact().
Referenced by sdr::contact::ViewObjectContactOfGroup::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfPageHierarchy::getPrimitive2DSequenceHierarchy(), and sdr::contact::ViewObjectContactOfSdrPage::getPrimitive2DSequenceHierarchy().
|
inline |
Definition at line 96 of file viewobjectcontact.hxx.
Referenced by createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfE3d::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfE3dScene::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfGraphic::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfSdrMediaObj::executeMediaItem(), getObjectRange(), sdr::contact::ViewObjectContactOfPageSubObject::getPage(), sdr::contact::ViewObjectContactOfGroup::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfMasterPageDescriptor::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfPageHierarchy::getPrimitive2DSequenceHierarchy(), sdr::contact::ViewObjectContactOfSdrPage::getPrimitive2DSequenceHierarchy(), getPrimitive2DSequenceSubHierarchy(), sdr::contact::ViewObjectContactOfE3d::getPrimitive3DContainer(), sdr::contact::ViewObjectContactOfSdrObj::getSdrObject(), sdr::contact::ViewObjectContactOfUnoControl_Impl::getUnoObject(), sdr::contact::ViewObjectContactOfUnoControl_Impl::getViewContact(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageGrid::isPrimitiveVisible(), sdr::contact::ViewObjectContactOfPageHelplines::isPrimitiveVisible(), and ~ViewObjectContact().
|
inline |
Definition at line 109 of file viewobjectcontact.hxx.
|
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().
|
virtual |
Reimplemented in sdr::contact::ViewObjectContactOfPageSubObject.
Definition at line 527 of file viewobjectcontact.cxx.
References GetObjectContact(), and sdr::contact::DisplayInfo::IsGhostedDrawModeActive().
Referenced by createPrimitive2DSequence(), sdr::contact::ViewObjectContactOfE3dScene::createPrimitive2DSequence(), and sdr::contact::ViewObjectContactOfE3d::getPrimitive3DContainer().
|
virtual |
Reimplemented in sdr::contact::ViewObjectContactOfUnoControl, sdr::contact::ViewObjectContactOfSdrObj, sdr::contact::ViewObjectContactOfMasterPageDescriptor, sdr::contact::ViewObjectContactOfPageSubObject, sdr::contact::ViewObjectContactOfPageBackground, sdr::contact::ViewObjectContactOfMasterPage, sdr::contact::ViewObjectContactOfPageFill, sdr::contact::ViewObjectContactOfPageShadow, sdr::contact::ViewObjectContactOfOuterPageBorder, sdr::contact::ViewObjectContactOfInnerPageBorder, sdr::contact::ViewObjectContactOfPageGrid, and sdr::contact::ViewObjectContactOfPageHelplines.
Definition at line 521 of file viewobjectcontact.cxx.
Referenced by getPrimitive2DSequenceHierarchy().
void sdr::contact::ViewObjectContact::resetGridOffset | ( | ) |
Definition at line 591 of file viewobjectcontact.cxx.
References maGridOffset, maObjectRange, mxPrimitive2DSequence, basegfx::Range2D< typename TYPE, typename TRAITS >::reset(), basegfx::Tuple2D< typename TYPE >::setX(), and basegfx::Tuple2D< typename TYPE >::setY().
Referenced by ActionChanged(), and sdr::contact::ObjectContact::resetAllGridOffsets().
void sdr::contact::ViewObjectContact::triggerLazyInvalidate | ( | ) |
Definition at line 253 of file viewobjectcontact.cxx.
References GetObjectContact(), getObjectRange(), sdr::contact::ObjectContact::InvalidatePartOfView(), maObjectRange, and mbLazyInvalidate.
Referenced by sdr::contact::ObjectContactOfPageView::Invoke(), sdr::contact::PagePrimitiveExtractor::Invoke(), and sdr::contact::ObjectContact::setLazyInvalidate().
|
friend |
Definition at line 71 of file viewobjectcontact.hxx.
|
private |
Definition at line 60 of file viewobjectcontact.hxx.
Referenced by getGridOffset(), and resetGridOffset().
|
private |
Definition at line 49 of file viewobjectcontact.hxx.
Referenced by ActionChanged(), getObjectRange(), getPrimitive2DSequence(), resetGridOffset(), triggerLazyInvalidate(), and ~ViewObjectContact().
|
private |
Definition at line 67 of file viewobjectcontact.hxx.
Referenced by ActionChanged(), and triggerLazyInvalidate().
|
private |
Definition at line 63 of file viewobjectcontact.hxx.
Referenced by ActionChanged(), and getPrimitive2DSequenceHierarchy().
|
private |
Definition at line 57 of file viewobjectcontact.hxx.
Referenced by checkForPrimitive2DAnimations(), and ~ViewObjectContact().
|
private |
Definition at line 45 of file viewobjectcontact.hxx.
Referenced by ViewObjectContact().
|
private |
Definition at line 46 of file viewobjectcontact.hxx.
Referenced by createStructureTag(), getPrimitive2DSequence(), and ViewObjectContact().
|
private |
Definition at line 54 of file viewobjectcontact.hxx.
Referenced by ActionChanged(), checkForPrimitive2DAnimations(), getPrimitive2DSequence(), getPrimitive2DSequenceHierarchy(), and resetGridOffset().