Class: ExceedingContent
- Inherits:
-
Object
- Object
- ExceedingContent
- Defined in:
- PDFreactor.rb
Instance Method Summary (collapse)
-
- (integer) getContainerBottom
Returns the bottom coordinate of the the container box in the page in pixels.
-
- (integer) getContainerLeft
Returns the left coordinate of the the container box in the page in pixels.
-
- (integer) getContainerRight
Returns the right coordinate of the the container box in the page in pixels.
-
- (integer) getContainerTop
Returns the top coordinate of the the container box in the page in pixels.
-
- (string) getDescription
Returns a description of the content.
-
- (integer) getExceedingBoxBottom
Returns the bottom coordinate of the the exceeding box in the page in pixels.
-
- (integer) getExceedingBoxLeft
Returns the left coordinate of the the exceeding box in the page in pixels.
-
- (integer) getExceedingBoxRight
Returns the right coordinate of the the exceeding box in the page in pixels.
-
- (integer) getExceedingBoxTop
Returns the top coordinate of the the exceeding box in the page in pixels.
-
- (string) getHtml
Returns the HTML of the box that contains the exceeding content.
-
- (integer) getPageBottom
Returns the bottom coordinate of the the page in pixels.
-
- (integer) getPageLeft
Returns the left coordinate of the the page in pixels.
-
- (int) getPageNumber
Returns the number of the page that contains the exceeding content.
-
- (integer) getPageRight
Returns the right coordinate of the the page in pixels.
-
- (integer) getPageTop
Returns the top coordinate of the the page in pixels.
-
- (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.
-
- (string) getSummary
Returns a summary of this exceeding content object.
-
- (boolean) isBottom
Returns whether the content exceeds the page at the bottom.
-
- (boolean) isBox
Returns whether the exceeding content is a box instead of text or image content.
-
- (boolean) isLeft
Returns whether the content exceeds the page to the left.
-
- (boolean) isRight
Returns whether the content exceeds the page to the right.
-
- (boolean) isTop
Returns whether the content exceeds the page at the top.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
340 341 342 |
# File 'PDFreactor.rb', line 340 def getPath() return @path end |
- (string) getSummary
Returns a summary of this exceeding content object.
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.
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.
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.
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.
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.
235 236 237 |
# File 'PDFreactor.rb', line 235 def isTop() return @top end |