Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Rob,

thanks a lot, great work! :)

Just one detail: if you add smth to 'static const int PaperIndex' (print.cxx), I suppose you also have to add it to RID_STR_PAPERNAMES (print.src):

OSL_ENSURE( sal_uInt32(SAL_N_ELEMENTS(PaperIndex)) == aPaperStrings.Count(), "localized paper name count wrong" );

But hmmm... Where we will see the effect?

$ git grep GetPaperName
editeng/source/items/paperinf.cxx: return String( Printer::GetPaperName( ePaper ) );
[some garbage...]
vcl/source/gdi/print.cxx: return (ePaper != PAPER_USER || i_bPaperUser ) ? GetPaperName( ePaper ) : rtl::OUString(); vcl/source/window/printdlg.cxx: aPrt->GetPaperName( false ),

The first occurrence in editeng is a mysterious wrapper, used in Writer (Insert -> Envelope... -> Format). The last occurrence is the print dialog code, we see a paper name in parentheses above the print preview.

I wonder why the 'Screen' entry is there. Is it a standardized page format name? ( *whisper* yeah, I'd like to remove it... :)

Regards,
Ivan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.