~matttbe/ubuntu/raring/poppler/lp1072129

« back to all changes in this revision

Viewing changes to utils/HtmlOutputDev.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-02-16 15:36:47 UTC
  • mfrom: (1.7.3)
  • Revision ID: package-import@ubuntu.com-20120216153647-9ggk53b3ftsnxfym
Tags: 0.18.4-0ubuntu1
* New upstream version:
  - "evince displays the included PDF without rotation" (lp: #711300)
  - Contents of the page is not displayed while it is OK 
    with xpdf or acroread (lp: #878715)
* debian/control:
  - libpoppler-glib-dev shouldn't depends on libgtk-dev, it stopped using
    gdk and uses cairo directly (lp: #870662)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
// All changes made under the Poppler project to this file are licensed
15
15
// under GPL version 2 or later
16
16
//
17
 
// Copyright (C) 2006, 2007, 2009 Albert Astals Cid <aacid@kde.org>
 
17
// Copyright (C) 2006, 2007, 2009, 2012 Albert Astals Cid <aacid@kde.org>
18
18
// Copyright (C) 2008, 2009 Warren Toomey <wkt@tuhs.org>
19
19
// Copyright (C) 2009, 2011 Carlos Garcia Campos <carlosgc@gnome.org>
20
20
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
21
21
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
22
22
// Copyright (C) 2011 Joshua Richardson <jric@chegg.com>
23
23
// Copyright (C) 2011 Stephen Reichling <sreichling@chegg.com>
 
24
// Copyright (C) 2012 Igor Slepchin <igor.redhat@gmail.com>
24
25
//
25
26
// To see a description of the changes please see the Changelog file that
26
27
// came with your tarball or type make ChangeLog if you are building from git
58
59
 
59
60
class GfxState;
60
61
class GooString;
 
62
class PDFDoc;
61
63
//------------------------------------------------------------------------
62
64
// HtmlString
63
65
//------------------------------------------------------------------------
298
300
  int getPageWidth() { return maxPageWidth; }
299
301
  int getPageHeight() { return maxPageHeight; }
300
302
 
301
 
  GBool dumpDocOutline(Catalog* catalog);
 
303
  GBool dumpDocOutline(PDFDoc* catalog);
302
304
 
303
305
private:
304
306
  // convert encoding into a HTML standard, or encoding->getCString if not
305
 
  // recognized
306
 
  static char* mapEncodingToHtml(GooString* encoding);
 
307
  // recognized. Will delete encoding for you and return a new one
 
308
  // that you have to delete
 
309
  static GooString* mapEncodingToHtml(GooString* encoding);
307
310
  void doProcessLink(AnnotLink *link);
308
311
  GooString* getLinkDest(AnnotLink *link,Catalog *catalog);
309
312
  void dumpMetaVars(FILE *);
310
313
  void doFrame(int firstPage);
311
 
  GBool newOutlineLevel(FILE *output, Object *node, Catalog* catalog, int level = 1);
 
314
  GBool newOutlineLevel(FILE *output, GooList *outlines, Catalog* catalog, int level = 1);
312
315
 
313
316
  FILE *fContentsFrame;
314
317
  FILE *page;                   // html file