Class Orgmode::OutputBuffer
In: lib/org-ruby/output_buffer.rb
Parent: Object

The OutputBuffer is used to accumulate multiple lines of orgmode text, and then emit them to the output all in one go. The class will do the final textile substitution for inline formatting and add a newline character prior emitting the output.

Methods

Attributes

output  [R]  This is the overall output buffer
output_type  [RW]  This is the current type of output being accumulated.

Public Class methods

Creates a new OutputBuffer object that is bound to an output object. The output will get flushed to =output=.

Public Instance methods

Gets the next headline number for a given level. The intent is this function is called sequentially for each headline that needs to get numbered. It does standard outline numbering.

Gets the current list indent level.

Test if we‘re in an output mode in which whitespace is significant.

[Validate]