typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
typeset::block 名前空間

block — ブロック(段落・見出し・罫線・ラベル付き段落・アキ・セクション) [詳解]

クラス

struct  BlockStyle
 ブロック共通のスタイル(配置・改ページ制御) [詳解]
 
struct  Flow
 
struct  HeadingBlock
 
struct  ImageBlock
 画像ブロック [詳解]
 
struct  IndexBlock
 索引。本文中の {index:用語} / {index:よみ|用語} を集め、読みの順(かな: 五十音、欧文: A–Z)に 用語とページ番号を並べる。目次と同じく前のパスで集めた情報を使う(2〜3 パス) [詳解]
 
struct  LabeledBlock
 ラベル付き段落 — 台本の「名前欄+本文」、箇条書き、用語集 [詳解]
 
struct  ListBlock
 箇条書き(ラベル付き段落の列) [詳解]
 
struct  ObjectBlock
 外部ハンドラで生成するオブジェクトのブロック(別行立ての数式・グラフなど) [詳解]
 
struct  ParagraphBlock
 
struct  RuleBlock
 罫線(行送り方向に thickness を占め、行の方向いっぱいに引く) [詳解]
 
struct  SectionBlock
 以降の段数を切り替える。段の途中なら次のページから効く [詳解]
 
struct  SpacerBlock
 
struct  TableBlock
 
struct  TableBorders
 
struct  TableCell
 
struct  TableColumn
 表 — TeX の tabular 水準(列幅指定/自動、罫線、colspan、ヘッダ行の繰り返し、ページまたぎ) [詳解]
 
struct  TableRow
 
struct  TocBlock
 目次。前のパスで集めた見出し(番号付き)とページ番号を並べる [詳解]
 

型定義

using Block = std::variant< ParagraphBlock, HeadingBlock, RuleBlock, SpacerBlock, LabeledBlock, SectionBlock, ImageBlock, TableBlock, ListBlock, TocBlock, ObjectBlock, IndexBlock >
 

列挙型

enum class  BreakKind : uint8_t { Auto , Column , Page }
 
enum class  ImagePlacement : uint8_t { Block , FloatStart , FloatEnd }
 
enum class  VAlign : uint8_t { Top , Middle , Bottom }
 

詳解

block — ブロック(段落・見出し・罫線・ラベル付き段落・アキ・セクション)

Flow はブロック列で、FlowLayouter が Region(段)へ順に流し込む。

型定義詳解

◆ Block

列挙型詳解

◆ BreakKind

enum class typeset::block::BreakKind : uint8_t
strong
列挙値
Auto 
Column 
Page 

block.hpp20 行目に定義があります。

◆ ImagePlacement

enum class typeset::block::ImagePlacement : uint8_t
strong
列挙値
Block 

本文の流れに置く(行送り方向に高さぶん消費する)

FloatStart 

行頭側に寄せて本文を回り込ませる(横組み: 左、縦組み: 上)

FloatEnd 

行末側に寄せて本文を回り込ませる

block.hpp95 行目に定義があります。

◆ VAlign

enum class typeset::block::VAlign : uint8_t
strong
列挙値
Top 
Middle 
Bottom 

block.hpp148 行目に定義があります。