Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

WordPaperText

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Source revision 799b2bd0d000 with working tree changes
Modifiers static

Printed-report labels and invisible identifier wrapping with explicit plain-text normalization.

Inheritance

  • Object
  • WordPaperText

Methods

public static String HumanizeIdentifier(String value) #
Returns: String

Converts enum or property identifiers to sentence-case labels, preserving acronyms.

Parameters

value System.String requiredposition: 0
An enum or property identifier.

Returns

A readable label such as "Short term" or "DNS health".

public static String RemoveOptionalBreaks(String value) #
Returns: String

Removes authored identifier breaks and portable U+200B markers for copy, search and plain-text export.

Parameters

value System.String requiredposition: 0
Extracted text, optionally containing invisible breaks.

Returns

The original text without optional break markers; visible spacing and linguistic join controls outside the authored Latin case/digit boundaries are preserved.

public static String SentenceCase(String value) #
Returns: String

Converts authored title-case prose to sentence case, preserving uppercase and mixed-case technical terms.

Parameters

value System.String requiredposition: 0
Title-case prose owned by the report author.

Returns

Sentence-case prose with technical casing retained.

public static String SplitIdentifier(String value) #
Returns: String

Separates case and underscore boundaries while retaining spelling and acronyms.

Parameters

value System.String requiredposition: 0
A property name or an already spaced label.

Returns

A display label with ordinary spaces; never use this method for source identifier values.

WithIdentifierBreaks 2 overloads
public static String WithIdentifierBreaks(String value) #
Returns: String

Adds Word's invisible U+200C no-width optional break at case and digit boundaries without changing the visible identifier.

Parameters

value System.String requiredposition: 0
The exact source identifier.

Returns

Display text containing optional breaks. Use WordPaperText.RemoveOptionalBreaks for plain-text targets.

public static String WithIdentifierBreaks(String value, params Char[] separators) #
Returns: String

Adds invisible U+200B optional breaks after selected separators, preserving whole identifier labels.

Parameters

value System.String requiredposition: 0
The exact source identifier, such as a hostname, path or record value.
separators System.Char[] requiredposition: 1
Characters after which a line may wrap; for hostnames, supply dots and hyphens.

Returns

Display text with no visible spaces added. Repeated application is idempotent. Use WordPaperText.RemoveOptionalBreaks for plain text.