summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-02-20 13:25:41 +0100
committerAndras Timar <andras.timar@collabora.com>2024-03-07 13:54:18 +0100
commit060851706f280386e4b968ad6b53c6e1cbc48ab6 (patch)
tree6f70beea9e5539f3890be2f4d18309ae557968b4 /include
parent9703fddea1058cb6018a5e693f03909d2b37315c (diff)
tdf#159793 Save printer paper tray in RTF and DOCX
Saves the paper tray id as w:paperSrc w:first and w:other in docx and \binfsxn and \binsxn in RTF Change-Id: I79004f54aba3b6609d7921afacf815726f7f2678 Change-Id: Ie3c11fffa6a133250b7db69b4e845bccaa8e2280 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163654 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit 8b191a6566065438417665af32fa30f8346ad4df) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163831
Diffstat (limited to 'include')
-rw-r--r--include/vcl/print.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index e23cf8d0af1b..e7c88f56bdd8 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -228,6 +228,7 @@ public:
bool SetPaperBin( sal_uInt16 nPaperBin );
sal_uInt16 GetPaperBin() const;
sal_uInt16 GetPaperBinBySourceIndex(sal_uInt16 nPaperSource) const;
+ sal_uInt16 GetSourceIndexByPaperBin(sal_uInt16 nPaperBin) const;
void SetPaper( Paper ePaper );
bool SetPaperSizeUser( const Size& rSize );
/** @return The paper format of the printer's current "jobsetup". Note that if PAPER_USER the actual size can be anything. */