Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_PRINT___PRINT_OPTIONS__HPP
2 #define GUI_PRINT___PRINT_OPTIONS__HPP
59 typedef enum EPageOrientation TPageOrientation;
68 ePostscript = eVector | 1,
89 typedef enum EAlignment TAlignment;
98 static TOutputFormat GetFormatFromName(
const string& fmtname);
104 void SetGenerateIndex(
bool generateIdx);
105 bool GetGenerateIndex(
void)
const;
107 void SetGrayscale(
bool greyscale);
108 bool GetGrayscale(
void)
const;
113 void SetFilename(
const string& filename);
114 const string& GetFilename(
void)
const;
119 void SetHeader(
const string& header);
120 void SetHeader(
const SText& header);
122 const SText& GetHeaderDetails(
void)
const;
124 void SetFooter(
const string& footer);
125 void SetFooter(
const SText& footer);
126 const string& GetFooter(
void)
const;
127 const SText& GetFooterDetails(
void)
const;
134 void SetPrintOutput(
bool print_output);
135 bool GetPrintOutput(
void)
const;
137 void SetPagesWide(
unsigned int w);
138 unsigned int GetPagesWide(
void)
const;
139 void SetPagesTall(
unsigned int w);
140 unsigned int GetPagesTall(
void)
const;
141 unsigned int GetNumPages(
void)
const;
143 void SetMedia(
const CMedia& media);
144 const CMedia& GetMedia(
void)
const;
145 TPdfUnit GetMediaHeight(
void)
const;
148 bool HasRasterDimensions(
void)
const;
149 void UnsetRasterDimensions(
void);
150 void SetRasterWidth(
unsigned int w);
151 unsigned int GetRasterWidth(
void)
const;
152 void SetRasterHeight(
unsigned int h);
153 unsigned int GetRasterHeight(
void)
const;
156 TPdfUnit GetHeaderOffset(
void)
const;
159 TPdfUnit GetFooterOffset(
void)
const;
165 TPdfUnit GetMarginBottom(
void)
const;
171 TPdfUnit GetMarginRight(
void)
const;
173 TPdfUnit GetPageTrimWidth(
void)
const;
174 TPdfUnit GetPageTrimHeight(
void)
const;
TPdfUnit x_GetPageHeight(void) const
enum EPageOrientation TPageOrientation
void SetUserUnit(TPdfUnit userunit)
enum EOutputFormat TOutputFormat
TPdfUnit x_GetPageWidth(void) const
void DisableGouraudShading(bool b)
unsigned int m_RasterHeight
TPageOrientation m_PageOrientation
TPdfUnit GetUserUnit() const
unsigned int m_RasterWidth
bool GetGouraudShadingDisabled() const
Include a standard set of the NCBI C++ Toolkit most basic headers.
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIPRINT_EXPORT
CGlBitmapFont::EFontFace font
static void SetTitle(CRef< CSeq_entry > entry, string title)