-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
I notice that the Frame, NumberingLevel, Table, and Paragraph elements can all be aligned. For the NumberingLevel element the attribute is named 'align', and the methods used are getAlign() and setAlign(). So far so good. For the Paragraph element the attribute is named 'alignment', and the methods used are getAlignment() and setAlignment(). That works for me as well.
Where the code seems inconsistent is with the Frame and Table elements. There the attributes are named 'alignment', but the methods are getAlign() and setAlign(). I would have expected the methods to be getAlignment() and setAlignment() so that they reflect the attribute name, like most (all?) of the other methods I've seen so far do. Not a big deal, just a minor nitpick about consistency. Thanks.