Back to index

texmacs  1.0.7.15
Classes | Defines | Functions
page_item.hpp File Reference
#include "boxes.hpp"
#include "formatter.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  page_item_rep
class  page_item

Defines

#define PAGE_LINE_ITEM   0
#define PAGE_HIDDEN_ITEM   1
#define PAGE_CONTROL_ITEM   2

Functions

 CONCRETE_NULL_CODE (page_item)
tm_ostreamoperator<< (tm_ostream &out, page_item item)

Define Documentation

#define PAGE_CONTROL_ITEM   2

Definition at line 20 of file page_item.hpp.

#define PAGE_HIDDEN_ITEM   1

Definition at line 19 of file page_item.hpp.

#define PAGE_LINE_ITEM   0

Definition at line 18 of file page_item.hpp.


Function Documentation

tm_ostream& operator<< ( tm_ostream out,
page_item  item 
)

Definition at line 44 of file page_item.cpp.

                                              {
  switch (item->type) {
  case PAGE_LINE_ITEM:
    return out << "line (" << item->b << ")";
  case PAGE_HIDDEN_ITEM:
    return out << "hidden (" << item->b << ")";
  case PAGE_CONTROL_ITEM:
    return out << "control (" << item->t << ")";
  }
  return out << "unknown";
}