Kaydet (Commit) 5c2d284b authored tarafından Kurt Zenker's avatar Kurt Zenker

CWS-TOOLING: integrate CWS printerpullpages

/*************************************************************************
*
* 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: BezierObjectBar.hxx,v $
* $Revision: 1.5 $
*
* 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.
*
************************************************************************/
#ifndef SD_DOCUMENT_RENDERER_HXX
#define SD_DOCUMENT_RENDERER_HXX
#include "ViewShellBase.hxx"
#include <com/sun/star/view/XRenderable.hpp>
#include <cppuhelper/compbase1.hxx>
#include <cppuhelper/basemutex.hxx>
#include <boost/scoped_ptr.hpp>
namespace css = ::com::sun::star;
namespace sd {
namespace {
typedef ::cppu::WeakComponentImplHelper1 <
::com::sun::star::view::XRenderable
> DocumentRendererInterfaceBase;
}
class DocumentRenderer
: protected ::cppu::BaseMutex,
public DocumentRendererInterfaceBase
{
public:
DocumentRenderer (ViewShellBase& rBase);
virtual ~DocumentRenderer (void);
// XRenderable
virtual sal_Int32 SAL_CALL getRendererCount (
const css::uno::Any& aSelection,
const css::uno::Sequence<css::beans::PropertyValue >& xOptions)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
virtual css::uno::Sequence<css::beans::PropertyValue> SAL_CALL getRenderer (
sal_Int32 nRenderer,
const css::uno::Any& rSelection,
const css::uno::Sequence<css::beans::PropertyValue>& rxOptions)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
virtual void SAL_CALL render (
sal_Int32 nRenderer,
const css::uno::Any& rSelection,
const css::uno::Sequence<css::beans::PropertyValue>& rxOptions)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
private:
class Implementation;
::boost::scoped_ptr<Implementation> mpImpl;
};
} // end of namespace sd
#endif
/*************************************************************************
*
* 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: PrintManager.hxx,v $
* $Revision: 1.10 $
*
* 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.
*
************************************************************************/
#ifndef SD_PRINT_MANAGER_HXX
#define SD_PRINT_MANAGER_HXX
#include "pres.hxx"
#include <tools/solar.h>
#include <tools/errcode.hxx>
#include <sfx2/viewsh.hxx>
class Font;
class MultiSelection;
class PrintDialog;
class SdOptionsPrintItem;
class SdPage;
class String;
class SfxItemSet;
class SfxPrinter;
class SfxProgress;
class SfxTabPage;
class Window;
namespace sd {
class DrawView;
class View;
class ViewShell;
class ViewShellBase;
/** Manage the printing of documents.
This includes functions about asking the user for specific
information what to print as well as high to medium level printing.
*/
class PrintManager
{
public:
/* Create a new print manager for the given view shell.
@param rViewShell
The life time of that view shell has to exceed that of the
print manager.
*/
PrintManager (ViewShellBase& rViewShell);
virtual ~PrintManager (void);
/// Forwarded to the document shell.
virtual SfxPrinter* GetPrinter (BOOL bCreate = FALSE);
/// Forwarded to the main sub-shell.
virtual USHORT SetPrinter (
SfxPrinter* pNewPrinter,
USHORT nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false);
/// Forwarded to the main sub-shell.
virtual PrintDialog* CreatePrintDialog (::Window *pParent);
/** Create an options tab page for the curren document.
*/
virtual SfxTabPage* CreatePrintOptionsPage (
::Window *pParent,
const SfxItemSet &rOptions);
/** Print the document.
@param pDialog
The dialog specifies what to print.
*/
virtual USHORT Print (SfxProgress& rProgress, BOOL bIsAPI, PrintDialog* pDialog);
/** Show a dialog that allows the user to select the print range
(among other things) before starting the actual printing.
*/
virtual ErrCode DoPrint (
SfxPrinter *pPrinter,
PrintDialog *pPrintDialog,
BOOL bSilent, BOOL bIsAPI );
/** When called with <TRUE/> then printing is restricted to the
selected pages. Otherwise all pages are printed. Note that
you have to set the page range with a call to
SetPrintingPageRange().
*/
void RestrictPrintingToSelection (bool bFlag);
/** Set the range of the pages to print. This is taken into
account only after a previous call to
RestrictPrintingToSelection() with <TRUE/> as argument.
*/
void SetPrintingPageRange (const String& rsPageRange);
USHORT SetPrinterOptDlg (
SfxPrinter* pNewPrinter,
USHORT nDiffFlags = SFX_PRINTER_ALL,
BOOL _bShowDialog = TRUE);
void PreparePrint (PrintDialog* pPrintDialog = 0);
private:
ViewShellBase& mrBase;
bool mbPrintDirectSelected;
String msPageRange;
/// Copy constructor not supported.
PrintManager (const PrintManager&);
/// Assignment operator not supported.
PrintManager& operator= (const PrintManager&);
/** Make sure that the pages that are to be printed do fit to the
printer pages. When the internal pages are larger then the printer
pages and no method of resolution has yet been provided then a
dialog is opened that asks for one. These methods are
a) scale internal page down to the printer page,
b) crop internal page
c) print internal page on several printer pages.
@param pPrinter
The printer to print the pages on that are specified by the
msPageRange member.
@param bSilent
This flag, when set, tells the method not to wait for user
input, i.e. show a dialog.
@return
The returned flag indicates whether the method was successfull (<TRUE/>)
or whether the printing has to be aborted (<FALSE/>). The later
one is the case only when the dialog is shown and the user
selects 'Cancel'.
*/
bool FitPageToPrinterWithDialog (
SfxPrinter *pPrinter,
bool bSilent);
class PrintInfo;
/** Print outline pages.
*/
void PrintOutline (
PrintInfo& rInfo,
USHORT nPage);
/** Print handout pages.
*/
void PrintHandout (
PrintInfo& rInfo,
USHORT nPage);
/** Print slides or notes pages.
*/
void PrintStdOrNotes (
PrintInfo& rInfo,
USHORT nPage,
PageKind ePageKind,
BOOL bPrintMarkedOnly);
/** Print a part of the given page that is specified by the given page
origin and the size of the printable area. This method is used
primarily when the page to print is larger than the printable area
and the page is printed in several parts.
*/
void PrintPagePart (
PrintInfo& rInfo,
SdPage* pPage,
DrawView& rPrintView,
const Point& rPageOrigin,
BOOL bPrintMarkedOnly,
const String& rsPageString,
const Point& rStringOffset);
/** This method is similar to PrintPagePart() and should be unified with
that.
*/
void PrintPage(
PrintInfo& rInfo,
::sd::View* pPrintView,
SdPage* pPage,
BOOL bPrintMarkedOnly);
/** Return <TRUE/> when the document pages have the 'Screen' size. Only
the first page of the document is used to determine the size.
*/
bool IsScreenFormat (void);
/** creates the needed shapes on the handout page for the given layout */
void InitHandoutTemplate( PrintInfo& rInfo, USHORT nSlidesPerHandout, BOOL bHandoutHorizontal );
};
} // end of namespace sd
#endif
...@@ -136,6 +136,11 @@ public: ...@@ -136,6 +136,11 @@ public:
*/ */
virtual ErrCode DoVerb (long nVerb); virtual ErrCode DoVerb (long nVerb);
/** Return a new renderer that can be used for example for printing the
document.
*/
virtual com::sun::star::uno::Reference<com::sun::star::view::XRenderable> GetRenderable (void);
/// Forwarded to the print manager. /// Forwarded to the print manager.
virtual SfxPrinter* GetPrinter (BOOL bCreate = FALSE); virtual SfxPrinter* GetPrinter (BOOL bCreate = FALSE);
...@@ -261,7 +266,7 @@ public: ...@@ -261,7 +266,7 @@ public:
/** returns the ui descriptive name for the given uno slot. The result is taken from the configuration /** returns the ui descriptive name for the given uno slot. The result is taken from the configuration
and not cached, so do not use it excessive (f.e. in status updates) */ and not cached, so do not use it excessive (f.e. in status updates) */
::rtl::OUString RetrieveLabelFromCommand( const ::rtl::OUString& aCmdURL ) const; ::rtl::OUString RetrieveLabelFromCommand( const ::rtl::OUString& aCmdURL ) const;
protected: protected:
osl::Mutex maMutex; osl::Mutex maMutex;
......
...@@ -122,8 +122,6 @@ using namespace ::com::sun::star; ...@@ -122,8 +122,6 @@ using namespace ::com::sun::star;
extern uno::Reference< uno::XInterface > SdUnoCreatePool( SdDrawDocument* pDrawModel ); extern uno::Reference< uno::XInterface > SdUnoCreatePool( SdDrawDocument* pDrawModel );
///////////////////////////////////////////////////////////////////////
class SdUnoForbiddenCharsTable : public SvxUnoForbiddenCharsTable, class SdUnoForbiddenCharsTable : public SvxUnoForbiddenCharsTable,
public SfxListener public SfxListener
{ {
...@@ -1516,7 +1514,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SdXImpressDocument::getRenderer( ...@@ -1516,7 +1514,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SdXImpressDocument::getRenderer(
sal_Bool bExportNotesPages = sal_False; sal_Bool bExportNotesPages = sal_False;
for( sal_Int32 nProperty = 0, nPropertyCount = rxOptions.getLength(); nProperty < nPropertyCount; ++nProperty ) for( sal_Int32 nProperty = 0, nPropertyCount = rxOptions.getLength(); nProperty < nPropertyCount; ++nProperty )
{ {
if( rxOptions[ nProperty ].Name == OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportNotesPages" ) ) ) if( rxOptions[ nProperty ].Name.equalsAscii( "ExportNotesPages" ) )
rxOptions[ nProperty].Value >>= bExportNotesPages; rxOptions[ nProperty].Value >>= bExportNotesPages;
} }
uno::Sequence< beans::PropertyValue > aRenderer; uno::Sequence< beans::PropertyValue > aRenderer;
......
This diff is collapsed.
/*************************************************************************
*
* 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: printdialog.hrc,v $
* $Revision: 1.3 $
*
* 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.
*
************************************************************************/
#define _STR_IMPRESS_PRINT_UI_OPTIONS 32001
#define _STR_IMPRESS_PRINT_UI_GROUP_NAME 1
#define _STR_IMPRESS_PRINT_UI_PRINT_CONTENT 2
#define _STR_IMPRESS_PRINT_UI_PRINT_GROUP 3
#define _STR_IMPRESS_PRINT_UI_CONTENT 4
#define _STR_IMPRESS_PRINT_UI_CONTENT_HELP 5
#define _STR_IMPRESS_PRINT_UI_CONTENT_CHOICES 6
#define _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE 7
#define _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE_CHOICES 8
#define _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE_CHOICES_HELP 9
#define _STR_IMPRESS_PRINT_UI_ORDER 10
#define _STR_IMPRESS_PRINT_UI_ORDER_CHOICES 11
#define _STR_IMPRESS_PRINT_UI_ORDER_CHOICES_HELP 12
#define _STR_IMPRESS_PRINT_UI_INCLUDE_CONTENT 13
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_NAME 14
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_NAME_HELP 15
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_DATE 16
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_DATE_HELP 17
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_TIME 18
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_TIME_HELP 19
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_HIDDEN 20
#define _STR_IMPRESS_PRINT_UI_IS_PRINT_HIDDEN_HELP 21
#define _STR_IMPRESS_PRINT_UI_OUTPUT_OPTIONS_GROUP 22
#define _STR_IMPRESS_PRINT_UI_QUALITY 23
#define _STR_IMPRESS_PRINT_UI_QUALITY_CHOICES 24
#define _STR_IMPRESS_PRINT_UI_QUALITY_CHOICES_HELP 25
#define _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS 26
#define _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES 27
#define _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_DRAW 28
#define _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_HELP 29
#define _STR_IMPRESS_PRINT_UI_BROCHURE 30
#define _STR_IMPRESS_PRINT_UI_BROCHURE_HELP 31
#define _STR_IMPRESS_PRINT_UI_PAGE_SIDES 32
#define _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE 33
#define _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_HELP 34
#define _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST 35
#define _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST_HELP 36
#define _STR_IMPRESS_PRINT_UI_PAPER_TRAY_GROUP 37
#define _STR_IMPRESS_PRINT_UI_PAPER_TRAY 38
#define _STR_IMPRESS_PRINT_UI_PAPER_TRAY_HELP 39
#define _STR_IMPRESS_PRINT_UI_PAGE_RANGE 40
#define _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE 41
#define _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE_HELP 42
#define _STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE 43
#define _STR_DRAW_PRINT_UI_IS_PRINT_NAME 44
#define _STR_DRAW_PRINT_UI_IS_PRINT_NAME_HELP 45
/*************************************************************************
*
* 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: printdialog.src,v $
* $Revision: 1.3 $
*
* 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 "app.hrc"
#include "DocumentRenderer.hrc"
Resource _STR_IMPRESS_PRINT_UI_OPTIONS
{
String _STR_IMPRESS_PRINT_UI_GROUP_NAME
{
Text [en-US] = "%PRODUCTNAME %s";
};
String _STR_IMPRESS_PRINT_UI_PRINT_CONTENT
{
Text [ en-US ] = "Print content";
};
String _STR_IMPRESS_PRINT_UI_PRINT_GROUP
{
Text [ en-US ] = "Print";
};
String _STR_IMPRESS_PRINT_UI_CONTENT
{
Text [ en-US ] = "Document";
};
StringArray _STR_IMPRESS_PRINT_UI_CONTENT_HELP
{
ItemList [ en-US ] =
{
< "Select which parts of the document should be printed"; >;
< "Select which parts of the document should be printed"; >;
};
};
StringArray _STR_IMPRESS_PRINT_UI_CONTENT_CHOICES
{
ItemList [ en-US ] =
{
< "Slides" ; > ;
< "Handouts" ; > ;
< "Notes" ; > ;
< "Outline" ; > ;
};
};
String _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE
{
Text [ en-US ] = "Slides per page" ;
};
StringArray _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE_CHOICES
{
ItemList [ en-US ] =
{
< "1" ; > ;
< "2" ; > ;
< "3" ; > ;
< "4" ; > ;
< "6" ; > ;
< "9" ; > ;
};
};
StringArray _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE_CHOICES_HELP
{
ItemList [ en-US ] =
{
< "Select how many slides to print per page." ; >;
< "Select how many slides to print per page." ; >;
};
};
String _STR_IMPRESS_PRINT_UI_ORDER
{
Text [ en-US ] = "Order" ;
};
StringArray _STR_IMPRESS_PRINT_UI_ORDER_CHOICES
{
ItemList [ en-US ] =
{
< "Left to right, then down" ; > ;
< "Top to bottom, then right" ; > ;
};
};
StringArray _STR_IMPRESS_PRINT_UI_ORDER_CHOICES_HELP
{
ItemList [ en-US ] =
{
< "Specify how to arrange slides on the printed page." ; > ;
< "Arrange slides horizontally" ; > ;
< "Arrange slides vertically" ; > ;
};
};
String _STR_IMPRESS_PRINT_UI_INCLUDE_CONTENT
{
Text [ en-US ] = "~Contents";
};
String _STR_IMPRESS_PRINT_UI_IS_PRINT_NAME
{
Text [ en-US ] = "~Slide name";
};
String _STR_IMPRESS_PRINT_UI_IS_PRINT_NAME_HELP
{
Text [ en-US ] = "Specifies whether to print the page name of a document.";
};
String _STR_DRAW_PRINT_UI_IS_PRINT_NAME
{
Text [ en-US ] = "P~age name";
};
String _STR_DRAW_PRINT_UI_IS_PRINT_NAME_HELP
{
Text [ en-US ] = "Specifies whether to print the page name of a document.";
};
String _STR_IMPRESS_PRINT_UI_IS_PRINT_DATE
{
Text [ en-US ] = "~Date and time";
};
String _STR_IMPRESS_PRINT_UI_IS_PRINT_DATE_HELP
{
Text [ en-US ] = "Specifies whether to print the current date and time.";
};
String _STR_IMPRESS_PRINT_UI_IS_PRINT_HIDDEN
{
Text [ en-US ] = "Hidden pages";
};
String _STR_IMPRESS_PRINT_UI_IS_PRINT_HIDDEN_HELP
{
Text [ en-US ] = "Specifies whether to print the pages that are currently hidden from the application.";
};
String _STR_IMPRESS_PRINT_UI_OUTPUT_OPTIONS_GROUP
{
Text [ en-US ] = "Output options";
};
String _STR_IMPRESS_PRINT_UI_QUALITY
{
Text [ en-US ] = "Color";
};
StringArray _STR_IMPRESS_PRINT_UI_QUALITY_CHOICES
{
ItemList [ en-US ] =
{
< "Original colors" ; > ;
< "Grayscale" ; > ;
< "Black & White" ; > ;
};
};
StringArray _STR_IMPRESS_PRINT_UI_QUALITY_CHOICES_HELP
{
ItemList [ en-US ] =
{
< "Specify how to treat colors in the printout."; >;
< "Specifies that you want to print in original colors." ; > ;
< "Specifies that you want to print colors as grayscale." ; > ;
< "Specifies that you want to print in black and white." ; > ;
};
};
String _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS
{
Text [ en-US ] = "~Size";
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES
{
ItemList [ en-US ] =
{
< "Original size" ; > ;
< "Fit to printable page" ; > ;
< "Distribute on multiple paper sheets" ; > ;
< "Tile paper sheet with repeated slides" ; > ;
};
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_DRAW
{
ItemList [ en-US ] =
{
< "Original size" ; > ;
< "Fit to printable page" ; > ;
< "Distribute on multiple paper sheets" ; > ;
< "Tile paper sheet with repeated pages" ; > ;
};
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_HELP
{
ItemList [ en-US ] =
{
< "Specify how to scale slides in the printout."; >;
< "Specifies that you do not want to further scale pages when printing." ; > ;
< "Specifies whether to scale down objects that are beyond the margins of the current printer so they fit on the paper in the printer." ; > ;
< "Specifies that pages are to be printed in tiled format. If the pages or slides are smaller than the paper, several pages or slides will be printed on one page of paper." ; > ;
};
};
String _STR_IMPRESS_PRINT_UI_BROCHURE
{
Text [en-US] = "Brochure";
};
String _STR_IMPRESS_PRINT_UI_BROCHURE_HELP
{
Text [en-US] = "Select the \"Brochure\" option to print the document in brochure format.";
};
String _STR_IMPRESS_PRINT_UI_PAGE_SIDES
{
Text [ en-US ] = "Page sides";
};
String _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE
{
Text [ en-US ] = "Include";
};
String _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_HELP
{
Text [ en-US ] = "Select which pages of a brochure to print.";
};
StringArray _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST
{
ItemList [ en-US ] =
{
< "All pages" ; > ;
< "Front sides / right pages" ; > ;
< "Back sides / left pages" ; > ;
};
};
StringArray _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST_HELP
{
ItemList [ en-US ] =
{
< "Print all pages of a brochure." ; > ;
< "Print only front pages of a brochure." ; > ;
< "Print only back pages of a brochure." ; > ;
};
};
String _STR_IMPRESS_PRINT_UI_PAPER_TRAY_GROUP
{
Text [ en-US ] = "Paper tray";
};
String _STR_IMPRESS_PRINT_UI_PAPER_TRAY
{
Text [ en-US ] = "~Use only paper tray from printer preferences";
};
String _STR_IMPRESS_PRINT_UI_PAPER_TRAY_HELP
{
Text [ en-US ] = "Determines that the paper tray to be used is the one defined in the printer setup.";
};
String _STR_IMPRESS_PRINT_UI_PAGE_RANGE
{
Text [en-US] = "Print range";
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE
{
ItemList [ en-US ] =
{
< "~All slides"; >;
< "~Slides"; >;
< "Se~lection"; >;
};
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE_HELP
{
ItemList [ en-US ] =
{
< "Print the whole document."; >;
< "Print a specified range of the document."; >;
< "Print only the currently selected content."; >;
};
};
StringArray _STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE
{
ItemList [ en-US ] =
{
< "~All pages"; >;
< "Pa~ges"; >;
< "Se~lection"; >;
};
};
};
This diff is collapsed.
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/..$/.. PRJ=..$/..$/..
PROJECTPCH=sd PROJECTPCH=sd
...@@ -47,6 +48,10 @@ ENABLE_EXCEPTIONS=TRUE ...@@ -47,6 +48,10 @@ ENABLE_EXCEPTIONS=TRUE
# --- Files -------------------------------------------------------- # --- Files --------------------------------------------------------
SRS1NAME=$(TARGET)
SRC1FILES = \
DocumentRenderer.src
SLOFILES = \ SLOFILES = \
$(SLO)$/sdview.obj \ $(SLO)$/sdview.obj \
$(SLO)$/sdview2.obj \ $(SLO)$/sdview2.obj \
...@@ -94,6 +99,7 @@ SLOFILES = \ ...@@ -94,6 +99,7 @@ SLOFILES = \
$(SLO)$/clview.obj \ $(SLO)$/clview.obj \
$(SLO)$/zoomlist.obj \ $(SLO)$/zoomlist.obj \
$(SLO)$/unmodpg.obj \ $(SLO)$/unmodpg.obj \
$(SLO)$/DocumentRenderer.obj \
$(SLO)$/FormShellManager.obj \ $(SLO)$/FormShellManager.obj \
$(SLO)$/GraphicObjectBar.obj \ $(SLO)$/GraphicObjectBar.obj \
$(SLO)$/GraphicViewShellBase.obj \ $(SLO)$/GraphicViewShellBase.obj \
...@@ -104,7 +110,6 @@ SLOFILES = \ ...@@ -104,7 +110,6 @@ SLOFILES = \
$(SLO)$/OutlineViewShellBase.obj \ $(SLO)$/OutlineViewShellBase.obj \
$(SLO)$/SlideSorterViewShellBase.obj \ $(SLO)$/SlideSorterViewShellBase.obj \
$(SLO)$/PresentationViewShellBase.obj \ $(SLO)$/PresentationViewShellBase.obj \
$(SLO)$/PrintManager.obj \
$(SLO)$/ToolBarManager.obj \ $(SLO)$/ToolBarManager.obj \
$(SLO)$/UpdateLockManager.obj \ $(SLO)$/UpdateLockManager.obj \
$(SLO)$/ViewClipboard.obj \ $(SLO)$/ViewClipboard.obj \
...@@ -116,7 +121,6 @@ SLOFILES = \ ...@@ -116,7 +121,6 @@ SLOFILES = \
$(SLO)$/WindowUpdater.obj $(SLO)$/WindowUpdater.obj
# --- Tagets ------------------------------------------------------- # --- Tagets -------------------------------------------------------
.INCLUDE : target.mk .INCLUDE : target.mk
......
...@@ -55,6 +55,7 @@ RESLIB1SRSFILES=\ ...@@ -55,6 +55,7 @@ RESLIB1SRSFILES=\
$(SRS)$/animui.srs \ $(SRS)$/animui.srs \
$(SRS)$/slideshow.srs \ $(SRS)$/slideshow.srs \
$(SRS)$/uitable.srs \ $(SRS)$/uitable.srs \
$(SRS)$/view.srs \
$(SRS)$/uiannotations.srs \ $(SRS)$/uiannotations.srs \
$(SOLARCOMMONRESDIR)$/sfx.srs $(SOLARCOMMONRESDIR)$/sfx.srs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment