DITA and XMetaL Discussion

  • dduffy

    Table rows in XMAX

    Participants 2
    Replies 3
    Last Activity 8 years ago

    In XMAX, there does not seem to be a way to align all rows in a table at one time or am I missing something. You can table align multiple rows in XMEE. Will this be included in the future?

    Reply

    Derek Read

    Reply to: Table rows in XMAX

    Can you please provide a bit more detail?

    The best (most unambiguous) information to provide would be an example of what the XML source looks like before and after the modification you are asking about.

    If you can post an example of the entire (and preferably small) table that would be best. We would then know which table model is being discussed and the elements and / or attributes in that table model you are referring to when you say “align”. Then if there is an easy way to make those changes using the UI I can probably state how that can be done. If there is no built-in method then perhaps a solution can be provided via scripting or some other means.

    Obviously, since XMAX does not provide the equivalent of the “Table Properties” dialog that XMetaL Author includes, you need to build your own for XMAX (so if you have something it might need to be extended). Depending on what we're talking about, it may or may not be possible to build exactly the same feature (if it exists in XMetaL Author).

    Reply

    dduffy

    Reply to: Table rows in XMAX

    This is a default table in XMEE 8.0:


    ValueDescription

    Value 1This is value 1.

    It can have multiple values.


    Value 2This is value 2.

    It can have multiple values.


    Value 3This is value 3.

    It can have multiple values.


    Value 4This is value 4.

    It can have multiple values.


    Value 5This is value 5.

    It can have multiple values.



    To align each row, it looks like this:

    ValueDescription

    Value 1This is value 1.

    It can have multiple values.


    Value 2This is value 2.

    It can have multiple values.


    Value 3This is value 3.

    It can have multiple values.


    Value 4This is value 4.

    It can have multiple values.


    Value 5This is value 5.

    It can have multiple values.



    Basically, in XMEE 8.0 you can select the entire table Tablbe Propteries > Row and change the vertical alignment to the rows all at once. In XMAX, if you select all the row and do the same steps, only the first row in the series is aligned.

    Reply

    Derek Read

    Reply to: Table rows in XMAX

    If you select more than one cell in a table and then use the Selection or Range APIs they will only return the start of the selection. There is no way to obtain the start and end or something equivalent to that, so there would also be no way to walk through multiple cells (their elements) and set attributes for each.

    There is also no Table Properties dialog provided with XMAX. I guess that would be the ideal.

    To allow users to set attributes on multiple table cells (elements) with the current releases of XMAX I guess you would need to provide an alternative type of UI. You could prompt the user for the number of cells / rows to set the attribute for starting from the first one.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support