### IParagraphJustificationStyle

  A style that controls the justification direction of the paragraphs it is applied to.

  Do not derive your own classes from this class.

### IParagraphJustificationStyle - Member Functions and Data by Group

### Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class IParagraphJustificationStyle.

~IParagraphJustificationStyle

      public:
      virtual ~IParagraphJustificationStyle()

  Destroys the IParagraphJustificationStyle object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IParagraphJustificationStyle
  Constructs an IParagraphJustificationStyle object.

  Overload 1
  Default constructor.

      public:
      IParagraphJustificationStyle()

  The default constructor leaves the style in an undefined state! A default-constructed style must have its value filled in in some way before it is used for anything!

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2

      public:
      IParagraphJustificationStyle(EJustification value)

  Use this constructor to creater an IParagraphJustificationStyle object that is initialized to the value specified by the given EJustification constant.

  value
    An EJustification enumerated constant specifying the type of justification.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 3
  Copy constructor.

      public:
      IParagraphJustificationStyle( const IParagraphJustificationStyle& other )

  Constructs an IParagraphJustificationStyle object that is copied from the given one.

  other
    The IParagraphJustificationStyle object to be copied.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Assignment Operator

Use the assignment operator to replace the current IParagraphJustificationStyle object with the given one.

operator =

      public:
      IParagraphJustificationStyle&
        operator =( const IParagraphJustificationStyle& other )

  Assignment operator.

  other
    The IParagraphJustificationStyle object to be used to replace this, the current, one.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Comparing Two IParagraphJustificationStyleObjects for Equality or Ineqaulity

Use these functions to compare the given IParagraphJustificationStyle object with the current one for equality or inequality.

operator !=

      public:
      bool
        operator !=( const IParagraphJustificationStyle& other ) const

  Compares the given IParagraphJustificationStyle object against this, the current, one to determine if their content is different.

  other
    The IParagraphJustificationStyle to be tested against this, the current, one.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

operator ==

      public:
      bool
        operator ==( const IParagraphJustificationStyle& other ) const

  Compares the given IParagraphJustificationStyle object against this, the current, one to determine if their content is the same.

  other
    The IParagraphJustificationStyle to be tested against this, the current, one.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Getting and Setting the Justification Value

Use these functions to get and set the justification value.

justification

      public:
      EJustification justification() const

  Query the justification value.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setJustification

      public:
      void setJustification(EJustification value)

  Sets the justification value using the given enumerated constant.

  value
    An EJustification enumerated constant specifying the type of justification/

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IParagraphJustificationStyle - Enumerations

EJustification

      enum EJustification { kStart,
                            kCenter,
                            kEnd,
                            kMaxJustification=127 }

  Constant values specifying different justification directions Use these enumerated constants to specify different justification directions:
  kStart
    Aligns each line to the "beginning" of the line in the current writing direction, for example, for Roman text, align to the left margin, but for Hebrew text, align to the right margin.
    kEnd
  Align each line to the end of the line in the current writing direction, for example, for Roman text, align to the right margin, but for Hebrew text, align to the left margin of the paragraph between the margins

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IParagraphJustificationStyle - Inherited Member Functions and Data

#### Inherited Public Functions

  IParagraphStyle

  -     virtual ~IParagraphStyle()

  -     virtual ITextStyle::EStylePropagation propagates() const

  ITextStyle

  -     virtual ~ITextStyle()

  -     virtual EStylePropagation propagates() const = 0

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IParagraphJustificationStyle

  -     virtual void addToSet(ITextStyleSet& set) const

  -     virtual void getValueFromSet(const ITextStyleSet& set)

  -     virtual bool
          isContainedInSet( const ITextStyleSet& set ) const

  -     virtual bool
          isValueContainedInSet( const ITextStyleSet& set ) const

  -     virtual void removeFromSet(ITextStyleSet& set) const

  ITextStyle

  -     virtual void addToSet(ITextStyleSet& set) const = 0

  -     virtual void getValueFromSet(const ITextStyleSet& set) = 0

  -     virtual bool
          isContainedInSet( const ITextStyleSet& set ) const = 0

  -     virtual bool
          isValueContainedInSet( const ITextStyleSet& set ) const = 0

  -     ITextStyle(const ITextStyle&)

  -     ITextStyle()

  -     ITextStyle& operator =(const ITextStyle&)

  -     virtual void removeFromSet(ITextStyleSet& set) const = 0

  IParagraphStyle

  -     IParagraphStyle(const IParagraphStyle&)

  -     IParagraphStyle()

  -     IParagraphStyle& operator =(const IParagraphStyle&)

#### Inherited Protected Data

  - None