Class: ExceedingContent

Inherits:
Object
  • Object
show all
Defined in:
PDFreactor.rb

Instance Method Summary (collapse)

Instance Method Details

- (integer) getContainerBottom

Returns the bottom coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.

Returns:

  • (integer)


302
303
304
# File 'PDFreactor.rb', line 302

def getContainerBottom()
  return @containerBottom
end

- (integer) getContainerLeft

Returns the left coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.

Returns:

  • (integer)


284
285
286
# File 'PDFreactor.rb', line 284

def getContainerLeft()
  return @containerLeft
end

- (integer) getContainerRight

Returns the right coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.

Returns:

  • (integer)


296
297
298
# File 'PDFreactor.rb', line 296

def getContainerRight()
  return @containerRight
end

- (integer) getContainerTop

Returns the top coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.

Returns:

  • (integer)


290
291
292
# File 'PDFreactor.rb', line 290

def getContainerTop()
  return @containerTop
end

- (string) getDescription

Returns a description of the content. In case of text content, the text is returned. In case of images the URL is returned if available.

Returns:

  • (string)


242
243
244
# File 'PDFreactor.rb', line 242

def getDescription()
  return @description
end

- (integer) getExceedingBoxBottom

Returns the bottom coordinate of the the exceeding box in the page in pixels.

Returns:

  • (integer)


326
327
328
# File 'PDFreactor.rb', line 326

def getExceedingBoxBottom()
  return @exceedingBoxBottom
end

- (integer) getExceedingBoxLeft

Returns the left coordinate of the the exceeding box in the page in pixels.

Returns:

  • (integer)


308
309
310
# File 'PDFreactor.rb', line 308

def getExceedingBoxLeft()
  return @exceedingBoxLeft
end

- (integer) getExceedingBoxRight

Returns the right coordinate of the the exceeding box in the page in pixels.

Returns:

  • (integer)


320
321
322
# File 'PDFreactor.rb', line 320

def getExceedingBoxRight()
  return @exceedingBoxRight
end

- (integer) getExceedingBoxTop

Returns the top coordinate of the the exceeding box in the page in pixels.

Returns:

  • (integer)


314
315
316
# File 'PDFreactor.rb', line 314

def getExceedingBoxTop()
  return @exceedingBoxTop
end

- (string) getHtml

Returns the HTML of the box that contains the exceeding content.

Returns:

  • (string)


254
255
256
# File 'PDFreactor.rb', line 254

def getHtml()
  return @html
end

- (integer) getPageBottom

Returns the bottom coordinate of the the page in pixels.

Returns:

  • (integer)


278
279
280
# File 'PDFreactor.rb', line 278

def getPageBottom()
  return @pageBottom
end

- (integer) getPageLeft

Returns the left coordinate of the the page in pixels.

Returns:

  • (integer)


260
261
262
# File 'PDFreactor.rb', line 260

def getPageLeft()
  return @pageLeft
end

- (int) getPageNumber

Returns the number of the page that contains the exceeding content.

Returns:

  • (int)

    The number of the page.



210
211
212
# File 'PDFreactor.rb', line 210

def getPageNumber()
  return @pageNumber
end

- (integer) getPageRight

Returns the right coordinate of the the page in pixels.

Returns:

  • (integer)


272
273
274
# File 'PDFreactor.rb', line 272

def getPageRight()
  return @pageRight
end

- (integer) getPageTop

Returns the top coordinate of the the page in pixels.

Returns:

  • (integer)


266
267
268
# File 'PDFreactor.rb', line 266

def getPageTop()
  return @pageTop
end

- (array) getPath

Returns an array of integers denoting the indexes of the ancestors of the DOM node corresponding to the box containing the exceeding content, starting from below the root node down to the element itself.

Returns:

  • (array)


340
341
342
# File 'PDFreactor.rb', line 340

def getPath()
  return @path
end

- (string) getSummary

Returns a summary of this exceeding content object.

Returns:

  • (string)


332
333
334
# File 'PDFreactor.rb', line 332

def getSummary()
  return @summary
end

- (boolean) isBottom

Returns whether the content exceeds the page at the bottom.

Returns:

  • (boolean)


223
224
225
# File 'PDFreactor.rb', line 223

def isBottom()
  return @bottom
end

- (boolean) isBox

Returns whether the exceeding content is a box instead of text or image content.

Returns:

  • (boolean)


248
249
250
# File 'PDFreactor.rb', line 248

def isBox()
  return @box
end

- (boolean) isLeft

Returns whether the content exceeds the page to the left.

Returns:

  • (boolean)


229
230
231
# File 'PDFreactor.rb', line 229

def isLeft()
  return @left
end

- (boolean) isRight

Returns whether the content exceeds the page to the right.

Returns:

  • (boolean)


216
217
218
# File 'PDFreactor.rb', line 216

def isRight()
  return @right
end

- (boolean) isTop

Returns whether the content exceeds the page at the top.

Returns:

  • (boolean)


235
236
237
# File 'PDFreactor.rb', line 235

def isTop()
  return @top
end