Kaydet (Commit) 50228d22 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Unindent.

Change-Id: Ib274ec26768e8a3bd1006601679404799fed986a
üst 024a5d79
...@@ -24,60 +24,53 @@ ...@@ -24,60 +24,53 @@
#include <svx/svdoole2.hxx> #include <svx/svdoole2.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b2dhommatrix.hxx>
// predeclarations
class Graphic; class Graphic;
namespace sdr { namespace contact {
class ViewContactOfSdrOle2Obj : public ViewContactOfSdrRectObj
namespace sdr
{ {
namespace contact private:
// #i123539# allow local buffering of chart data (if chart)
drawinglayer::primitive2d::Primitive2DReference mxChartContent;
protected:
// Create a Object-Specific ViewObjectContact, set ViewContact and
// ObjectContact. Always needs to return something.
virtual ViewObjectContact& CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) SAL_OVERRIDE;
public:
// access to SdrOle2Obj
const SdrOle2Obj& GetOle2Obj() const
{ {
class ViewContactOfSdrOle2Obj : public ViewContactOfSdrRectObj return static_cast<const SdrOle2Obj&>(GetSdrObject());
{ }
private:
// #i123539# allow local buffering of chart data (if chart) /// helper to create transformation from SdrObject
drawinglayer::primitive2d::Primitive2DReference mxChartContent; basegfx::B2DHomMatrix createObjectTransform() const;
protected: // basic constructor, used from SdrObject.
// Create a Object-Specific ViewObjectContact, set ViewContact and explicit ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj);
// ObjectContact. Always needs to return something. virtual ~ViewContactOfSdrOle2Obj();
virtual ViewObjectContact& CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) SAL_OVERRIDE;
// helper for creating a OLE sequence for this object. It takes care od attributes, needed
public: // scaling (e.g. for EmptyPresObj's), the correct graphic and other stuff. It is used from
// access to SdrOle2Obj // createViewIndependentPrimitive2DSequence with false, and with evtl. HighContrast true
const SdrOle2Obj& GetOle2Obj() const // from the VOC which knows that
{ drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequenceWithParameters() const;
return static_cast<const SdrOle2Obj&>(GetSdrObject());
} // #i123539# get rid of buffered chart content (if there) on change
virtual void ActionChanged() SAL_OVERRIDE;
/// helper to create transformation from SdrObject
basegfx::B2DHomMatrix createObjectTransform() const; virtual basegfx::B2DRange getRange( const drawinglayer::geometry::ViewInformation2D& rViewInfo2D ) const SAL_OVERRIDE;
// basic constructor, used from SdrObject. protected:
explicit ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj); // This method is responsible for creating the graphical visualisation data
virtual ~ViewContactOfSdrOle2Obj(); // ONLY based on model data, just wraps to call createPrimitive2DSequenceWithParameters(false)
virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const SAL_OVERRIDE;
// helper for creating a OLE sequence for this object. It takes care od attributes, needed };
// scaling (e.g. for EmptyPresObj's), the correct graphic and other stuff. It is used from
// createViewIndependentPrimitive2DSequence with false, and with evtl. HighContrast true }}
// from the VOC which knows that
drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequenceWithParameters() const;
// #i123539# get rid of buffered chart content (if there) on change
virtual void ActionChanged() SAL_OVERRIDE;
virtual basegfx::B2DRange getRange( const drawinglayer::geometry::ViewInformation2D& rViewInfo2D ) const SAL_OVERRIDE;
protected:
// This method is responsible for creating the graphical visualisation data
// ONLY based on model data, just wraps to call createPrimitive2DSequenceWithParameters(false)
virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const SAL_OVERRIDE;
};
} // end of namespace contact
} // end of namespace sdr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment