Kaydet (Commit) 67e87f8b authored tarafından David Tardon's avatar David Tardon

fdo#62224 reconstruct border state for table dialog

Change-Id: I68a4cd1974579119a2d6dccba008441a9bec78df
üst a3b384ee
...@@ -683,6 +683,11 @@ bool SvxBorderLine::HasPriority( const SvxBorderLine& rOtherLine ) const ...@@ -683,6 +683,11 @@ bool SvxBorderLine::HasPriority( const SvxBorderLine& rOtherLine ) const
return false; return false;
} }
bool operator!=( const SvxBorderLine& rLeft, const SvxBorderLine& rRight )
{
return !(rLeft == rRight);
}
} // namespace editeng } // namespace editeng
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -160,7 +160,7 @@ namespace editeng { ...@@ -160,7 +160,7 @@ namespace editeng {
static BorderWidthImpl getWidthImpl( SvxBorderStyle nStyle ); static BorderWidthImpl getWidthImpl( SvxBorderStyle nStyle );
}; };
// ============================================================================ EDITENG_DLLPUBLIC bool operator!=( const SvxBorderLine& rLeft, const SvxBorderLine& rRight );
} // namespace editeng } // namespace editeng
......
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
class SdrObjEditView; class SdrObjEditView;
class SdrObject; class SdrObject;
class SfxItemSet; class SfxItemSet;
class SvxBoxInfoItem;
class SvxBoxItem;
namespace sdr { namespace table { namespace sdr { namespace table {
...@@ -78,6 +80,12 @@ public: ...@@ -78,6 +80,12 @@ public:
SVX_DLLPRIVATE void MergeAttrFromSelectedCells(SfxItemSet& rAttr, bool bOnlyHardAttr) const; SVX_DLLPRIVATE void MergeAttrFromSelectedCells(SfxItemSet& rAttr, bool bOnlyHardAttr) const;
SVX_DLLPRIVATE void SetAttrToSelectedCells(const SfxItemSet& rAttr, bool bReplaceAll); SVX_DLLPRIVATE void SetAttrToSelectedCells(const SfxItemSet& rAttr, bool bReplaceAll);
/** Fill the values that are common for all selected cells.
*
* This lets the Borders dialog to display the line arrangement
* properly.
*/
SVX_DLLPRIVATE void FillCommonBorderAttrFromSelectedCells(SvxBoxItem& rBox, SvxBoxInfoItem& rBoxInfo) const;
SVX_DLLPRIVATE virtual bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const; SVX_DLLPRIVATE virtual bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const;
SVX_DLLPRIVATE virtual bool SetAttributes(const SfxItemSet& rSet, bool bReplaceAll); SVX_DLLPRIVATE virtual bool SetAttributes(const SfxItemSet& rSet, bool bReplaceAll);
......
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