Class: Fox::FXDCPrint
- Inherits:
-
Object
- Object
- Fox::FXDCPrint
- Defined in:
- lib/fox16/iterators.rb
Instance Method Summary (collapse)
-
- (Object) beginPage(page = 1)
Generate beginning of page (the page number).
-
- (Object) beginPage0
:nodoc:.
-
- (Object) beginPrint(job)
Begin print session described by job (an FXPrinter instance).
-
- (Object) beginPrint0
:nodoc:.
Instance Method Details
- (Object) beginPage(page = 1)
Generate beginning of page (the page number). If an optional code block is provided, #endPage is automatically called after the block terminates.
407 408 409 410 411 412 413 414 415 416 417 418 |
# File 'lib/fox16/iterators.rb', line 407 def beginPage(page=1) # :yields: theDC result = beginPage0(page) if block_given? begin yield self ensure endPage end else result end end |
- (Object) beginPage0
:nodoc:
400 |
# File 'lib/fox16/iterators.rb', line 400 alias beginPage0 beginPage |
- (Object) beginPrint(job)
Begin print session described by job (an FXPrinter instance). If an optional code block is provided, #endPrint is automatically called after the block terminates.
387 388 389 390 391 392 393 394 395 396 397 398 |
# File 'lib/fox16/iterators.rb', line 387 def beginPrint(job) # :yields: theDC result = beginPrint0(job) if block_given? begin yield self ensure endPrint end else result end end |
- (Object) beginPrint0
:nodoc:
380 |
# File 'lib/fox16/iterators.rb', line 380 alias beginPrint0 beginPrint |