com.aspose.words

Class BuildingBlockBehavior

  • java.lang.Object
    • com.aspose.words.BuildingBlockBehavior
public class BuildingBlockBehavior 
extends java.lang.Object

Utility class containing constants. Specifies the behavior that shall be applied to the contents of the building block when it is inserted into the main document.

Corresponds to the ST_DocPartBehavior type in OOXML.

See Also:
BuildingBlock.Behavior

Field Summary
static final intCONTENT = 0
Specifies that the building block shall be inserted as inline content.
static final intPARAGRAPH = 1
Specifies that the building block shall be inserted into its own paragraph.
static final intPAGE = 2
Specifies that the building block shall be added into its own page.
static final intDEFAULT = 0
Same as CONTENT.
 

    • Field Detail

      • CONTENT = 0

        public static final int CONTENT
        Specifies that the building block shall be inserted as inline content.
      • PARAGRAPH = 1

        public static final int PARAGRAPH
        Specifies that the building block shall be inserted into its own paragraph.
      • PAGE = 2

        public static final int PAGE
        Specifies that the building block shall be added into its own page.
      • DEFAULT = 0

        public static final int DEFAULT
        Same as CONTENT.