summaryrefslogtreecommitdiff
path: root/include/svx/framelinkarray.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-07-20 15:11:30 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2017-07-28 17:51:56 +0200
commite32c12a444e5bd0c6735db8e8008340c29a7e25e (patch)
tree50262efd53047ee92f5f39f9a1fd6c9e00917fc7 /include/svx/framelinkarray.hxx
parent1118e5b986e4df8a417edcd4ee23a40fb64a0a38 (diff)
borderline: adaptions to primitives
Handling and paint of borderlines greatly adapted to primitive usage. Solved the double paint mechanisn to no longer use the sc-local special cases. The svx tooling for borderline paint is now the only one and was extended to also handle diagonal lines. Big cleanups/removals of old paint to OutputDevice and sc-specific rendering. All other app-usages of borderline also adapted. Preparations for careful line-start/end adaption prepared and possible due to unified coordinate-system usages and basegfx class-usage Change-Id: If9e4efcfc0fe25e14d4052907038ca5cf222a432
Diffstat (limited to 'include/svx/framelinkarray.hxx')
-rw-r--r--include/svx/framelinkarray.hxx28
1 files changed, 7 insertions, 21 deletions
diff --git a/include/svx/framelinkarray.hxx b/include/svx/framelinkarray.hxx
index 9208f67b46ae..15d8dcf1d9cf 100644
--- a/include/svx/framelinkarray.hxx
+++ b/include/svx/framelinkarray.hxx
@@ -23,6 +23,7 @@
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <svx/framelink.hxx>
#include <svx/svxdllapi.h>
+#include <svx/rotmodit.hxx>
#include <memory>
#include <vector>
@@ -119,6 +120,12 @@ public:
/** Sets the bottom frame style of the specified row. Ignores merged ranges. */
void SetRowStyleBottom( size_t nRow, const Style& rStyle );
+ /** Sets the rotation parameters of the cell (nCol,nRow). Ignores merged ranges. */
+ void SetCellRotation(size_t nCol, size_t nRow, SvxRotateMode eRotMode, double fOrientation);
+
+ /** Check if at least one cell is rotated */
+ bool HasCellRotation() const;
+
/** Returns the left frame style of the cell (nCol,nRow).
Returns thicker of own left style or right style of the cell to the left.
Returns the style only if visible (i.e. at left border of a merged range).
@@ -246,9 +253,6 @@ public:
clipped too. This array can handle only one clip range at a time. */
void SetClipRange( size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLastRow );
- /** Returns the rectangle (output coordinates) of the current clipping range. */
- tools::Rectangle GetClipRangeRectangle() const;
-
// cell coordinates -------------------------------------------------------
/** Sets the X output coordinate of the left column. */
@@ -313,14 +317,6 @@ public:
Returns the vertical angle of merged ranges. */
double GetVerDiagAngle( size_t nCol, size_t nRow ) const;
- /** Specifies whether to use polygon clipping to draw diagonal frame borders.
- @descr
- If enabled, diagonal frame borders are drawn interrupted, if they are
- crossed by a double frame border. Polygon clipping is very expensive
- and should only be used for very small output devices (i.e. in the
- Border tab page). Default after construction is OFF. */
- void SetUseDiagDoubleClipping( bool bSet );
-
// mirroring --------------------------------------------------------------
/** Mirrors the entire array horizontally. */
@@ -336,16 +332,6 @@ public:
size_t nLastCol, size_t nLastRow,
const Color* pForceColor ) const;
- /** Draws the part of the specified range, that is inside the clipping range.
- @param pForceColor
- If not NULL, only this color will be used to draw all frame borders. */
- void DrawRange( OutputDevice& rDev,
- size_t nFirstCol, size_t nFirstRow,
- size_t nLastCol, size_t nLastRow ) const;
-
- /** Draws the part of the array, that is inside the clipping range. */
- void DrawArray(OutputDevice& rDev) const;
-
/** Draws the part of the array, that is inside the clipping range. */
void DrawArray(drawinglayer::processor2d::BaseProcessor2D& rProcessor) const;