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

スタイルの付いたテキスト片。image / object / objectRef が付いていれば行内オブジェクト(text は U+FFFC 1 文字) [詳解]

#include <typeset/inl/paragraph.hpp>

公開変数類

std::u16string text
 
TextStyle style
 
std::shared_ptr< const dl::Imageimage
 
Size imageSize
 pt。0 なら画素数を 72dpi として使い、片方 0 なら縦横比を保つ
 
std::shared_ptr< const obj::ObjectResultobject
 解決済みのオブジェクト
 
std::optional< ObjectRefobjectRef
 未解決(FlowLayouter が解決する)
 
std::shared_ptr< const Paragraphfootnote
 脚注。この run が本文中の記号(text は "{fn}"。FlowLayouter が番号に置き換え、段末に注を置く)
 
bool literal = false
 true なら {name} の置換や {index:} の収集をしない(コードなど、波括弧をそのまま出す run)
 
bool placeholder = false
 行内プレースホルダ(大きさ imageSize の空箱。描かない。ホストがウィジェット等を重ねる)
 
std::string placeholderId
 

詳解

スタイルの付いたテキスト片。image / object / objectRef が付いていれば行内オブジェクト(text は U+FFFC 1 文字)

paragraph.hpp40 行目に定義があります。

メンバ詳解

◆ text

◆ style

◆ image

std::shared_ptr<const dl::Image> typeset::inl::InlineRun::image

paragraph.hpp43 行目に定義があります。

参照元 typeset::inl::Paragraph::addImage().

◆ imageSize

Size typeset::inl::InlineRun::imageSize

pt。0 なら画素数を 72dpi として使い、片方 0 なら縦横比を保つ

paragraph.hpp44 行目に定義があります。

参照元 typeset::inl::Paragraph::addImage(), typeset::inl::Paragraph::addPlaceholder().

◆ object

std::shared_ptr<const obj::ObjectResult> typeset::inl::InlineRun::object

解決済みのオブジェクト

paragraph.hpp45 行目に定義があります。

参照元 typeset::inl::Paragraph::addObject().

◆ objectRef

std::optional<ObjectRef> typeset::inl::InlineRun::objectRef

未解決(FlowLayouter が解決する)

paragraph.hpp46 行目に定義があります。

参照元 typeset::inl::Paragraph::addObject().

◆ footnote

std::shared_ptr<const Paragraph> typeset::inl::InlineRun::footnote

脚注。この run が本文中の記号(text は "{fn}"。FlowLayouter が番号に置き換え、段末に注を置く)

paragraph.hpp48 行目に定義があります。

参照元 typeset::inl::Paragraph::addFootnote().

◆ literal

bool typeset::inl::InlineRun::literal = false

true なら {name} の置換や {index:} の収集をしない(コードなど、波括弧をそのまま出す run)

paragraph.hpp50 行目に定義があります。

◆ placeholder

bool typeset::inl::InlineRun::placeholder = false

行内プレースホルダ(大きさ imageSize の空箱。描かない。ホストがウィジェット等を重ねる)

paragraph.hpp52 行目に定義があります。

参照元 typeset::inl::Paragraph::addPlaceholder().

◆ placeholderId

std::string typeset::inl::InlineRun::placeholderId

paragraph.hpp53 行目に定義があります。

参照元 typeset::inl::Paragraph::addPlaceholder().


この構造体詳解は次のファイルから抽出されました: