/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: print.src,v $
 * $Revision: 1.1.2.4 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#include "svids.hrc"

ModalDialog SV_DLG_PRINT
{
    Text [en-US] = "Print";
    Closeable = TRUE;
    Sizeable = TRUE;
    Moveable = TRUE;
	Maxable = TRUE;
    SVLook = TRUE;
    
    Size = MAP_APPFONT( 350, 215 );
    
    OKButton SV_PRINT_OK
    {
        DefButton = TRUE;
        Pos = MAP_APPFONT( 240, 195 );
        Size = MAP_APPFONT( 50, 15 );
        Text [en-US] = "~Print";
    };
    CancelButton SV_PRINT_CANCEL
    {
        Pos = MAP_APPFONT( 295, 195 );
        Size = MAP_APPFONT( 50, 15 );
    };
    HelpButton SV_PRINT_HELP
    {
        Pos = MAP_APPFONT( 5, 5 );
        Size = MAP_APPFONT( 50, 15 );
    };
    
    Window SV_PRINT_PAGE_PREVIEW
    {
        Pos = MAP_APPFONT( 5, 5 );
        Size = MAP_APPFONT( 130, 130 );
        Border = FALSE;
    };
    NumericField SV_PRINT_PAGE_EDIT
    {
        Pos = MAP_APPFONT( 5, 140 );
        Size = MAP_APPFONT( 30, 12 );
        SVLook = TRUE;
        Spin = FALSE;
        Border = TRUE;
        HelpText [en-US] = "Select page to display in preview.";
    };
    FixedText SV_PRINT_PAGE_TXT
    {
        Pos = MAP_APPFONT( 40,142 );
        Size = MAP_APPFONT( 30, 12 );
        Text [ en-US ] = "/ %n";
        VCenter = TRUE;
    };
    PushButton SV_PRINT_PAGE_FORWARD
    {
        Pos = MAP_APPFONT( 95, 140 );
        Size = MAP_APPFONT( 15, 12 );
        HelpText [en-US] = "Scroll one page forward.";
    };
    PushButton SV_PRINT_PAGE_BACKWARD
    {
        Pos = MAP_APPFONT( 80, 140 );
        Size = MAP_APPFONT( 15, 12 );
        HelpText [en-US] = "Scroll one page backward.";
    };
    TabControl SV_PRINT_TABCTRL
    {
        Pos = MAP_APPFONT( 140, 5 );
        Size = MAP_APPFONT( 205, 175 );
    };
    FixedLine SV_PRINT_BUTTONLINE
    {
        Pos = MAP_APPFONT( 0, 185 );
        Size = MAP_APPFONT( 350, 8 );
    };
    String SV_PRINT_NOPAGES
    {
        Text [en-US] = "No pages";
    };

    String SV_PRINT_TOFILE_TXT
    {
        Text [en-US] = "Print to File...";
    };

    String SV_PRINT_DEFPRT_TXT
    {
        Text [en-US] = "Default printer";
    };
    

    String SV_PRINT_PRINTPREVIEW_TXT
    {
        Text [en-US] = "Print preview";
    };

    TabPage SV_PRINT_TAB_NUP
    {
        Text [en-US] = "Page Layout";
        Hide = TRUE;
        
        FixedLine SV_PRINT_PRT_NUP_LAYOUT_FL
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 150, 10 );
            Text [en-US] = "Layout";
        };
        RadioButton SV_PRINT_PRT_NUP_DEFAULT_BTN
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 10 );
            Text [en-US] = "~Default";
            HelpText [en-US] = "Print one page per sheet of paper.";
        };
        RadioButton SV_PRINT_PRT_NUP_BROCHURE_BTN
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 10 );
            Text = "";
        };
        RadioButton SV_PRINT_PRT_NUP_PAGES_BTN
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 10 );
            Text [en-US] = "Pa~ges per sheet";
            HelpText [en-US] = "Print multiple pages per sheet of paper.";
        };
        ListBox SV_PRINT_PRT_NUP_PAGES_BOX
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 80 );
            Border = TRUE;
            DropDown = TRUE;
            CurPos = 0;
            HelpText [en-US] = "Select how many pages to print per sheet of paper.";
            StringList [en-US] =
            {
                < "1"; 1; >;
                < "2"; 2; >;
                < "4"; 4; >;
                < "6"; 6; >;
                < "9"; 9; >;
                < "16"; 16; >;
                < "Custom"; 0xffff; >;
            };
        };
        FixedText SV_PRINT_PRT_NUP_NUM_PAGES_TXT
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 10 );
            Text [en-US] = "P~ages";
            VCenter = TRUE;
        };
        NumericField SV_PRINT_PRT_NUP_COLS_EDT
        {
            Pos = MAP_APPFONT( 55, 20 );
            Size = MAP_APPFONT( 40, 12 );
            Border = TRUE;
            Spin = TRUE;
            Minimum = 1;
            Maximum = 32;
            Value = 1;
            HelpText [en-US] = "Select number of columns.";
        };
        FixedText SV_PRINT_PRT_NUP_TIMES_TXT
        {
            Pos = MAP_APPFONT( 10, 35 );
            Size = MAP_APPFONT( 40, 10 );
            Text [en-US] = "b~y";
            VCenter = TRUE;
        };
        NumericField SV_PRINT_PRT_NUP_ROWS_EDT
        {
            Pos = MAP_APPFONT( 55, 35 );
            Size = MAP_APPFONT( 40, 12 );
            Border = TRUE;
            Spin = TRUE;
            Minimum = 1;
            Maximum = 32;
            Value = 1;
            HelpText [en-US] = "Select number of rows.";
        };
        FixedText SV_PRINT_PRT_NUP_MARGINS_PAGES_1_TXT
        {
            Pos = MAP_APPFONT( 10, 95 );
            Size = MAP_APPFONT( 40, 10 );
            Text [en-US] = "~Distance";
        };
        MetricField SV_PRINT_PRT_NUP_MARGINS_PAGES_EDT
        {
            Pos = MAP_APPFONT( 55, 95 );
            Size = MAP_APPFONT( 40, 12 );
            Spin = TRUE;
            Border = TRUE;
            Value = 0;
            Unit = FUNIT_MM;
            HelpText [en-US] = "Select margin between individual pages on each sheet of paper.";
        };
        FixedText SV_PRINT_PRT_NUP_MARGINS_PAGES_2_TXT
        {
            Pos = MAP_APPFONT( 10, 95 );
            Size = MAP_APPFONT( 40, 10 );
            Text [en-US] = "between pages";
        };
        FixedText SV_PRINT_PRT_NUP_MARGINS_SHEET_1_TXT
        {
            Pos = MAP_APPFONT( 110, 95 );
            Size = MAP_APPFONT( 40, 10 );
            Text [en-US] = "~Margin";
        };
        MetricField SV_PRINT_PRT_NUP_MARGINS_SHEET_EDT
        {
            Pos = MAP_APPFONT( 155, 95 );
            Size = MAP_APPFONT( 40, 12 );
            Spin = TRUE;
            Border = TRUE;
            Value = 0;
            Unit = FUNIT_MM;
            HelpText [en-US] = "Select margin between the printed pages and paper edge.";
        };
        FixedText SV_PRINT_PRT_NUP_MARGINS_SHEET_2_TXT
        {
            Pos = MAP_APPFONT( 110, 95 );
            Size = MAP_APPFONT( 40, 10 );
            Text [en-US] = "to sheet border";
        };
        FixedText SV_PRINT_PRT_NUP_ORIENTATION_TXT
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 10 );
            Text [en-US] = "~Orientation";
        };
        ListBox SV_PRINT_PRT_NUP_ORIENTATION_BOX
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 40 );
            Border = TRUE;
            DropDown = TRUE;
            CurPos = 0;
            StringList [en-US] =
            {
                < "Automatic"; SV_PRINT_PRT_NUP_ORIENTATION_AUTOMATIC; >;
                < "Portrait"; SV_PRINT_PRT_NUP_ORIENTATION_PORTRAIT; >;
                < "Landscape"; SV_PRINT_PRT_NUP_ORIENTATION_LANDSCAPE; >;
            };
            HelpText [en-US] = "Select the orientation of the paper.";
        };
        FixedText SV_PRINT_PRT_NUP_ORDER_TXT
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 10 );
            Text [en-US] = "Order";
        };
        ListBox SV_PRINT_PRT_NUP_ORDER_BOX
        {
            Pos = MAP_APPFONT( 0, 0 );
            Size = MAP_APPFONT( 10, 20 );
            DropDown = TRUE;
            Border = TRUE;
            CurPos = 0;
            StringList [en-US] =
            {
                < "left to right, then down"; SV_PRINT_PRT_NUP_ORDER_LRTD; >;
                < "top to bottom, then right"; SV_PRINT_PRT_NUP_ORDER_TDLR; >;
            };
            HelpText [en-US] = "Select order in which pages are to be printed.";
        };
        CheckBox SV_PRINT_PRT_NUP_BORDER_CB
        {
            Pos = MAP_APPFONT( 10, 65 );
            Size = MAP_APPFONT( 150, 12 );
            Text [en-US] = "Draw a border around each page";
            HelpText [en-US] = "Check to draw a border around each page.";
        };
    };
    
    TabPage SV_PRINT_TAB_JOB
    {
        Text [en-US] = "General";
        Hide = TRUE;
        
        FixedLine SV_PRINT_PRINTERS_FL
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 100, 10 );
            Text [ en-US ] = "Prin~ter";
        };
        ListBox SV_PRINT_PRINTERS
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 100, 80 );
            Border = TRUE;
            Sort = TRUE;
            HelpText [en-US] = "Select the printer to print on.";
        };
        CheckBox SV_PRINT_DETAILS_BTN
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 5, 5 );
            Text [en-US] = "Details";
            HelpText [en-US] = "Show/Hide detailed information of the selected printer.";
        };
        FixedText SV_PRINT_STATUS_TXT
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 100, 10 );
            Text [en-US] = "Status:";
        };
        FixedText SV_PRINT_LOCATION_TXT
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 100, 10 );
            Text [en-US] = "Location:";
        };
        FixedText SV_PRINT_COMMENT_TXT
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 100, 10 );
            Text [en-US] = "Comment:";
        };
        PushButton SV_PRINT_PRT_SETUP
        {
            Pos = MAP_APPFONT( 115, 5 );
            Size = MAP_APPFONT( 50, 15 );
            Text [en-US] = "Properties...";
            HelpText [en-US] = "Call the setup dialog of the selected printer.";
        };
        FixedLine SV_PRINT_COPIES
        {
            Pos = MAP_APPFONT( 5, 35 );
            Size = MAP_APPFONT( 150, 10 );
            Text [en-US] = "Range and Copies";
        };
        FixedText SV_PRINT_COPYCOUNT
        {
            Pos = MAP_APPFONT( 10, 45 );
            Size = MAP_APPFONT( 80, 10 );
            Text [en-US] = "Number of copies";
        };
        NumericField SV_PRINT_COPYCOUNT_FIELD
        {
            Pos = MAP_APPFONT( 10, 56 );
            Size = MAP_APPFONT( 40, 12 );
            Border = TRUE;
            Spin = TRUE;
            Minimum = 1;
            Maximum = 16384;
            Value = 1;
            HelpText [en-US] = "Select the number of copies to be produced.";
        };
        FixedImage SV_PRINT_COLLATE_IMAGE
        {
            Pos = MAP_APPFONT( 95, 60 );
            Size = MAP_PIXEL( 80, 30 );
        };
        CheckBox SV_PRINT_COLLATE
        {
            Pos = MAP_APPFONT( 95, 45 );
            Size = MAP_APPFONT( 70, 10 );
            Text [en-US] = "Collate";
            HelpText [en-US] = "Select whether copies should be collated or not.";
        };
            
        Image SV_PRINT_COLLATE_IMG
        {
            ImageBitmap = Bitmap { File = "collate.png" ; };
        };
        
        Image SV_PRINT_NOCOLLATE_IMG
        {
            ImageBitmap = Bitmap { File = "ncollate.png" ; };
        };
        
        Image SV_PRINT_COLLATE_HC_IMG
        {
            ImageBitmap = Bitmap { File = "collate_h.png" ; };
        };
        
        Image SV_PRINT_NOCOLLATE_HC_IMG
        {
            ImageBitmap = Bitmap { File = "ncollate_h.png" ; };
        };
    };

    TabPage SV_PRINT_TAB_OPT
    {
        Text [en-US] = "Options";
        Hide = TRUE;

        FixedLine SV_PRINT_OPT_PRINT_FL
        {
            Pos = MAP_APPFONT( 5, 5 );
            Size = MAP_APPFONT( 150, 10 );
            Text [en-US] = "Options";
        };
        CheckBox SV_PRINT_OPT_TOFILE
        {
            Pos = MAP_APPFONT( 10, 20 );
            Size = MAP_APPFONT( 200, 12 );
            Text [en-US] = "Print to ~file";
            HelpText [en-US] = "Check to send output to a file instead of the actual printer.";
        };
        CheckBox SV_PRINT_OPT_SINGLEJOBS
        {
            Pos = MAP_APPFONT( 10, 35 );
            Size = MAP_APPFONT( 200, 12 );
            Text [en-US] = "~Create single print jobs for collated output";
            HelpText [en-US] = "Check to not rely on the printer to create collated copies but create a print job for each copy instead.";
        };
        CheckBox SV_PRINT_OPT_REVERSE
        {
            Pos = MAP_APPFONT( 10, 50 );
            Size = MAP_APPFONT( 200, 12 );
            Text [en-US] = "Print in ~reverse page order";
            HelpText [en-US] = "Check to print pages in reverse order.";
        };        
    };
};

ModelessDialog SV_DLG_PRINT_PROGRESS
{
    Text [en-US] = "Printing";
    Closeable = FALSE;
    Sizeable = FALSE;
    Moveable = TRUE;
    SVLook = TRUE;
    
    Size = MAP_APPFONT( 120, 70 );
    
    CancelButton SV_PRINT_PROGRESS_CANCEL
    {
        Pos = MAP_APPFONT( 35, 50 );
        Size = MAP_APPFONT( 50, 15 );
    };
    FixedText SV_PRINT_PROGRESS_TEXT
    {
        Pos = MAP_APPFONT( 5,10 );
        Size = MAP_APPFONT( 110, 10 );
        Text [ en-US ] = "Page %p of %n";
        Center = TRUE;
    };
};

ErrorBox SV_PRINT_NOPRINTERWARNING
{
    Title = "%PRODUCTNAME";
    Message [en-US] = "No default printer found.\nPlease choose a printer and try again.";
};

ErrorBox SV_PRINT_NOCONTENT
{
    Title = "%PRODUCTNAME";
    Message [en-US] = "There are no pages to be printed. Please check your document for ranges relevant to printing.";
};

StringArray SV_PRINT_NATIVE_STRINGS
{
    ItemList [en-US] =
    {
        < "Preview"; >;
        < "Page number"; >;
        < "Number of pages"; >;
        < "More"; >;
    };
};
