Class WikiHtmlTransformator
Translates wiki text parts in to a list of real and fake web parts
Inherited Members
Namespace: PnP.Framework.Modernization.Transform
Assembly: PnP.Framework.dll
Syntax
public class WikiHtmlTransformator : BaseTransform
Constructors
WikiHtmlTransformator(ClientContext, ClientContext, IPage, BaseTransformationInformation, IList<ILogObserver>)
Methods
TransformPlusSplit(List<WebPartEntity>, Boolean, Boolean)
Creates video parts for iframes, splitting text where possible. Leaves images in the text for later processing.
Declaration
public List<WebPartEntity> TransformPlusSplit(List<WebPartEntity> wikiPageWebParts, bool handleWikiImagesAndVideos, bool addTableListImageAsImageWebPart)
Parameters
|
List<WebPartEntity>
wikiPageWebParts
List of web parts on the page |
|
System.Boolean
handleWikiImagesAndVideos
If true, splits text around eligible iframes; otherwise appends video parts. |
|
System.Boolean
addTableListImageAsImageWebPart
Retained for API compatibility; ignored. |
Returns
|
List<WebPartEntity>
Updated list of web parts |