pub enum RenderNodeType {
Show 24 variants
Page(PageNode),
PageBackground(PageBackgroundNode),
MasterPage,
Header,
Footer,
Body {
clip_rect: Option<BoundingBox>,
},
Column(u16),
FootnoteArea,
TextLine(TextLineNode),
TextRun(TextRunNode),
Table(TableNode),
TableCell(TableCellNode),
Line(LineNode),
Rectangle(RectangleNode),
Ellipse(EllipseNode),
Path(PathNode),
Image(ImageNode),
Group(GroupNode),
TextBox,
Equation(EquationNode),
FormObject(FormObjectNode),
FootnoteMarker(FootnoteMarkerNode),
Placeholder(PlaceholderNode),
RawSvg(RawSvgNode),
}Expand description
렌더 노드 종류
Variants§
Page(PageNode)
페이지 루트 노드
PageBackground(PageBackgroundNode)
페이지 배경/테두리
MasterPage
바탕쪽 영역
Header
머리말 영역
꼬리말 영역
Body
본문 영역
Fields
§
clip_rect: Option<BoundingBox>콘텐츠 클리핑 영역 (페이지 경계 넘침 방지)
Column(u16)
단(Column) 영역
FootnoteArea
각주 영역
TextLine(TextLineNode)
텍스트 줄
TextRun(TextRunNode)
텍스트 런 (동일 글자 모양의 텍스트 조각)
Table(TableNode)
표
TableCell(TableCellNode)
표 셀
Line(LineNode)
직선
Rectangle(RectangleNode)
사각형
Ellipse(EllipseNode)
타원
Path(PathNode)
패스 (다각형, 곡선, 호)
Image(ImageNode)
이미지
Group(GroupNode)
묶음 개체
TextBox
글상자 (텍스트가 포함된 그리기 개체)
Equation(EquationNode)
수식
FormObject(FormObjectNode)
양식 개체
FootnoteMarker(FootnoteMarkerNode)
각주/미주 마커 (인라인 위첨자)
Placeholder(PlaceholderNode)
차트/OLE placeholder (배경 rect + 중앙 텍스트 라벨) — Task #195
RawSvg(RawSvgNode)
이미 생성된 SVG 조각을 그대로 출력 (OOXML 차트 등) — Task #195 단계 8
Trait Implementations§
Source§impl Clone for RenderNodeType
impl Clone for RenderNodeType
Source§impl Debug for RenderNodeType
impl Debug for RenderNodeType
Auto Trait Implementations§
impl Forget for RenderNodeType
impl Freeze for RenderNodeType
impl Move for RenderNodeType
impl RefUnwindSafe for RenderNodeType
impl Send for RenderNodeType
impl Sync for RenderNodeType
impl Unpin for RenderNodeType
impl UnsafeUnpin for RenderNodeType
impl UnwindSafe for RenderNodeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.