$search

XpdfControl Class Reference

#include <xpdfctrl.h>

List of all members.

Public Member Functions

void goto_page (unsigned int page)
void hide ()
void load_file (const char *filename)
void next_page ()
void prev_page ()
 XpdfControl (const char *remote)
 ~XpdfControl ()

Private Member Functions

void execute_command (const char *format,...)

Private Attributes

bool __hidden
char * __remote

Detailed Description

Xpdf Remote Control interface. This class supports launching and controlling a remote Xpdf instance.

Author:
Tim Niemueller

Definition at line 25 of file xpdfctrl.h.


Constructor & Destructor Documentation

XpdfControl::XpdfControl ( const char *  remote  ) 

Constructor.

Parameters:
remote remote name, this is Xpdf specific, read its documentation. Basically it must be a simple system-wide unique string.

Definition at line 43 of file xpdfctrl.cpp.

XpdfControl::~XpdfControl (  ) 

Destructor.

Definition at line 50 of file xpdfctrl.cpp.


Member Function Documentation

void XpdfControl::execute_command ( const char *  format,
  ... 
) [private]

Execute Xpdf command.

Parameters:
format a format string using standard sprintf notation followed by the required number of arguments. The command is appended an ampersand, so that the execution happens concurrently.

Definition at line 102 of file xpdfctrl.cpp.

void XpdfControl::goto_page ( unsigned int  page  ) 

Got to specific page.

Parameters:
n page number to go to

Definition at line 73 of file xpdfctrl.cpp.

void XpdfControl::hide (  ) 

Hide Xpdf window.

Definition at line 80 of file xpdfctrl.cpp.

void XpdfControl::load_file ( const char *  filename  ) 

Load PDF file. This will start Xpdf if it was not running before and show the window if it was hidden.

Parameters:
filename name of the file to open

Definition at line 91 of file xpdfctrl.cpp.

void XpdfControl::next_page (  ) 

Got to next page.

Definition at line 57 of file xpdfctrl.cpp.

void XpdfControl::prev_page (  ) 

Got to previous page.

Definition at line 64 of file xpdfctrl.cpp.


Member Data Documentation

bool XpdfControl::__hidden [private]

Definition at line 41 of file xpdfctrl.h.

char* XpdfControl::__remote [private]

Definition at line 42 of file xpdfctrl.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


presenter
Author(s): Tim Niemueller
autogenerated on Tue Mar 5 12:26:35 2013