diff options
author | Thomas Lange <tl@openoffice.org> | 2009-05-14 08:01:25 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2009-05-14 08:01:25 +0000 |
commit | 2bf9e550715babfb280d482dd6c0dbed8ac0aa7e (patch) | |
tree | c00b6e925b1d9fb38fc75e73de9c821f4aefbe83 /starmath/source | |
parent | 44014e3a043f1b8fc3a5ed6a5e29a8fb0a6f3969 (diff) |
#i101241# new UI print dialog for Math
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/view.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 99008589aeef..97a93bc6bb61 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1018,13 +1018,13 @@ void SmViewShell::Impl_Print( { RTL_LOGFILE_CONTEXT( aLog, "starmath: SmViewShell::Impl_Print" ); - const bool bIsPrintTitle = rPrintUIOptions.getBoolValue( A2OU( PRTUIOPT_TITLE_ROW ), sal_True ); - const bool bIsPrintFrame = rPrintUIOptions.getBoolValue( A2OU( PRTUIOPT_BORDER ), sal_True ); - const bool bIsPrintFormulaText = rPrintUIOptions.getBoolValue( A2OU( PRTUIOPT_FORMULA_TEXT ), sal_True ); - SmPrintSize ePrintSize( static_cast< SmPrintSize >( rPrintUIOptions.getIntValue( A2OU( PRTUIOPT_PRINT_FORMAT ), PRINT_SIZE_NORMAL ) )); - const USHORT nZoomFactor = static_cast< USHORT >(rPrintUIOptions.getIntValue( A2OU( PRTUIOPT_PRINT_SCALE ), 100 )); + const bool bIsPrintTitle = rPrintUIOptions.getBoolValue( PRTUIOPT_TITLE_ROW, sal_True ); + const bool bIsPrintFrame = rPrintUIOptions.getBoolValue( PRTUIOPT_BORDER, sal_True ); + const bool bIsPrintFormulaText = rPrintUIOptions.getBoolValue( PRTUIOPT_FORMULA_TEXT, sal_True ); + SmPrintSize ePrintSize( static_cast< SmPrintSize >( rPrintUIOptions.getIntValue( PRTUIOPT_PRINT_FORMAT, PRINT_SIZE_NORMAL ) )); + const USHORT nZoomFactor = static_cast< USHORT >(rPrintUIOptions.getIntValue( PRTUIOPT_PRINT_SCALE, 100 )); // IsIgnoreSpacesRight is a parser option! Thus it does not get evaluated here anymore (too late). -// const bool bNoRightSpaces = rPrintUIOptions.getBoolValue( A2OU( PRTUIOPT_NO_RIGHT_SPACE ), sal_True ); +// const bool bNoRightSpaces = rPrintUIOptions.getBoolValue( PRTUIOPT_NO_RIGHT_SPACE, sal_True ); rOutDev.Push(); rOutDev.SetLineColor( Color(COL_BLACK) ); @@ -1113,7 +1113,7 @@ void SmViewShell::Impl_Print( MapMode OutputMapMode; // PDF export should always use PRINT_SIZE_NORMAL ... - if (!rPrintUIOptions.getBoolValue( A2OU( "IsPrinter" ), sal_False ) ) + if (!rPrintUIOptions.getBoolValue( "IsPrinter", sal_False ) ) ePrintSize = PRINT_SIZE_NORMAL; switch (ePrintSize) { |