LibreOffice Module svx (master) 1
|
#include <EnhancedCustomShape2d.hxx>
Classes | |
struct | EquationResult |
struct | Handle |
Public Member Functions | |
sal_Int32 | GetLuminanceChange (sal_uInt32 nIndex) const |
SAL_DLLPRIVATE bool | IsFlipVert () const |
SAL_DLLPRIVATE bool | IsFlipHorz () const |
SAL_DLLPRIVATE Degree100 | GetRotateAngle () const |
rtl::Reference< SdrObject > | CreateLineGeometry () |
rtl::Reference< SdrObject > | CreateObject (bool bLineGeometryNeededOnly) |
void | ApplyGluePoints (SdrObject *pObj) |
tools::Rectangle | GetTextRect () const |
const tools::Rectangle & | GetLogicRect () const |
sal_uInt32 | GetHdlCount () const |
bool | GetHandlePosition (const sal_uInt32 nIndex, Point &rReturnPosition) const |
bool | SetHandleControllerPosition (const sal_uInt32 nIndex, const css::awt::Point &rPosition) |
EnhancedCustomShape2d (SdrObjCustomShape &rSdrObjCustomShape) | |
virtual | ~EnhancedCustomShape2d () override |
SAL_DLLPRIVATE double | GetEnumFunc (const EnhancedCustomShape::ExpressionFunct eVal) const |
void | GetParameter (double &rParameterReturnValue, const css::drawing::EnhancedCustomShapeParameter &, const bool bReplaceGeoWidth, const bool bReplaceGeoHeight) const |
SAL_DLLPRIVATE double | GetAdjustValueAsDouble (const sal_Int32 nIndex) const |
SAL_DLLPRIVATE double | GetEquationValueAsDouble (const sal_Int32 nIndex) const |
Public Member Functions inherited from SfxItemSet | |
SfxPoolItem const ** | GetItems_Impl () const |
SfxItemSet (const SfxItemSet &) | |
SfxItemSet (SfxItemSet &&) noexcept | |
SfxItemSet (SfxItemPool &) | |
SfxItemSet (SfxItemPool &, WhichRangesContainer ranges) | |
SfxItemSet (SfxItemPool &rPool, sal_uInt16 nWhichStart, sal_uInt16 nWhichEnd) | |
SfxItemSet (SfxItemPool &pool, svl::Items_t< WIDs... > wids) | |
virtual | ~SfxItemSet () |
virtual std::unique_ptr< SfxItemSet > | Clone (bool bItems=true, SfxItemPool *pToPool=nullptr) const |
SfxItemSet | CloneAsValue (bool bItems=true, SfxItemPool *pToPool=nullptr) const |
sal_uInt16 | Count () const |
sal_uInt16 | TotalCount () const |
const SfxPoolItem & | Get (sal_uInt16 nWhich, bool bSrchInParent=true) const |
const T & | Get (TypedWhichId< T > nWhich, bool bSrchInParent=true) const |
const SfxPoolItem * | GetItem (sal_uInt16 nWhich, bool bSearchInParent=true) const |
const T * | GetItem (sal_uInt16 nWhich, bool bSearchInParent=true) const |
const T * | GetItem (TypedWhichId< T > nWhich, bool bSearchInParent=true) const |
sal_uInt16 | GetWhichByPos (sal_uInt16 nPos) const |
SfxItemState | GetItemState (sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const |
SfxItemState | GetItemState (TypedWhichId< T > nWhich, bool bSrchInParent=true, const T **ppItem=nullptr) const |
const T * | GetItemIfSet (TypedWhichId< T > nWhich, bool bSrchInParent=true) const |
bool | HasItem (sal_uInt16 nWhich, const SfxPoolItem **ppItem=nullptr) const |
bool | HasItem (TypedWhichId< T > nWhich, const T **ppItem=nullptr) const |
void | DisableItem (sal_uInt16 nWhich) |
void | InvalidateItem (sal_uInt16 nWhich) |
sal_uInt16 | ClearItem (sal_uInt16 nWhich=0) |
void | ClearInvalidItems () |
void | InvalidateAllItems () |
void | SetParent (const SfxItemSet *pNew) |
const SfxPoolItem * | Put (const SfxPoolItem &rItem, sal_uInt16 nWhich) |
const SfxPoolItem * | Put (std::unique_ptr< SfxPoolItem > xItem, sal_uInt16 nWhich) |
const SfxPoolItem * | Put (const SfxPoolItem &rItem) |
const SfxPoolItem * | Put (std::unique_ptr< SfxPoolItem > xItem) |
bool | Put (const SfxItemSet &, bool bInvalidAsDefault=true) |
void | PutExtended (const SfxItemSet &, SfxItemState eDontCareAs, SfxItemState eDefaultAs) |
bool | Set (const SfxItemSet &, bool bDeep=true) |
void | Intersect (const SfxItemSet &rSet) |
void | MergeValues (const SfxItemSet &rSet) |
void | Differentiate (const SfxItemSet &rSet) |
void | MergeValue (const SfxPoolItem &rItem, bool bOverwriteDefaults=false) |
SfxItemPool * | GetPool () const |
const WhichRangesContainer & | GetRanges () const |
void | SetRanges (const WhichRangesContainer &) |
void | SetRanges (WhichRangesContainer &&) |
void | MergeRange (sal_uInt16 nFrom, sal_uInt16 nTo) |
const SfxItemSet * | GetParent () const |
bool | operator== (const SfxItemSet &) const |
bool | Equals (const SfxItemSet &, bool bComparePool) const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Static Public Member Functions | |
static OUString | GetEquation (const sal_uInt16 nFlags, sal_Int32 nPara1, sal_Int32 nPara2, sal_Int32 nPara3) |
static SAL_DLLPRIVATE void | AppendEnhancedCustomShapeEquationParameter (OUString &rParameter, const sal_Int32 nPara, const bool bIsSpecialValue) |
static void | SetEnhancedCustomShapeParameter (css::drawing::EnhancedCustomShapeParameter &rParameter, const sal_Int32 nValue) |
static void | SetEnhancedCustomShapeHandleParameter (css::drawing::EnhancedCustomShapeParameter &rParameter, const sal_Int32 nPara, const bool bIsSpecialValue, bool bHorz) |
static SAL_DLLPRIVATE bool | ConvertSequenceToEnhancedCustomShape2dHandle (const css::beans::PropertyValues &rHandleProperties, EnhancedCustomShape2d::Handle &rDestinationHandle) |
static SAL_DLLPRIVATE void | SwapStartAndEndArrow (SdrObject *pObj) |
Static Public Member Functions inherited from SfxItemSet | |
static const T * | GetItem (const SfxItemSet *pItemSet, sal_uInt16 nWhich, bool bSearchInParent) |
static const T * | GetItem (const SfxItemSet *pItemSet, TypedWhichId< T > nWhich, bool bSearchInParent) |
Private Member Functions | |
SAL_DLLPRIVATE bool | SetAdjustValueAsDouble (const double &rValue, const sal_Int32 nIndex) |
SAL_DLLPRIVATE Color | GetColorData (const Color &rFillColor, sal_uInt32 nIndex, double dBrightness) const |
SAL_DLLPRIVATE void | AdaptObjColor (SdrPathObj &rObj, double dBrightness, const SfxItemSet &rCustomShapeSet, sal_uInt32 &nColorIndex, sal_uInt32 nColorCount) |
SAL_DLLPRIVATE Point | GetPoint (const css::drawing::EnhancedCustomShapeParameterPair &, const bool bScale=true, const bool bReplaceGeoSize=false) const |
SAL_DLLPRIVATE basegfx::B2DPoint | GetPointAsB2DPoint (const css::drawing::EnhancedCustomShapeParameterPair &, const bool bScale=true, const bool bReplaceGeoSize=false) const |
SAL_DLLPRIVATE void | CreateSubPath (sal_Int32 &rSrcPt, sal_Int32 &rSegmentInd, std::vector< std::pair< rtl::Reference< SdrPathObj >, double > > &rObjectList, bool bLineGeometryNeededOnly, bool bSortFilledObjectsToBack, sal_Int32 nIndex) |
SAL_DLLPRIVATE rtl::Reference< SdrObject > | CreatePathObj (bool bLineGeometryNeededOnly) |
SAL_DLLPRIVATE void | ApplyShapeAttributes (const SdrCustomShapeGeometryItem &rItem) |
SAL_DLLPRIVATE void | SetPathSize (sal_Int32 nIndex=0) |
Private Attributes | |
SdrObjCustomShape & | mrSdrObjCustomShape |
MSO_SPT | m_eSpType |
sal_Int32 | m_nCoordLeft |
sal_Int32 | m_nCoordTop |
sal_Int32 | m_nCoordWidthG |
sal_Int32 | m_nCoordHeightG |
sal_Int32 | m_nCoordWidth |
sal_Int32 | m_nCoordHeight |
tools::Rectangle | m_aLogicRect |
double | m_fXScale |
double | m_fYScale |
double | m_fXRatio |
double | m_fYRatio |
bool | m_bOOXMLShape |
sal_Int32 | m_nXRef |
sal_Int32 | m_nYRef |
sal_uInt32 | m_nColorData |
css::uno::Sequence< OUString > | m_seqEquations |
std::vector< std::shared_ptr< EnhancedCustomShape::ExpressionNode > > | m_vNodesSharedPtr |
std::vector< EquationResult > | m_vEquationResults |
css::uno::Sequence< css::drawing::EnhancedCustomShapeSegment > | m_seqSegments |
css::uno::Sequence< css::drawing::EnhancedCustomShapeParameterPair > | m_seqCoordinates |
css::uno::Sequence< css::drawing::EnhancedCustomShapeTextFrame > | m_seqTextFrames |
css::uno::Sequence< css::drawing::EnhancedCustomShapeParameterPair > | m_seqGluePoints |
css::uno::Sequence< css::drawing::EnhancedCustomShapeAdjustmentValue > | m_seqAdjustmentValues |
css::uno::Sequence< css::beans::PropertyValues > | m_seqHandles |
css::uno::Sequence< css::awt::Size > | m_seqSubViewSize |
bool | m_bFilled: 1 |
bool | m_bStroked: 1 |
bool | m_bFlipH |
bool | m_bFlipV |
Degree100 | m_nRotateAngle |
Additional Inherited Members | |
Protected Types inherited from SfxItemSet | |
enum | SfxAllItemSetFlag { Flag } |
Protected Member Functions inherited from SfxItemSet | |
virtual void | Changed (const SfxPoolItem &rOld, const SfxPoolItem &rNew) |
void | PutDirect (const SfxPoolItem &rItem) |
virtual const SfxPoolItem * | PutImpl (const SfxPoolItem &, sal_uInt16 nWhich, bool bPassingOwnership) |
SfxItemSet (SfxItemPool &, SfxAllItemSetFlag) | |
SfxItemSet (SfxItemPool &, WhichRangesContainer &&ranges, SfxPoolItem const **ppItems) | |
Definition at line 79 of file EnhancedCustomShape2d.hxx.
EnhancedCustomShape2d::EnhancedCustomShape2d | ( | SdrObjCustomShape & | rSdrObjCustomShape | ) |
Definition at line 708 of file EnhancedCustomShape2d.cxx.
References Point::AdjustX(), Point::AdjustY(), Any, ApplyShapeAttributes(), tools::Rectangle::Center(), SfxItemSet::ClearItem(), EnhancedCustomShapeTypeNames::Get(), SdrTextObj::GetLogicRect(), SdrObject::GetMergedItem(), SdrObjCustomShape::GetObjectRotation(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), tools::Rectangle::GetSize(), SdrAttrObj::GetSnapRect(), GetValue, Size::Height(), i, m_aLogicRect, m_bFlipH, m_bFlipV, m_bOOXMLShape, m_eSpType, m_nColorData, m_nRotateAngle, m_seqEquations, m_vEquationResults, m_vNodesSharedPtr, mrSdrObjCustomShape, mso_sptActionButtonBackPrevious, mso_sptActionButtonBeginning, mso_sptActionButtonBlank, mso_sptActionButtonDocument, mso_sptActionButtonEnd, mso_sptActionButtonForwardNext, mso_sptActionButtonHelp, mso_sptActionButtonHome, mso_sptActionButtonInformation, mso_sptActionButtonMovie, mso_sptActionButtonReturn, mso_sptActionButtonSound, mso_sptBevel, mso_sptCan, mso_sptCube, mso_sptCurvedDownArrow, mso_sptCurvedLeftArrow, mso_sptCurvedRightArrow, mso_sptCurvedUpArrow, mso_sptEllipseRibbon, mso_sptEllipseRibbon2, mso_sptFoldedCorner, mso_sptHorizontalScroll, mso_sptNil, mso_sptRibbon, mso_sptRibbon2, mso_sptSmileyFace, mso_sptVerticalScroll, nLength, SAL_INFO, SDRATTR_CUSTOMSHAPE_GEOMETRY(), SDRATTR_SHADOW(), SDRATTR_TEXTDIRECTION(), SetPathSize(), sType, o3tl::toUInt32(), u, and Size::Width().
|
overridevirtual |
Definition at line 634 of file EnhancedCustomShape2d.cxx.
|
private |
Definition at line 2771 of file EnhancedCustomShape2d.cxx.
References BitmapEx::Adjust(), SfxItemSet::Get(), Color::getBColor(), XHatch::GetColor(), GetColorData(), basegfx::BGradient::GetColorStops(), GetLuminanceChange(), SdrObject::GetMergedItem(), SdrPathObj::IsLine(), XHatch::SetColor(), basegfx::BGradient::SetColorStops(), SdrObject::SetMergedItem(), XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
Referenced by CreatePathObj().
|
static |
Definition at line 329 of file EnhancedCustomShape2d.cxx.
References DFF_Prop_adjust10Value, DFF_Prop_adjust2Value, DFF_Prop_adjust3Value, DFF_Prop_adjust4Value, DFF_Prop_adjust5Value, DFF_Prop_adjust6Value, DFF_Prop_adjust7Value, DFF_Prop_adjust8Value, DFF_Prop_adjust9Value, DFF_Prop_adjustValue, DFF_Prop_geoBottom, DFF_Prop_geoLeft, DFF_Prop_geoRight, and DFF_Prop_geoTop.
Referenced by GetEquation().
void EnhancedCustomShape2d::ApplyGluePoints | ( | SdrObject * | pObj | ) |
Definition at line 3028 of file EnhancedCustomShape2d.cxx.
References SdrObject::ForceGluePointList(), GetPoint(), HORZ_LEFT, SdrGluePointList::Insert(), m_seqGluePoints, SdrGluePoint::SetAlign(), SdrGluePoint::SetEscDir(), SdrGluePoint::SetPercent(), SdrGluePoint::SetPos(), SMART, and VERT_TOP.
|
private |
Definition at line 540 of file EnhancedCustomShape2d.cxx.
References Any, m_nCoordHeightG, m_nCoordLeft, m_nCoordTop, m_nCoordWidthG, m_nXRef, m_nYRef, m_seqAdjustmentValues, m_seqCoordinates, m_seqEquations, m_seqGluePoints, m_seqHandles, m_seqSegments, m_seqSubViewSize, m_seqTextFrames, and u.
Referenced by EnhancedCustomShape2d().
|
static |
Definition at line 438 of file EnhancedCustomShape2d.cxx.
References EnhancedCustomShape2d::Handle::aPolar, EnhancedCustomShape2d::Handle::aPosition, EnhancedCustomShape2d::Handle::aRadiusRangeMaximum, EnhancedCustomShape2d::Handle::aRadiusRangeMinimum, EnhancedCustomShape2d::Handle::aXRangeMaximum, EnhancedCustomShape2d::Handle::aXRangeMinimum, EnhancedCustomShape2d::Handle::aYRangeMaximum, EnhancedCustomShape2d::Handle::aYRangeMinimum, MIRRORED_X, MIRRORED_Y, EnhancedCustomShape2d::Handle::nFlags, NONE, EnhancedCustomShape2d::Handle::nRefAngle, EnhancedCustomShape2d::Handle::nRefR, EnhancedCustomShape2d::Handle::nRefX, EnhancedCustomShape2d::Handle::nRefY, POLAR, RADIUS_RANGE_MAXIMUM, RADIUS_RANGE_MINIMUM, RANGE_X_MAXIMUM, RANGE_X_MINIMUM, RANGE_Y_MAXIMUM, RANGE_Y_MINIMUM, REFANGLE, REFR, REFX, REFY, and SWITCHED.
Referenced by GetHandlePosition(), and SetHandleControllerPosition().
rtl::Reference< SdrObject > EnhancedCustomShape2d::CreateLineGeometry | ( | ) |
Definition at line 3047 of file EnhancedCustomShape2d.cxx.
References CreateObject().
rtl::Reference< SdrObject > EnhancedCustomShape2d::CreateObject | ( | bool | bLineGeometryNeededOnly | ) |
Definition at line 3013 of file EnhancedCustomShape2d.cxx.
References CreatePathObj(), SdrObject::getSdrModelFromSdrObject(), m_aLogicRect, m_eSpType, mrSdrObjCustomShape, and mso_sptRectangle.
Referenced by CreateLineGeometry().
|
private |
Definition at line 2859 of file EnhancedCustomShape2d.cxx.
References AdaptObjColor(), CorrectCalloutArrows(), CreateSubPath(), SdrTextObj::getActiveText(), SdrObject::GetMergedItem(), SdrObject::GetMergedItemSet(), SdrObject::getSdrModelFromSdrObject(), SdrPathObj::IsLine(), tools::Rectangle::Left(), m_aLogicRect, m_eSpType, m_nColorData, m_seqCoordinates, m_seqSegments, tools::Rectangle::Move(), mrSdrObjCustomShape, SdrObject::setFillGeometryDefiningShape(), SortFilledObjectsToBackByDefault(), tools::Rectangle::Top(), XATTR_FILLSTYLE(), and XATTR_LINESTYLE().
Referenced by CreateObject().
|
private |
Definition at line 2048 of file EnhancedCustomShape2d.cxx.
References Any, basegfx::B2DPolyPolygon::append(), basegfx::B2DPolygon::append(), basegfx::B2DPolygon::appendBezierSegment(), ARC, basegfx::utils::checkClosed(), basegfx::B2DPolygon::clear(), basegfx::B2DPolygon::count(), basegfx::B2DPolyPolygon::count(), CreateArc(), basegfx::utils::createPolygonFromEllipse(), basegfx::utils::createPolygonFromEllipseSegment(), basegfx::utils::createScaleB2DHomMatrix(), basegfx::utils::createTranslateB2DHomMatrix(), DBG_ASSERT, First, basegfx::B2DPolygon::flip(), basegfx::B2DPolygon::getB2DPoint(), tools::Rectangle::GetHeight(), SdrObject::GetMergedItem(), GetParameter(), GetPoint(), GetPointAsB2DPoint(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetWidth(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), i, basegfx::B2DPolyPolygon::isClosed(), lcl_getNormalizedAngleRad(), lcl_getNormalizedCircleAngleRad(), m_bFilled, m_bOOXMLShape, m_fXScale, m_fYScale, m_seqCoordinates, m_seqSegments, makeSdrShadowItem(), mrSdrObjCustomShape, nIndex, tools::Rectangle::Normalize(), Polygon, PolyLine, SfxItemSet::Put(), basegfx::B2DPolygon::removeDoublePoints(), SAL_INFO, SAL_WARN, SDRATTR_CUSTOMSHAPE_GEOMETRY(), basegfx::B2DPolygon::setClosed(), basegfx::B2DPolyPolygon::setClosed(), SetPathSize(), basegfx::B2DPolygon::transform(), UNKNOWN, Point::X(), and Point::Y().
Referenced by CreatePathObj().
double EnhancedCustomShape2d::GetAdjustValueAsDouble | ( | const sal_Int32 | nIndex | ) | const |
Definition at line 875 of file EnhancedCustomShape2d.cxx.
References m_seqAdjustmentValues, nIndex, and Value.
Referenced by GetParameter(), and SetHandleControllerPosition().
|
private |
Definition at line 1062 of file EnhancedCustomShape2d.cxx.
References basegfx::BColor::getBlue(), Color::GetBlue(), basegfx::BColor::getGreen(), Color::GetGreen(), GetLuminanceChange(), basegfx::BColor::getRed(), Color::GetRed(), basegfx::utils::hsv2rgb(), m_bOOXMLShape, m_eSpType, mso_sptMin, nIndex, basegfx::utils::rgb2hsv(), basegfx::BColor::setBlue(), and basegfx::BColor::setGreen().
Referenced by AdaptObjColor().
double EnhancedCustomShape2d::GetEnumFunc | ( | const EnhancedCustomShape::ExpressionFunct | eVal | ) | const |
Definition at line 853 of file EnhancedCustomShape2d.cxx.
References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), m_aLogicRect, m_bFilled, m_bStroked, m_fXRatio, m_fYRatio, m_nCoordHeight, m_nCoordLeft, m_nCoordTop, m_nCoordWidth, m_nXRef, and m_nYRef.
|
static |
Definition at line 85 of file EnhancedCustomShape2d.cxx.
References AppendEnhancedCustomShapeEquationParameter().
Referenced by SdrObjCustomShape::IsDefaultGeometry(), and SdrObjCustomShape::MergeDefaultAttributes().
double EnhancedCustomShape2d::GetEquationValueAsDouble | ( | const sal_Int32 | nIndex | ) | const |
Definition at line 891 of file EnhancedCustomShape2d.cxx.
References EnhancedCustomShape2d::EquationResult::bReady, EnhancedCustomShape2d::EquationResult::fValue, m_seqEquations, m_vEquationResults, m_vNodesSharedPtr, nIndex, SAL_INFO, and SAL_WARN.
Referenced by GetParameter().
bool EnhancedCustomShape2d::GetHandlePosition | ( | const sal_uInt32 | nIndex, |
Point & | rReturnPosition | ||
) | const |
Definition at line 1150 of file EnhancedCustomShape2d.cxx.
References a, EnhancedCustomShape2d::Handle::aPolar, EnhancedCustomShape2d::Handle::aPosition, ConvertSequenceToEnhancedCustomShape2dHandle(), basegfx::deg2rad(), basegfx::fTools::equalZero(), FRound(), SdrTextObj::GetGeoStat(), GetHdlCount(), tools::Rectangle::GetHeight(), GetParameter(), GetPoint(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), m_aLogicRect, m_bFlipH, m_bFlipV, m_bOOXMLShape, m_fXScale, m_fYScale, m_nRotateAngle, GeoStat::m_nShearAngle, m_seqHandles, GeoStat::mfTanShearAngle, Point::Move(), mrSdrObjCustomShape, EnhancedCustomShape2d::Handle::nFlags, nIndex, POLAR, RotatePoint(), Point::setX(), Point::setY(), ShearPoint(), SWITCHED, tools::Rectangle::Top(), toRadians(), Point::X(), and Point::Y().
Referenced by EnhancedCustomShapeHandle::getPosition().
sal_uInt32 EnhancedCustomShape2d::GetHdlCount | ( | ) | const |
Definition at line 1145 of file EnhancedCustomShape2d.cxx.
References m_seqHandles.
Referenced by GetHandlePosition(), and SetHandleControllerPosition().
|
inline |
Definition at line 194 of file EnhancedCustomShape2d.hxx.
sal_Int32 EnhancedCustomShape2d::GetLuminanceChange | ( | sal_uInt32 | nIndex | ) | const |
Definition at line 1049 of file EnhancedCustomShape2d.cxx.
References m_nColorData, nCount, and nIndex.
Referenced by AdaptObjColor(), and GetColorData().
void EnhancedCustomShape2d::GetParameter | ( | double & | rParameterReturnValue, |
const css::drawing::EnhancedCustomShapeParameter & | , | ||
const bool | bReplaceGeoWidth, | ||
const bool | bReplaceGeoHeight | ||
) | const |
Definition at line 974 of file EnhancedCustomShape2d.cxx.
References GetAdjustValueAsDouble(), GetEquationValueAsDouble(), m_fXRatio, m_fYRatio, m_nCoordHeight, m_nCoordWidth, and nValue.
Referenced by CreateSubPath(), GetHandlePosition(), GetPointAsB2DPoint(), and SetHandleControllerPosition().
|
private |
Definition at line 967 of file EnhancedCustomShape2d.cxx.
References GetPointAsB2DPoint(), basegfx::Tuple2D< typename TYPE >::getX(), and basegfx::Tuple2D< typename TYPE >::getY().
Referenced by ApplyGluePoints(), CreateSubPath(), GetHandlePosition(), and GetTextRect().
|
private |
Definition at line 946 of file EnhancedCustomShape2d.cxx.
References GetParameter(), m_fXScale, m_fYScale, m_nCoordLeft, and m_nCoordTop.
Referenced by CreateSubPath(), and GetPoint().
|
inline |
Definition at line 188 of file EnhancedCustomShape2d.hxx.
tools::Rectangle EnhancedCustomShape2d::GetTextRect | ( | ) | const |
Definition at line 1119 of file EnhancedCustomShape2d.cxx.
References BottomRight, tools::Rectangle::GetHeight(), GetPoint(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), m_aLogicRect, m_bFlipH, m_bFlipV, m_bOOXMLShape, m_seqTextFrames, tools::Rectangle::Move(), nIndex, tools::Rectangle::Normalize(), SAL_INFO, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), TopLeft, Point::X(), and Point::Y().
|
inline |
Definition at line 187 of file EnhancedCustomShape2d.hxx.
|
inline |
Definition at line 186 of file EnhancedCustomShape2d.hxx.
|
private |
Definition at line 932 of file EnhancedCustomShape2d.cxx.
References m_seqAdjustmentValues, and nIndex.
Referenced by SetHandleControllerPosition().
|
static |
Definition at line 388 of file EnhancedCustomShape2d.cxx.
References nValue.
Referenced by lcl_ShapePropertiesFromDFF().
|
static |
Definition at line 69 of file EnhancedCustomShape2d.cxx.
References nValue.
Referenced by SdrObjCustomShape::IsDefaultGeometry(), and SdrObjCustomShape::MergeDefaultAttributes().
bool EnhancedCustomShape2d::SetHandleControllerPosition | ( | const sal_uInt32 | nIndex, |
const css::awt::Point & | rPosition | ||
) |
Definition at line 1490 of file EnhancedCustomShape2d.cxx.
References a, abs(), Any, EnhancedCustomShape2d::Handle::aPolar, EnhancedCustomShape2d::Handle::aPosition, EnhancedCustomShape2d::Handle::aRadiusRangeMaximum, EnhancedCustomShape2d::Handle::aRadiusRangeMinimum, EnhancedCustomShape2d::Handle::aXRangeMaximum, EnhancedCustomShape2d::Handle::aXRangeMinimum, EnhancedCustomShape2d::Handle::aYRangeMaximum, EnhancedCustomShape2d::Handle::aYRangeMinimum, ConvertSequenceToEnhancedCustomShape2dHandle(), basegfx::fTools::equalZero(), GetAdjustValueAsDouble(), SdrTextObj::GetGeoStat(), GetHdlCount(), tools::Rectangle::GetHeight(), SdrObject::GetMergedItem(), GetParameter(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), tools::Rectangle::GetWidth(), lcl_getAngleInOOXMLUnit(), lcl_getRadiusDistance(), lcl_getXAdjustmentValue(), lcl_getYAdjustmentValue(), tools::Rectangle::Left(), m_aLogicRect, m_bFlipH, m_bFlipV, m_bOOXMLShape, m_fXScale, m_fYScale, m_nCoordHeight, m_nCoordLeft, m_nCoordTop, m_nCoordWidth, m_nRotateAngle, GeoStat::m_nShearAngle, m_seqAdjustmentValues, m_seqHandles, GeoStat::mfTanShearAngle, Point::Move(), mrSdrObjCustomShape, EnhancedCustomShape2d::Handle::nFlags, nIndex, EnhancedCustomShape2d::Handle::nRefAngle, EnhancedCustomShape2d::Handle::nRefR, EnhancedCustomShape2d::Handle::nRefX, EnhancedCustomShape2d::Handle::nRefY, POLAR, basegfx::rad2deg(), RADIUS_RANGE_MAXIMUM, RADIUS_RANGE_MINIMUM, RANGE_X_MAXIMUM, RANGE_X_MINIMUM, RANGE_Y_MAXIMUM, RANGE_Y_MINIMUM, REFANGLE, REFR, REFX, REFY, RotatePoint(), SAL_MAX_INT32, SDRATTR_CUSTOMSHAPE_GEOMETRY(), SetAdjustValueAsDouble(), SdrObject::SetMergedItem(), SdrCustomShapeGeometryItem::SetPropertyValue(), Point::setX(), Point::setY(), ShearPoint(), SWITCHED, tools::Rectangle::Top(), toRadians(), Point::X(), and Point::Y().
Referenced by EnhancedCustomShapeHandle::setControllerPosition().
|
private |
Definition at line 638 of file EnhancedCustomShape2d.cxx.
References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), m_aLogicRect, m_bOOXMLShape, m_fXRatio, m_fXScale, m_fYRatio, m_fYScale, m_nCoordHeight, m_nCoordHeightG, m_nCoordWidth, m_nCoordWidthG, m_nXRef, m_nYRef, m_seqSubViewSize, nIndex, and SAL_INFO.
Referenced by CreateSubPath(), and EnhancedCustomShape2d().
|
static |
Definition at line 1957 of file EnhancedCustomShape2d.cxx.
References SdrObject::GetMergedItem(), XLineEndItem::SetLineEndValue(), XLineStartItem::SetLineStartValue(), SdrObject::SetMergedItem(), XATTR_LINEEND(), XATTR_LINEENDCENTER(), XATTR_LINEENDWIDTH(), XATTR_LINESTART(), XATTR_LINESTARTCENTER(), and XATTR_LINESTARTWIDTH().
Referenced by CorrectCalloutArrows().
|
private |
Definition at line 90 of file EnhancedCustomShape2d.hxx.
Referenced by CreateObject(), CreatePathObj(), EnhancedCustomShape2d(), GetEnumFunc(), GetHandlePosition(), GetTextRect(), SetHandleControllerPosition(), and SetPathSize().
|
private |
Definition at line 122 of file EnhancedCustomShape2d.hxx.
Referenced by CreateSubPath(), and GetEnumFunc().
|
private |
Definition at line 125 of file EnhancedCustomShape2d.hxx.
Referenced by EnhancedCustomShape2d(), GetHandlePosition(), GetTextRect(), and SetHandleControllerPosition().
|
private |
Definition at line 126 of file EnhancedCustomShape2d.hxx.
Referenced by EnhancedCustomShape2d(), GetHandlePosition(), GetTextRect(), and SetHandleControllerPosition().
|
private |
Definition at line 97 of file EnhancedCustomShape2d.hxx.
Referenced by CreateSubPath(), EnhancedCustomShape2d(), GetColorData(), GetHandlePosition(), GetTextRect(), SetHandleControllerPosition(), and SetPathSize().
|
private |
Definition at line 123 of file EnhancedCustomShape2d.hxx.
Referenced by GetEnumFunc().
|
private |
Definition at line 82 of file EnhancedCustomShape2d.hxx.
Referenced by CreateObject(), CreatePathObj(), EnhancedCustomShape2d(), and GetColorData().
|
private |
Definition at line 94 of file EnhancedCustomShape2d.hxx.
Referenced by GetEnumFunc(), GetParameter(), and SetPathSize().
|
private |
Definition at line 92 of file EnhancedCustomShape2d.hxx.
Referenced by CreateSubPath(), GetHandlePosition(), GetPointAsB2DPoint(), SetHandleControllerPosition(), and SetPathSize().
|
private |
Definition at line 95 of file EnhancedCustomShape2d.hxx.
Referenced by GetEnumFunc(), GetParameter(), and SetPathSize().
|
private |
Definition at line 93 of file EnhancedCustomShape2d.hxx.
Referenced by CreateSubPath(), GetHandlePosition(), GetPointAsB2DPoint(), SetHandleControllerPosition(), and SetPathSize().
|
private |
Definition at line 101 of file EnhancedCustomShape2d.hxx.
Referenced by CreatePathObj(), EnhancedCustomShape2d(), and GetLuminanceChange().
|
private |
Definition at line 89 of file EnhancedCustomShape2d.hxx.
Referenced by GetEnumFunc(), GetParameter(), SetHandleControllerPosition(), and SetPathSize().
|
private |
Definition at line 87 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), and SetPathSize().
|
private |
Definition at line 84 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), GetEnumFunc(), GetPointAsB2DPoint(), and SetHandleControllerPosition().
|
private |
Definition at line 85 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), GetEnumFunc(), GetPointAsB2DPoint(), and SetHandleControllerPosition().
|
private |
Definition at line 88 of file EnhancedCustomShape2d.hxx.
Referenced by GetEnumFunc(), GetParameter(), SetHandleControllerPosition(), and SetPathSize().
|
private |
Definition at line 86 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), and SetPathSize().
|
private |
Definition at line 127 of file EnhancedCustomShape2d.hxx.
Referenced by EnhancedCustomShape2d(), GetHandlePosition(), and SetHandleControllerPosition().
|
private |
Definition at line 99 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), GetEnumFunc(), and SetPathSize().
|
private |
Definition at line 100 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), GetEnumFunc(), and SetPathSize().
|
private |
Definition at line 118 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), GetAdjustValueAsDouble(), SetAdjustValueAsDouble(), and SetHandleControllerPosition().
|
private |
Definition at line 115 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), CreatePathObj(), and CreateSubPath().
|
private |
Definition at line 110 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), EnhancedCustomShape2d(), and GetEquationValueAsDouble().
|
private |
Definition at line 117 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyGluePoints(), and ApplyShapeAttributes().
|
private |
Definition at line 119 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), GetHandlePosition(), GetHdlCount(), and SetHandleControllerPosition().
|
private |
Definition at line 114 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), CreatePathObj(), and CreateSubPath().
|
private |
Definition at line 120 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), and SetPathSize().
|
private |
Definition at line 116 of file EnhancedCustomShape2d.hxx.
Referenced by ApplyShapeAttributes(), and GetTextRect().
|
private |
Definition at line 112 of file EnhancedCustomShape2d.hxx.
Referenced by EnhancedCustomShape2d(), and GetEquationValueAsDouble().
|
private |
Definition at line 111 of file EnhancedCustomShape2d.hxx.
Referenced by EnhancedCustomShape2d(), and GetEquationValueAsDouble().
|
private |
Definition at line 81 of file EnhancedCustomShape2d.hxx.
Referenced by CreateObject(), CreatePathObj(), CreateSubPath(), EnhancedCustomShape2d(), GetHandlePosition(), and SetHandleControllerPosition().