• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ap_EditMethods.h

Go to the documentation of this file.
00001 /* AbiSource Application Framework
00002  * Copyright (C) 1998,1999 AbiSource, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 #ifndef ap_EditMethodsDefined
00021 #define ap_EditMethodsDefined
00022 
00023 #include "ie_types.h"
00024 #include "fv_View.h"
00025 
00026 #include <set>
00027 
00028 UT_Error fileOpen(XAP_Frame * pFrame, const char * pNewFile, IEFileType ieft);
00029 
00030 // defined in ap_editmethods.cpp
00031 bool s_actuallyPrint(PD_Document *doc,  GR_Graphics *pGraphics,
00032              FV_View * pPrintView, const char *pDocName,
00033              UT_uint32 nCopies, bool bCollate,
00034              UT_sint32 inWidth,  UT_sint32 inHeight,
00035              UT_sint32 nToPage, UT_sint32 nFromPage);
00036 
00037 bool s_actuallyPrint(PD_Document *doc,  GR_Graphics *pGraphics,
00038              FV_View * pPrintView, const char *pDocName,
00039              UT_uint32 nCopies, bool bCollate,
00040              UT_sint32 inWidth,  UT_sint32 inHeight,
00041              const std::set<UT_sint32>& pages);
00042 
00043 
00044 void s_getPageMargins(FV_View * inView,
00045                       double &margin_left,
00046                       double &margin_right,
00047                       double &page_margin_left,
00048                       double &page_margin_right,
00049                       double &page_margin_top,
00050                       double &page_margin_bottom );
00051 
00052 bool s_doTabDlg(FV_View * pView);
00053 
00054 #endif

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1