summaryrefslogtreecommitdiff
path: root/offapi/com
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-03-16 20:10:18 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-03-25 09:49:33 +0100
commit56d8007a197b095b09423c691a51515567648e80 (patch)
tree63ce068e98e368587e57e5e686dc09a27bd9ec74 /offapi/com
parent473f2dec087288309cb169bf84c12124e1d7d7d1 (diff)
tdf#134734 tdf#141059 tdf#122508 cui,sw,xmloff: BackgroundFullSize
* add BackgroundFullSize property to PageProperties * add a checkbox on the SvxPageDescPage * marshal the item via SfxGrabBagItem to avoid changing svxids.hrc * add RES_BACKGROUND_FULL_SIZE item, pool default is "true" which is appropriate for Word import filters * ODF export: remove hard-coded export in XMLPageMasterExportPropMapper::ContextFilter() * use it in SwFrame::PaintSwFrameBackground() * fix painting of bitmaps by also using the page frame area in SwFrame::GetBackgroundBrush(), which was the reason why f006b6339e20af6a3fbd60d97d21590d4ebf5021 painted things inconsistently * force repaint in lcl_DescSetAttr()/SwFrame::UpdateAttrFrame() Change-Id: I4cb64f87c01d17c051936e9b8128395fbb8b4fe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112594 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'offapi/com')
-rw-r--r--offapi/com/sun/star/style/PageProperties.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/offapi/com/sun/star/style/PageProperties.idl b/offapi/com/sun/star/style/PageProperties.idl
index dccd63f20b04..29b561e34538 100644
--- a/offapi/com/sun/star/style/PageProperties.idl
+++ b/offapi/com/sun/star/style/PageProperties.idl
@@ -494,6 +494,13 @@ published service PageProperties
*/
[optional, property] long GutterMargin;
+ /** does the background cover the full page or only inside the
+ margins?
+
+ @since LibreOffice 7.2
+ */
+ [optional, property] boolean BackgroundFullSize;
+
};
}; }; }; };