Lawtext core references • Docs
Lawtext core references / core/src/renderer/common/docx/component
core/src/renderer/common/docx/component
Index
Interfaces
- DOCXComponentProps
- DOCXFigDataBase
- DOCXFigDataEmbeddedAndRenderedPDF
- DOCXFigDataEmbeddedPDF
- DOCXFigDataImage
- DOCXFigDataManager
- DOCXFigDataRenderedPDF
- DOCXFigEmbedFile
- DOCXFigImageFile
- DOCXOptions
Type Aliases
ComponentWithTag()<TTag>
ComponentWithTag<
TTag
>: <P
>(props
) =>DOMElement
<P
&object
,Element
>
Type Parameters
• TTag extends string
Type Parameters
• P
Parameters
• props: PropsWithChildren
<P
>
Returns
DOMElement
<P
& object
, Element
>
Type declaration
displayName
displayName: `ComponentWithTag<${TTag}>`
Defined in
core/src/renderer/common/docx/component.tsx:80 (opens in a new tab)
DOCXFigData
DOCXFigData:
DOCXFigDataImage
|DOCXFigDataEmbeddedPDF
|DOCXFigDataRenderedPDF
|DOCXFigDataEmbeddedAndRenderedPDF
Defined in
core/src/renderer/common/docx/component.tsx:52 (opens in a new tab)
Variables
DOCXMargin
const
DOCXMargin:" "
=" "
Defined in
core/src/renderer/common/docx/component.tsx:3 (opens in a new tab)
Functions
Relationships()
Relationships(
props
,deprecatedLegacyContext
?):ReactNode
Parameters
• props
• props.relationships: object
[]
• deprecatedLegacyContext?: any
Deprecated
See
React Docs (opens in a new tab)
Returns
ReactNode
Defined in
core/src/renderer/common/docx/component.tsx:98 (opens in a new tab)
Types()
Types(
props
,deprecatedLegacyContext
?):ReactNode
Parameters
• props
• props.types: (object
| object
)[]
• deprecatedLegacyContext?: any
Deprecated
See
React Docs (opens in a new tab)
Returns
ReactNode
Defined in
core/src/renderer/common/docx/component.tsx:108 (opens in a new tab)
makeComponentWithTag()
makeComponentWithTag<
TTag
>(tag
):ComponentWithTag
<TTag
>
Type Parameters
• TTag extends string
Parameters
• tag: TTag
Returns
ComponentWithTag
<TTag
>
Defined in
core/src/renderer/common/docx/component.tsx:87 (opens in a new tab)
wrapDOCXComponent()
wrapDOCXComponent<
P
,TComponentID
>(docxComponentID
,Component
):FC
<P
&DOCXComponentProps
> &object
Type Parameters
• P
• TComponentID extends string
Parameters
• docxComponentID: TComponentID
• Component: ComponentType
<P
& DOCXComponentProps
>
Returns
FC
<P
& DOCXComponentProps
> & object
Defined in
core/src/renderer/common/docx/component.tsx:71 (opens in a new tab)