! * \internal */
| 674 | * \internal |
| 675 | */ |
| 676 | bool Format::hasAlignmentData() const |
| 677 | { |
| 678 | if (!d) |
| 679 | return false; |
| 680 | |
| 681 | for (int i=FormatPrivate::P_Alignment_STARTID; i<FormatPrivate::P_Alignment_ENDID; ++i) { |
| 682 | if (hasProperty(i)) |
| 683 | return true; |
| 684 | } |
| 685 | return false; |
| 686 | } |
| 687 | |
| 688 | /*! |
| 689 | * Set the border style with the given \a style. |