IPWorks ZIP 2020 Kotlin Edition

Questions / Feedback?

SpecialSection Event

Fired when a special section is encountered.

Syntax

public open class DefaultOfficedocEventListener : OfficedocEventListener {
  ...
  public override fun specialSection(e: OfficedocSpecialSectionEvent) {}
  ...
}

public class OfficedocSpecialSectionEvent {
  val sectionId: String?
  val text: String?
}

Remarks

The SpecialSection event is fired whenever a special section (such as <![ CDATA [ ..text... ]]>) is found in the document.

The full text of the special section is provided by the Text parameter, while the SectionId parameter provides the section identifier (e.g. "CDATA").

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Kotlin Edition - Version 20.0 [Build 7941]