pdf-writer 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +1 -1
- data/LICENCE +1 -1
- data/README +1 -1
- data/bin/techbook +1 -1
- data/demo/chunkybacon.rb +1 -1
- data/demo/code.rb +1 -1
- data/demo/colornames.rb +1 -1
- data/demo/demo.rb +1 -1
- data/demo/gettysburg.rb +1 -1
- data/demo/hello.rb +1 -1
- data/demo/individual-i.rb +1 -1
- data/demo/pac.rb +1 -1
- data/demo/qr-language.rb +1 -1
- data/demo/qr-library.rb +1 -1
- data/lib/pdf/charts.rb +1 -1
- data/lib/pdf/charts/stddev.rb +1 -2
- data/lib/pdf/math.rb +1 -1
- data/lib/pdf/quickref.rb +1 -2
- data/lib/pdf/simpletable.rb +1 -2
- data/lib/pdf/techbook.rb +1 -1
- data/lib/pdf/writer.rb +3 -3
- data/lib/pdf/writer/arc4.rb +1 -1
- data/lib/pdf/writer/fontmetrics.rb +1 -1
- data/lib/pdf/writer/graphics.rb +1 -1
- data/lib/pdf/writer/graphics/imageinfo.rb +1 -1
- data/lib/pdf/writer/lang.rb +1 -1
- data/lib/pdf/writer/lang/en.rb +1 -1
- data/lib/pdf/writer/object.rb +1 -1
- data/lib/pdf/writer/object/action.rb +1 -1
- data/lib/pdf/writer/object/annotation.rb +1 -1
- data/lib/pdf/writer/object/catalog.rb +1 -1
- data/lib/pdf/writer/object/contents.rb +1 -1
- data/lib/pdf/writer/object/destination.rb +1 -1
- data/lib/pdf/writer/object/encryption.rb +1 -1
- data/lib/pdf/writer/object/font.rb +1 -1
- data/lib/pdf/writer/object/fontdescriptor.rb +1 -1
- data/lib/pdf/writer/object/fontencoding.rb +1 -1
- data/lib/pdf/writer/object/image.rb +1 -1
- data/lib/pdf/writer/object/info.rb +1 -1
- data/lib/pdf/writer/object/outline.rb +1 -1
- data/lib/pdf/writer/object/outlines.rb +1 -1
- data/lib/pdf/writer/object/page.rb +1 -1
- data/lib/pdf/writer/object/pages.rb +1 -1
- data/lib/pdf/writer/object/procset.rb +1 -1
- data/lib/pdf/writer/object/viewerpreferences.rb +1 -1
- data/lib/pdf/writer/ohash.rb +1 -1
- data/lib/pdf/writer/oreader.rb +1 -1
- data/lib/pdf/writer/state.rb +1 -1
- data/lib/pdf/writer/strokestyle.rb +1 -1
- data/manual.pwd +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
|
@@ -105,6 +105,6 @@
|
|
|
105
105
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
106
106
|
# for full licensing information.
|
|
107
107
|
#
|
|
108
|
-
# $Id: ChangeLog
|
|
108
|
+
# $Id: ChangeLog 153 2007-02-07 02:28:41Z austin $
|
|
109
109
|
#++
|
|
110
110
|
# vim: sts=2 sw=2 ts=4 et ai tw=77
|
data/LICENCE
CHANGED
|
@@ -127,5 +127,5 @@ feature for any purpose other than as set forth in the applicable license
|
|
|
127
127
|
grant. Adobe has other patents in various fields, none of which are hereby
|
|
128
128
|
licensed.
|
|
129
129
|
|
|
130
|
-
$Id: LICENCE
|
|
130
|
+
$Id: LICENCE 182 2007-12-10 03:17:15Z sandal $
|
|
131
131
|
# vim: sts=2 sw=2 ts=4 et ai tw=77
|
data/README
CHANGED
|
@@ -28,6 +28,6 @@ Transaction::Simple 1.3.0 or better.
|
|
|
28
28
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
29
29
|
# for full licensing information.
|
|
30
30
|
#
|
|
31
|
-
# $Id: README
|
|
31
|
+
# $Id: README 153 2007-02-07 02:28:41Z austin $
|
|
32
32
|
#++
|
|
33
33
|
# vim: sts=2 sw=2 ts=4 et ai tw=77
|
data/bin/techbook
CHANGED
data/demo/chunkybacon.rb
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
# and are from "Why's (Poignant) Guide to Ruby" at
|
|
11
11
|
# <http://poignantguide.net/ruby> with permission.
|
|
12
12
|
#
|
|
13
|
-
# $Id: chunkybacon.rb
|
|
13
|
+
# $Id: chunkybacon.rb 117 2005-07-01 16:48:26Z austin $
|
|
14
14
|
#++
|
|
15
15
|
begin
|
|
16
16
|
require 'pdf/writer'
|
data/demo/code.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
# I'll need to play with the X position some to get it right. This will NOT
|
|
12
12
|
# make it into the 1.0 release. Maybe 1.1 or 1.2.
|
|
13
13
|
#
|
|
14
|
-
# $Id: code.rb
|
|
14
|
+
# $Id: code.rb 92 2005-06-13 19:32:37Z austin $
|
|
15
15
|
#++
|
|
16
16
|
begin
|
|
17
17
|
require 'pdf/writer'
|
data/demo/colornames.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: colornames.rb
|
|
9
|
+
# $Id: colornames.rb 134 2005-08-25 03:38:06Z austin $
|
|
10
10
|
#++
|
|
11
11
|
begin
|
|
12
12
|
require 'pdf/writer'
|
data/demo/demo.rb
CHANGED
data/demo/gettysburg.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: gettysburg.rb
|
|
9
|
+
# $Id: gettysburg.rb 96 2005-06-15 21:38:38Z austin $
|
|
10
10
|
#++
|
|
11
11
|
begin
|
|
12
12
|
require 'pdf/writer'
|
data/demo/hello.rb
CHANGED
data/demo/individual-i.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: individual-i.rb
|
|
9
|
+
# $Id: individual-i.rb 92 2005-06-13 19:32:37Z austin $
|
|
10
10
|
#++
|
|
11
11
|
begin
|
|
12
12
|
require 'pdf/writer'
|
data/demo/pac.rb
CHANGED
data/demo/qr-language.rb
CHANGED
data/demo/qr-library.rb
CHANGED
data/lib/pdf/charts.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: charts.rb
|
|
9
|
+
# $Id: charts.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# A namespace for charts that can be drawn on PDF::Writer canvases.
|
|
12
12
|
module PDF::Charts
|
data/lib/pdf/charts/stddev.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: stddev.rb
|
|
9
|
+
# $Id: stddev.rb 187 2007-12-10 22:59:23Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
require 'pdf/writer'
|
|
12
12
|
require 'pdf/charts'
|
|
@@ -20,7 +20,6 @@ require 'ostruct'
|
|
|
20
20
|
# The scale of responses is the vertical scale; the average data points
|
|
21
21
|
# and standard deviation values are the horizontal scale.
|
|
22
22
|
class PDF::Charts::StdDev
|
|
23
|
-
VERSION = '1.1.4'
|
|
24
23
|
|
|
25
24
|
# A data element.
|
|
26
25
|
DataPoint = Struct.new(:label, :average, :stddev)
|
data/lib/pdf/math.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: math.rb
|
|
9
|
+
# $Id: math.rb 52 2005-05-16 20:44:34Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Encapsulate some of the mathematical calculations that need to be
|
|
12
12
|
# performed when working with PDF documents. All angles in PDF::Writer are
|
data/lib/pdf/quickref.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: quickref.rb
|
|
9
|
+
# $Id: quickref.rb 187 2007-12-10 22:59:23Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
require 'pdf/simpletable'
|
|
12
12
|
|
|
@@ -51,7 +51,6 @@ require 'pdf/simpletable'
|
|
|
51
51
|
# qr.lines "Text to put after the header."
|
|
52
52
|
# qr.save_as "MyQuickRef.pdf"
|
|
53
53
|
class PDF::QuickRef
|
|
54
|
-
VERSION = '1.1.4'
|
|
55
54
|
|
|
56
55
|
# Create the quick reference document. +paper+ is passed unchanged to
|
|
57
56
|
# the PDF::Writer.new; the page is always created landscape. Margins
|
data/lib/pdf/simpletable.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: simpletable.rb
|
|
9
|
+
# $Id: simpletable.rb 187 2007-12-10 22:59:23Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
require 'pdf/writer'
|
|
12
12
|
require 'transaction/simple/group'
|
|
@@ -14,7 +14,6 @@ require 'transaction/simple/group'
|
|
|
14
14
|
# This class will create tables with a relatively simple API and internal
|
|
15
15
|
# implementation.
|
|
16
16
|
class PDF::SimpleTable
|
|
17
|
-
VERSION = '1.1.4'
|
|
18
17
|
|
|
19
18
|
include Transaction::Simple
|
|
20
19
|
|
data/lib/pdf/techbook.rb
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
8
8
|
# for full licensing information.
|
|
9
9
|
#
|
|
10
|
-
# $Id: techbook.rb
|
|
10
|
+
# $Id: techbook.rb 134 2005-08-25 03:38:06Z austin $
|
|
11
11
|
#++
|
|
12
12
|
require 'pdf/simpletable'
|
|
13
13
|
require 'pdf/charts/stddev'
|
data/lib/pdf/writer.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: writer.rb
|
|
9
|
+
# $Id: writer.rb 187 2007-12-10 22:59:23Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
require 'thread'
|
|
12
12
|
require 'open-uri'
|
|
@@ -19,7 +19,7 @@ require 'color'
|
|
|
19
19
|
module PDF
|
|
20
20
|
class Writer
|
|
21
21
|
# The version of PDF::Writer.
|
|
22
|
-
VERSION = '1.1.
|
|
22
|
+
VERSION = '1.1.5'
|
|
23
23
|
|
|
24
24
|
# Escape the text so that it's safe for insertion into the PDF
|
|
25
25
|
# document.
|
|
@@ -2155,7 +2155,7 @@ class PDF::Writer
|
|
|
2155
2155
|
#
|
|
2156
2156
|
# Each time page numbers are started, a new page number scheme will be
|
|
2157
2157
|
# started. The scheme number will be returned.
|
|
2158
|
-
def start_page_numbering(x, y, size, pos = nil, pattern = nil)
|
|
2158
|
+
def start_page_numbering(x, y, size, pos = nil, pattern = nil, starting = nil)
|
|
2159
2159
|
if starting
|
|
2160
2160
|
raise "We have currently disabled starting values for start_page_numbering" +
|
|
2161
2161
|
" because it is buggy."
|
data/lib/pdf/writer/arc4.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: fontmetrics.rb
|
|
9
|
+
# $Id: fontmetrics.rb 168 2007-11-08 19:04:08Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
|
|
12
12
|
class PDF::Writer::FontMetrics
|
data/lib/pdf/writer/graphics.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: graphics.rb
|
|
9
|
+
# $Id: graphics.rb 166 2007-11-08 18:22:05Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
# Points for use in the drawing of polygons.
|
|
12
12
|
class PDF::Writer::PolygonPoint
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
# This file is also licensed under standard Ruby licensing provisions: the
|
|
10
10
|
# Ruby licence and the GNU General Public Licence, version 2 or later.
|
|
11
11
|
#
|
|
12
|
-
# $Id: imageinfo.rb
|
|
12
|
+
# $Id: imageinfo.rb 173 2007-11-15 17:58:43Z sandal $
|
|
13
13
|
#++
|
|
14
14
|
require 'pdf/writer/oreader'
|
|
15
15
|
|
data/lib/pdf/writer/lang.rb
CHANGED
data/lib/pdf/writer/lang/en.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: en.rb
|
|
9
|
+
# $Id: en.rb 134 2005-08-25 03:38:06Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# PDF::Writer::Lang::EN is the English-language output module. It contains a
|
|
12
12
|
# hash, @message, that contains the messages that may be reported by any
|
data/lib/pdf/writer/object.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: object.rb
|
|
9
|
+
# $Id: object.rb 66 2005-05-25 11:19:50Z austin $
|
|
10
10
|
#++
|
|
11
11
|
class PDF::Writer::Object
|
|
12
12
|
def initialize(parent)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: action.rb
|
|
9
|
+
# $Id: action.rb 65 2005-05-24 22:19:42Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# An action object, used to link to URLS initially
|
|
12
12
|
class PDF::Writer::Object::Action < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: annotation.rb
|
|
9
|
+
# $Id: annotation.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# An annotation object, this will add an annotation to the current page.
|
|
12
12
|
# initially will support just link annotations.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: catalog.rb
|
|
9
|
+
# $Id: catalog.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Define the document catalog, the overall controller for the document
|
|
12
12
|
class PDF::Writer::Object::Catalog < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: contents.rb
|
|
9
|
+
# $Id: contents.rb 177 2007-11-26 16:06:58Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
# The contents objects hold all of the content which appears on pages
|
|
12
12
|
class PDF::Writer::Object::Contents < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: destination.rb
|
|
9
|
+
# $Id: destination.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Destination object, used to specify the location for the user to jump
|
|
12
12
|
# to; presently, only on opening.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: encryption.rb
|
|
9
|
+
# $Id: encryption.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Encryption object
|
|
12
12
|
class PDF::Writer::Object::Encryption < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: font.rb
|
|
9
|
+
# $Id: font.rb 101 2005-06-28 21:32:17Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# An object to hold the font description
|
|
12
12
|
class PDF::Writer::Object::Font < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: fontdescriptor.rb
|
|
9
|
+
# $Id: fontdescriptor.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# A font descriptor, needed for including additional fonts. +options+ is a
|
|
12
12
|
# Hash with one of the following keys: Ascent, CapHeight, Descent, Flags,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: fontencoding.rb
|
|
9
|
+
# $Id: fontencoding.rb 101 2005-06-28 21:32:17Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# The font encoding
|
|
12
12
|
class PDF::Writer::Object::FontEncoding < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: info.rb
|
|
9
|
+
# $Id: info.rb 177 2007-11-26 16:06:58Z sandal $
|
|
10
10
|
#++
|
|
11
11
|
# Define the document information -- metadata.
|
|
12
12
|
class PDF::Writer::Object::Info < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: outline.rb
|
|
9
|
+
# $Id: outline.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Define the outlines in the doc, empty for now
|
|
12
12
|
class PDF::Writer::Object::Outline < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: outlines.rb
|
|
9
|
+
# $Id: outlines.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Define the outlines in the doc, empty for now
|
|
12
12
|
class PDF::Writer::Object::Outlines < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: page.rb
|
|
9
|
+
# $Id: page.rb 75 2005-06-02 21:20:35Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# A page object, it also creates a contents object to hold its contents
|
|
12
12
|
class PDF::Writer::Object::Page < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: pages.rb
|
|
9
|
+
# $Id: pages.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# object which is a parent to the pages in the document
|
|
12
12
|
class PDF::Writer::Object::Pages < PDF::Writer::Object
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: procset.rb
|
|
9
|
+
# $Id: procset.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# The document Procedure Set. Not necessary in PDF 1.4 or later, but
|
|
12
12
|
# producing applications are recommended to provide the /ProcSet /Resource
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: viewerpreferences.rb
|
|
9
|
+
# $Id: viewerpreferences.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Set the viewer preferences.
|
|
12
12
|
#
|
data/lib/pdf/writer/ohash.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: ohash.rb
|
|
9
|
+
# $Id: ohash.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# Based on [ruby-talk:20551]. Updated to (hopefully) be 1.8 friendly.
|
|
12
12
|
class PDF::Writer::OHash < Hash
|
data/lib/pdf/writer/oreader.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: oreader.rb
|
|
9
|
+
# $Id: oreader.rb 50 2005-05-16 03:59:21Z austin $
|
|
10
10
|
#++
|
|
11
11
|
module PDF::Writer::OffsetReader
|
|
12
12
|
def read_o(length = 1, offset = nil)
|
data/lib/pdf/writer/state.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
7
7
|
# for full licensing information.
|
|
8
8
|
#
|
|
9
|
-
# $Id: strokestyle.rb
|
|
9
|
+
# $Id: strokestyle.rb 75 2005-06-02 21:20:35Z austin $
|
|
10
10
|
#++
|
|
11
11
|
# A class that represents a style with which lines will be drawn.
|
|
12
12
|
class PDF::Writer::StrokeStyle
|
data/manual.pwd
CHANGED
|
@@ -5960,6 +5960,6 @@ pdf.stop_page_numbering(true, :current)
|
|
|
5960
5960
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
|
5961
5961
|
# for full licensing information.
|
|
5962
5962
|
#
|
|
5963
|
-
# $Id: manual.pwd
|
|
5963
|
+
# $Id: manual.pwd 153 2007-02-07 02:28:41Z austin $
|
|
5964
5964
|
# vim: sts=2 sw=2 ts=4 et ai tw=77 foldmethod=marker foldcolumn=2
|
|
5965
5965
|
#++
|
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: pdf-writer
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.1.
|
|
7
|
-
date: 2007-12-
|
|
6
|
+
version: 1.1.5
|
|
7
|
+
date: 2007-12-10 00:00:00 -05:00
|
|
8
8
|
summary: A pure Ruby PDF document creation library.
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|