22#include <com/sun/star/io/XInputStream.hpp>
23#include <com/sun/star/graphic/XGraphic.hpp>
24#include <com/sun/star/drawing/BarCode.hpp>
33namespace sdr::contact {
class ViewObjectContactOfGraphic; }
81 void ImpSetAttrToGrafInfo();
108 void ImpSetLinkedGraphic(
const Graphic& rGraphic );
109 void onGraphicChanged();
128 const GraphicObject& GetGraphicObject(
bool bForceSwapIn =
false)
const;
131 void NbcSetGraphic(
const Graphic& rGrf);
132 void SetGraphic(
const Graphic& rGrf);
133 const Graphic& GetGraphic()
const;
142 bool IsAnimated()
const;
145 MapMode GetGrafPrefMapMode()
const;
146 Size GetGrafPrefSize()
const;
148 void SetGrafStreamURL(
const OUString& rGraphicStreamURL );
149 OUString
const & GetGrafStreamURL()
const;
150 Size getOriginalSize()
const;
153 void ForceSwapIn()
const;
156 void SetGraphicLink(
const OUString& rFileName);
157 void ReleaseGraphicLink();
158 bool IsLinkedGraphic()
const;
162 void StartAnimation();
177 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
181 bool HasGDIMetaFile()
const;
186 bool isEmbeddedVectorGraphicData()
const;
187 GDIMetaFile getMetafileFromEmbeddedVectorGraphicData()
const;
201 void SetGrafAnimationAllowed(
bool bNew);
203 css::uno::Reference< css::io::XInputStream > getInputStream()
const;
217 maSignatureLineId = rSignatureLineId;
224 maSignatureLineSuggestedSignerName = rSuggestedSignerName;
229 return maSignatureLineSuggestedSignerName;
234 maSignatureLineSuggestedSignerTitle = rSuggestedSignerTitle;
239 return maSignatureLineSuggestedSignerTitle;
244 maSignatureLineSuggestedSignerEmail = rSuggestedSignerEmail;
248 return maSignatureLineSuggestedSignerEmail;
253 maSignatureLineSigningInstructions = rSigningInstructions;
258 return maSignatureLineSigningInstructions;
263 mbIsSignatureLineShowSignDate = bIsSignatureLineShowSignDate;
270 mbIsSignatureLineCanAddComment = bIsSignatureCanAddComment;
277 return mpSignatureLineUnsignedGraphic;
282 mpSignatureLineUnsignedGraphic = rGraphic;
292 mpBarCode = std::make_unique<css::drawing::BarCode>(rBarCode);
297 return mpBarCode.get();
This class represents an embedded or linked bitmap graphic object.
void setSignatureLineSuggestedSignerEmail(const OUString &rSuggestedSignerEmail)
void setSignatureLineSigningInstructions(const OUString &rSigningInstructions)
void setIsSignatureLine(bool bIsSignatureLine)
OUString maSignatureLineSigningInstructions
OUString maSignatureLineId
css::uno::Reference< css::graphic::XGraphic > const & getSignatureLineUnsignedGraphic() const
bool mbGrafAnimationAllowed
void setSignatureLineIsSigned(bool bIsSigned)
bool mbSignatureLineIsSigned
void setSignatureLineId(const OUString &rSignatureLineId)
bool isSignatureLineSigned() const
bool mbIsSignatureLineShowSignDate
const OUString & GetFileName() const
void setSignatureLineShowSignDate(bool bIsSignatureLineShowSignDate)
void setSignatureLineCanAddComment(bool bIsSignatureCanAddComment)
std::unique_ptr< GraphicObject > mpReplacementGraphicObject
OUString maSignatureLineSuggestedSignerEmail
bool isSignatureLine() const
void setSignatureLineUnsignedGraphic(css::uno::Reference< css::graphic::XGraphic > rGraphic)
bool isSignatureLineShowSignDate() const
void setSignatureLineSuggestedSignerName(const OUString &rSuggestedSignerName)
const OUString & getSignatureLineSuggestedSignerTitle() const
OUString maSignatureLineSuggestedSignerTitle
const OUString & getSignatureLineSuggestedSignerName() const
std::unique_ptr< GraphicObject > mpGraphicObject
const OUString & getSignatureLineId() const
virtual bool shouldKeepAspectRatio() const override
Whether the aspect ratio should be kept by default when resizing.
SdrGraphicLink * pGraphicLink
OUString maSignatureLineSuggestedSignerName
std::unique_ptr< css::drawing::BarCode > mpBarCode
const OUString & getSignatureLineSigningInstructions() const
css::uno::Reference< css::graphic::XGraphic > mpSignatureLineUnsignedGraphic
css::drawing::BarCode * getQrCode() const
bool isSignatureLineCanAddComment() const
void setQrCode(css::drawing::BarCode &rBarCode)
const OUString & getSignatureLineSuggestedSignerEmail() const
bool mbIsSignatureLineCanAddComment
void setSignatureLineSuggestedSignerTitle(const OUString &rSuggestedSignerTitle)
All geometrical data of an arbitrary object for use in undo/redo.
virtual void AdjustToMaxRect(const tools::Rectangle &rMaxRect, bool bShrinkOnly=false)
virtual void addCropHandles(SdrHdlList &rTarget) const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
Rectangle objects (rectangle, circle, ...)
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual sal_uInt32 GetHdlCount() const override
Via GetHdlCount the number of Handles can be retrieved.
virtual SdrObjKind GetObjIdentifier() const override
virtual OUString TakeObjNamePlural() const override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const override
virtual void AddToHdlList(SdrHdlList &rHdlList) const override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Detects when a stylesheet is changed.
virtual OUString TakeObjNameSingul() const override
virtual void RestoreGeoData(const SdrObjGeoData &rGeo) override
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
virtual void NbcMirror(const Point &rRef1, const Point &rRef2) override
virtual std::unique_ptr< SdrObjGeoData > NewGeoData() const override
A derived class must override these 3 methods if it has own geometric data that must be saved for Und...
virtual void SaveGeoData(SdrObjGeoData &rGeo) const override
SVX_DLLPRIVATE void ImpDeregisterLink()
SVX_DLLPRIVATE void ImpRegisterLink()
virtual void handlePageChange(SdrPage *pOldPage, SdrPage *pNewPage) override
virtual rtl::Reference< SdrObject > getFullDragClone() const override
SdrGrafObjTransformsAttrs
Options for GetTransformedGraphic()
#define SVXCORE_DLLPUBLIC