Click or drag to resize

ImportMappingUseDestinationStyles Property

Gets a value indicating whether to use destination document styles if they have the same name as source document styles, even though they do not have the same formatting.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version:
public bool UseDestinationStyles { get; }

Property Value

Type: Boolean
to use destination document styles; otherwise, .
Destination document ListStyle and ParagraphStyle with ListFormat.IsList equal to are never used, because that would continue numbering of imported paragraphs in destination document and thus imported paragraphs would influence on the numbering of the rest of the paragraphs in destination document. If imported paragraphs with specific ListStyle should continue numbering in destination document, then set explicit mapping from source ListStyle (of these imported paragraphs) to destination ListStyle onto which numbering should continue.
See Also