LibreOffice Module sw (master)  1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
drawinglayer::primitive2d Namespace Reference

Namespaces

 SdrFrameBorderData
 

Classes

class  AnimatedBlinkPrimitive2D
 
class  AnimatedGraphicPrimitive2D
 
class  AnimatedInterpolatePrimitive2D
 
class  AnimatedSwitchPrimitive2D
 
class  B2DRangeVisitor
 
class  BackgroundColorPrimitive2D
 
class  BasePrimitive2D
 
class  BaseTextStrikeoutPrimitive2D
 
class  BitmapPrimitive2D
 
class  BorderLine
 
class  BorderLinePrimitive2D
 
class  BufferedDecompositionPrimitive2D
 
class  ControlPrimitive2D
 
class  CropPrimitive2D
 
class  DiscreteBitmapPrimitive2D
 
class  DiscreteMetricDependentPrimitive2D
 
class  DiscreteShadow
 
class  DiscreteShadowPrimitive2D
 
class  Embedded3DPrimitive2D
 
class  EpsPrimitive2D
 
class  FillGradientPrimitive2D
 
class  FillGraphicPrimitive2D
 
class  FillHatchPrimitive2D
 
class  GraphicPrimitive2D
 
class  GridPrimitive2D
 
class  GroupPrimitive2D
 
class  HelplinePrimitive2D
 
class  HiddenGeometryPrimitive2D
 
class  InvertPrimitive2D
 
class  MarkerArrayPrimitive2D
 
class  MaskPrimitive2D
 
class  MediaPrimitive2D
 
class  MetafilePrimitive2D
 
class  ModifiedColorPrimitive2D
 
class  NonOverlappingFillGradientPrimitive2D
 
class  ObjectAndViewTransformationDependentPrimitive2D
 
class  ObjectInfoPrimitive2D
 
class  OverlayBitmapExPrimitive
 
class  OverlayCrosshairPrimitive
 
class  OverlayHelplineStripedPrimitive
 
class  OverlayRectanglePrimitive
 
class  OverlayRollingRectanglePrimitive
 
class  OverlayStaticRectanglePrimitive
 
class  PageHierarchyPrimitive2D
 
class  PagePreviewPrimitive2D
 
class  PatternFillPrimitive2D
 
class  PointArrayPrimitive2D
 
class  PolygonHairlinePrimitive2D
 
class  PolygonMarkerPrimitive2D
 
class  PolygonStrokeArrowPrimitive2D
 
class  PolygonStrokePrimitive2D
 
class  PolygonWavePrimitive2D
 
class  PolyPolygonColorPrimitive2D
 
class  PolyPolygonGradientPrimitive2D
 
class  PolyPolygonGraphicPrimitive2D
 
class  PolyPolygonHairlinePrimitive2D
 
class  PolyPolygonHatchPrimitive2D
 
class  PolyPolygonMarkerPrimitive2D
 
class  PolyPolygonSelectionPrimitive2D
 
class  PolyPolygonStrokePrimitive2D
 
class  Primitive2DContainer
 
class  Primitive2DDecompositionVisitor
 
class  ScenePrimitive2D
 
class  SdrAutoFitTextPrimitive2D
 
class  SdrBlockTextPrimitive2D
 
class  SdrCaptionPrimitive2D
 
class  SdrCellPrimitive2D
 
class  SdrChainedTextPrimitive2D
 
class  SdrConnectorPrimitive2D
 
class  SdrContourTextPrimitive2D
 
class  SdrCustomShapePrimitive2D
 
class  SdrEllipsePrimitive2D
 
class  SdrEllipseSegmentPrimitive2D
 
class  SdrFrameBorderData
 
class  SdrFrameBorderPrimitive2D
 
class  SdrGrafPrimitive2D
 
class  SdrMeasurePrimitive2D
 
class  SdrOle2Primitive2D
 
class  SdrOleContentPrimitive2D
 
class  SdrPathPrimitive2D
 
class  SdrPathTextPrimitive2D
 
class  SdrRectanglePrimitive2D
 
class  SdrStretchTextPrimitive2D
 
class  SdrTextPrimitive2D
 
class  ShadowPrimitive2D
 
class  StructureTagPrimitive2D
 
class  SvgGradientEntry
 
class  SvgGradientHelper
 
class  SvgLinearAtomPrimitive2D
 
class  SvgLinearGradientPrimitive2D
 
class  SvgRadialAtomPrimitive2D
 
class  SvgRadialGradientPrimitive2D
 
class  SwBorderRectanglePrimitive2D
 
class  SwVirtFlyDrawObjPrimitive
 
class  TextBreakupHelper
 
class  TextCharacterStrikeoutPrimitive2D
 
class  TextDecoratedPortionPrimitive2D
 
class  TextEffectPrimitive2D
 
class  TextGeometryStrikeoutPrimitive2D
 
class  TextHierarchyBlockPrimitive2D
 
class  TextHierarchyBulletPrimitive2D
 
class  TextHierarchyEditPrimitive2D
 
class  TextHierarchyFieldPrimitive2D
 
class  TextHierarchyLinePrimitive2D
 
class  TextHierarchyParagraphPrimitive2D
 
class  TextLayouterDevice
 
class  TextLinePrimitive2D
 
class  TextSimplePortionPrimitive2D
 
class  TransformPrimitive2D
 
class  TransparencePrimitive2D
 
class  UnifiedTransparencePrimitive2D
 
class  ViewportDependentPrimitive2D
 
class  ViewTransformationDependentPrimitive2D
 
class  WallpaperBitmapPrimitive2D
 
class  WrongSpellPrimitive2D
 

Typedefs

typedef std::vector< SdrFrameBorderDataSdrFrameBorderDataVector
 
typedef cppu::WeakComponentImplHelper< css::graphic::XPrimitive2D, css::util::XAccounting > BasePrimitive2DImplBase
 
typedef css::uno::Reference< css::graphic::XPrimitive2D > Primitive2DReference
 
typedef css::uno::Sequence< Primitive2DReferencePrimitive2DSequence
 
typedef ::std::vector< SvgGradientEntrySvgGradientEntryVector
 

Enumerations

enum  HelplineStyle
 
enum  MeasureTextPosition
 
enum  HelplineStyle2D {
  HelplineStyle2D::Point,
  HelplineStyle2D::Line
}
 
enum  SpreadMethod {
  SpreadMethod::Pad,
  SpreadMethod::Reflect,
  SpreadMethod::Repeat
}
 
enum  BreakupUnit {
  BreakupUnit::Character,
  BreakupUnit::Word
}
 
enum  TextEffectStyle2D {
  TextEffectStyle2D::ReliefEmbossedDefault,
  TextEffectStyle2D::ReliefEngravedDefault,
  TextEffectStyle2D::ReliefEmbossed,
  TextEffectStyle2D::ReliefEngraved,
  TextEffectStyle2D::Outline
}
 
enum  TextLine
 
enum  TextStrikeout
 
enum  TextEmphasisMark
 
enum  TextRelief
 
enum  FieldType
 

Functions

attribute::SdrLineAttribute createNewSdrLineAttribute (const SfxItemSet &rSet)
 
attribute::SdrLineStartEndAttribute createNewSdrLineStartEndAttribute (const SfxItemSet &rSet, double fWidth)
 
attribute::SdrShadowAttribute createNewSdrShadowAttribute (const SfxItemSet &rSet)
 
attribute::SdrFillAttribute createNewSdrFillAttribute (const SfxItemSet &rSet)
 
attribute::SdrTextAttribute createNewSdrTextAttribute (const SfxItemSet &rSet, const SdrText &rText, const sal_Int32 *pLeft, const sal_Int32 *pUpper, const sal_Int32 *pRight, const sal_Int32 *pLower)
 
attribute::FillGradientAttribute createNewTransparenceGradientAttribute (const SfxItemSet &rSet)
 
attribute::SdrFillGraphicAttribute createNewSdrFillGraphicAttribute (const SfxItemSet &rSet)
 
attribute::SdrShadowTextAttribute createNewSdrShadowTextAttribute (const SfxItemSet &rSet, const SdrText *pText, bool bSuppressText)
 
attribute::SdrLineShadowTextAttribute createNewSdrLineShadowTextAttribute (const SfxItemSet &rSet, const SdrText *pText)
 
attribute::SdrLineFillShadowTextAttribute createNewSdrLineFillShadowTextAttribute (const SfxItemSet &rSet, const SdrText *pText, bool bHasContent)
 
attribute::SdrLineFillShadowAttribute3D createNewSdrLineFillShadowAttribute (const SfxItemSet &rSet, bool bSuppressFill)
 
attribute::SdrSceneAttribute createNewSdrSceneAttribute (const SfxItemSet &rSet)
 
attribute::SdrLightingAttribute createNewSdrLightingAttribute (const SfxItemSet &rSet)
 
void calculateRelativeCornerRadius (sal_Int32 nRadius, const basegfx::B2DRange &rObjectRange, double &rfCornerRadiusX, double &rfCornerRadiusY)
 
attribute::SdrFillTextAttribute createNewSdrFillTextAttribute (const SfxItemSet &rSet, const SdrText *pText, const sal_Int32 *pLeft, const sal_Int32 *pUpper, const sal_Int32 *pRight, const sal_Int32 *pLower)
 
Primitive2DReference createPolyPolygonFillPrimitive (const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)
 
Primitive2DReference createPolyPolygonFillPrimitive (const basegfx::B2DPolyPolygon &rPolyPolygon, const basegfx::B2DRange &rDefinitionRange, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)
 
Primitive2DReference createPolygonLinePrimitive (const basegfx::B2DPolygon &rPolygon, const attribute::SdrLineAttribute &rLine, const attribute::SdrLineStartEndAttribute &rStroke)
 
Primitive2DReference createTextPrimitive (const basegfx::B2DPolyPolygon &rUnitPolyPolygon, const basegfx::B2DHomMatrix &rObjectTransform, const attribute::SdrTextAttribute &rText, const attribute::SdrLineAttribute &rStroke, bool bCellText, bool bWordWrap)
 
Primitive2DContainer createEmbeddedShadowPrimitive (const Primitive2DContainer &rContent, const attribute::SdrShadowAttribute &rShadow)
 
BitmapEx createDefaultCross_3x3 (const basegfx::BColor &rBColor)
 
attribute::Sdr3DObjectAttributecreateNewSdr3DObjectAttribute (const SfxItemSet &rSet)
 
void calculateRelativeCornerRadius (sal_Int32 nRadius, const ::basegfx::B2DRange &rObjectRange, double &rfCornerRadiusX, double &rfCornerRadiusY)
 
basegfx::B2DRange getB2DRangeFromPrimitive2DReference (const Primitive2DReference &rCandidate, const geometry::ViewInformation2D &aViewInformation)
 
bool arePrimitive2DReferencesEqual (const Primitive2DReference &rA, const Primitive2DReference &rB)
 
OUString idToString (sal_uInt32 nId)
 
static void addPolygonStrokePrimitive2D (Primitive2DContainer &rContainer, const basegfx::B2DPoint &rStart, const basegfx::B2DPoint &rEnd, const attribute::LineAttribute &rLineAttribute, const attribute::StrokeAttribute &rStrokeAttribute)
 
 ImplPrimitive2DIDBlock (BorderLinePrimitive2D, PRIMITIVE2D_ID_BORDERLINEPRIMITIVE2D) Primitive2DReference tryMergeBorderLinePrimitive2D(const Primitive2DReference &rCandidateA
 
 if (nullptr==pCandidateA||nullptr==pCandidateB)
 
 if (!pCandidateA->getEnd().equal(pCandidateB->getStart()))
 
 if (pCandidateA->getStart().equal(pCandidateA->getEnd()))
 
 if (pCandidateB->getStart().equal(pCandidateB->getEnd()))
 
 if (!(pCandidateA->getStrokeAttribute()==pCandidateB->getStrokeAttribute()))
 
const basegfx::B2DVector aVT (pCandidateA->getEnd()-pCandidateA->getStart())
 
const basegfx::B2DVector aVC (pCandidateB->getEnd()-pCandidateB->getStart())
 
 if (!rtl::math::approxEqual(0.0, aVC.cross(aVT)))
 
const size_t count (pCandidateA->getBorderLines().size())
 
 if (count!=pCandidateB->getBorderLines().size())
 
 for (size_t a(0);a< count;a++)
 
return Primitive2DReference (new BorderLinePrimitive2D( pCandidateA->getStart(), pCandidateB->getEnd(), aMergedBorderLines, pCandidateA->getStrokeAttribute()))
 
void create2DDecompositionOfGraphic (Primitive2DContainer &rContainer, const Graphic &rGraphic, const basegfx::B2DHomMatrix &rTransform)
 
Primitive2DContainer create2DColorModifierEmbeddingsAsNeeded (const Primitive2DContainer &rChildren, GraphicDrawMode aGraphicDrawMode, double fLuminance=0.0, double fContrast=0.0, double fRed=0.0, double fGreen=0.0, double fBlue=0.0, double fGamma=1.0, bool bInvert=false)
 
Primitive2DReference createHiddenGeometryPrimitives2D (const basegfx::B2DHomMatrix &rMatrix)
 
Primitive2DReference createHiddenGeometryPrimitives2D (const basegfx::B2DPolyPolygon &rPolyPolygon)
 
Primitive2DReference createHiddenGeometryPrimitives2D (bool bFilled, const basegfx::B2DRange &rRange)
 
Primitive2DReference createHiddenGeometryPrimitives2D (bool bFilled, const basegfx::B2DRange &rRange, const basegfx::B2DHomMatrix &rMatrix)
 
Primitive2DReference createHiddenGeometryPrimitives2D (bool bFilled, const basegfx::B2DPolyPolygon &rPolyPolygon, const basegfx::B2DHomMatrix &rMatrix)
 
static const double fDiscreteSize (1.1)
 
TextLine mapFontLineStyleToTextLine (FontLineStyle eLineStyle)
 
FontLineStyle mapTextLineToFontLineStyle (TextLine eLineStyle)
 
TextStrikeout mapFontStrikeoutToTextStrikeout (FontStrikeout eFontStrikeout)
 
FontStrikeout mapTextStrikeoutToFontStrikeout (TextStrikeout eTextStrikeout)
 
static VirtualDeviceacquireGlobalVirtualDevice ()
 
static void releaseGlobalVirtualDevice ()
 
vcl::Font getVclFontFromFontAttribute (const attribute::FontAttribute &rFontAttribute, double fFontScaleX, double fFontScaleY, double fFontRotation, const css::lang::Locale &rLocale)
 
attribute::FontAttribute getFontAttributeFromVclFont (basegfx::B2DVector &o_rSize, const vcl::Font &rFont, bool bRTL, bool bBiDiStrong)
 
bool LocalesAreEqual (const css::lang::Locale &rA, const css::lang::Locale &rB)
 
Primitive2DReference DRAWINGLAYER_DLLPUBLIC tryMergeBorderLinePrimitive2D (const Primitive2DReference &rCandidateA, const Primitive2DReference &rCandidateB)
 
TextStrikeout DRAWINGLAYER_DLLPUBLIC mapFontStrikeoutToTextStrikeout (::FontStrikeout eFontStrikeout)
 

Variables

 HELPLINESTYLE_POINT
 
 HELPLINESTYLE_VERTICAL
 
 HELPLINESTYLE_HORIZONTAL
 
 MEASURETEXTPOSITION_AUTOMATIC
 
 MEASURETEXTPOSITION_NEGATIVE
 
 MEASURETEXTPOSITION_CENTERED
 
 MEASURETEXTPOSITION_POSITIVE
 
 TEXT_LINE_NONE
 
 TEXT_LINE_SINGLE
 
 TEXT_LINE_DOUBLE
 
 TEXT_LINE_DOTTED
 
 TEXT_LINE_DASH
 
 TEXT_LINE_LONGDASH
 
 TEXT_LINE_DASHDOT
 
 TEXT_LINE_DASHDOTDOT
 
 TEXT_LINE_SMALLWAVE
 
 TEXT_LINE_WAVE
 
 TEXT_LINE_DOUBLEWAVE
 
 TEXT_LINE_BOLD
 
 TEXT_LINE_BOLDDOTTED
 
 TEXT_LINE_BOLDDASH
 
 TEXT_LINE_BOLDLONGDASH
 
 TEXT_LINE_BOLDDASHDOT
 
 TEXT_LINE_BOLDDASHDOTDOT
 
 TEXT_LINE_BOLDWAVE
 
 TEXT_STRIKEOUT_NONE
 
 TEXT_STRIKEOUT_SINGLE
 
 TEXT_STRIKEOUT_DOUBLE
 
 TEXT_STRIKEOUT_BOLD
 
 TEXT_STRIKEOUT_SLASH
 
 TEXT_STRIKEOUT_X
 
 TEXT_FONT_EMPHASIS_MARK_NONE
 
 TEXT_FONT_EMPHASIS_MARK_DOT
 
 TEXT_FONT_EMPHASIS_MARK_CIRCLE
 
 TEXT_FONT_EMPHASIS_MARK_DISC
 
 TEXT_FONT_EMPHASIS_MARK_ACCENT
 
 TEXT_RELIEF_NONE
 
 TEXT_RELIEF_EMBOSSED
 
 TEXT_RELIEF_ENGRAVED
 
 FIELD_TYPE_COMMON
 
 FIELD_TYPE_PAGE
 
 FIELD_TYPE_URL
 
const Primitive2DReference &rCandidateB const primitive2d::BorderLinePrimitive2DpCandidateA
 
const primitive2d::BorderLinePrimitive2DpCandidateB
 
std::vector< BorderLineaMergedBorderLines