Lose the vertical alignment of the table during the conversion of the ditamap to book

FrameMaker Version: 12.0.4.445 (later part of TCS5)

  1. I have a project structured, where several XML files have been grouped in a ditamap.
  2. For one of the XML files, I have a table, where I need to set the cell Vertical alignment of cells in the MIDDLE.
  3. So using Paragraph Designer > table cell, I have change the entries in the top in the Middle (the default values have been Top).
  4. With the ditamap pane selected, I'll then menu file > > Save Ditamap under
  5. I save ditamap as ' book with fm components 12.0 (* .book) "file type.
  6. In the resulting book, the XML files are now. FM files.

However, at this point, when I open the. File of FM which has the table, the cell styles back to the TOP.

I searched high and low for a similar problem. It's look like a bug to me, but can someone confirm?

Thank you

No, this is not a bug by itself. I bet that the alignment is lost before you generate the book. After you set the alignment and saving and closing the file... reopen and see if the alignment is still there... I bet it's gone. As a general rule, you cannot apply put in shape or properties to objects (elements) in a DITA file. This applies to font and paragraph properties as well as table set in shape and other types of development in the form. All you can do is create items and set attributes. Any parameter properties will usually be lost on file save.

You would probably need to have a 'process of publication' (script any) you run your generated book and chapter files that would scan for an attribute that shows some properties must be set on the table. The @outputclass attribute is typically used for this kind of thing. I'm not aware of what anyone in default FrameMaker DITA, who put in place to manage this type of formatting of the tables.

If this formatting that you try to apply is consistent for the whole table, it is possible that you will be able to do this by creating a new table format that has this set of default formatting. When you insert a table in a subject, the table format is assigned to the tgroup/@outputclass attribute and this is the form that is used when rendering the table. Just create a new table in the structured application model and put in place this format to have the properties you want. Then, when you insert the table, be sure to select this format. It can be hard to set this up, but it * should * work.

However, if this does not work, or you need more refined formatting applied to the parts of the table, I produce a tool called DITA-FMx, which offers extended DITA creation and publication of the options for FrameMaker. It offers features that allow this type of table set shaped to be applied by setting the attribute @outputclass to a specific value on the line or cell. You can get more information on DITA-FMx here...

http://leximation.com/DITA-FMX/

Good luck!

Scott Prentice

Leximation, Inc..

www.leximation.com

Tags: Adobe FrameMaker

Similar Questions

  • Vertical alignment off the coast in the columns of the table

    I have a table with 3 columns with a line above and below
    To align the text in the column left and right to the top, but in the Central column, the text will not align upwards. It's OK in IE, but in Firefox 1.6 is down by 1 line

    How to fix?

    David

    <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" " http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd" >
    < HTML
    xmlns =" http://www.w3.org/1999/xhtml" > < HEAD > < TITLE > BustedComputer < / TITLE > "
    < META http-equiv = Content-Type content = text/html"; charset = iso-8859-1 "/ >"
    < style type = "text/css" >
    <!--
    {body
    do-family: Verdana, Arial, Helvetica, without serif.
    do-size: 11pt;
    Color: #000000;
    left margin: 0px;
    margin-top: 0px;

    }
    table, td
    {
    border-color: #000000;
    border-style: solid;
    }
    Table
    {
    border-width: 0 1px 0 1px;
    border-spacing: 0;
    border-collapse: collapse;
    }
    TD
    {
    margin: 0;
    padding: 10px;
    border-width: 1px 1px 0 0;
    vertical-align: top;
    }
    a: link {color: blue; text-decoration: none}
    a: active {color: blue; text-decoration: none}
    a: visited {color: #0000FF; text-decoration: none}
    a: hover {color: blue; background-color: #FFFF9D; text-decoration: underline}

    ->
    < / style >
    < / HEAD >
    < BODY >
    < TABLE cellSpacing = 0 cellPadding = 0 width = 800 align = center border = 0 >
    < TBODY >
    < b >
    < TD colSpan = 3 bgcolor = "#6699FF" > Top < table >
    < /TR >
    < b >
    < TD width = "150" bgcolor = "#6699FF" > < a href = "#" > leftside < /a > < table >
    < TD bgcolor = "#FFFFCC" > < p > contrary to popular belief, Lorem Ipsum is not simply
    random text. It has roots in a piece of classical Latin literature
    45 BC, making it over 2000 years. < br >
    < br >
    Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "of Finibus.
    Bonorum and Malorum"(The extremes of good and evil) by Cicero, written
    in 45 BC. This book is a treatise on the theory of ethics, very popular
    during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor".
    sit amet... ", comes from a line in section 1.10.32. < /p >
    < Table >
    < TD width = "150" bgcolor = "#FFFFCC" > < table > right
    < /TR >
    < b >
    < TD colSpan = 3 bgcolor = "#6699FF" > bottom < table >
    < /TR > < / TBODY > < / TABLE > < BODY / > < / HTML >

    If you see the top margin on the

    Tag?

    DOH! DOH! DOH!

    Thanks, removing it solved :)

    David... DOH!

  • Unable to get the elements placed at the top and bottom of the cell of the table with vertical-align

    Hello

    I have a three-day educational courses in the list table. In each cell, I have the title of the presentation at the top with the name of the speaker below. Because some titles are longer than others, the line grows (rightly) as longer securities are covered in Word. So far so good. Now, I want all the titles to always start at the same distance from the surface of the cell (I use padding 2px) and names of speaker all be equidistant from the lower border, (i.e. 2px).

    I tried to place the title elements with < span style = "vertical-align: top" > </span > presentation title

    and the name of the speaker as < span style = "vertical-align: bottom" > name </span > Speaker

    and I tried the same method with < div > and < p > tags. Items don't move. Can someone tell me how to make the names of the speakers will be all aligned at the bottom of each cell?

    Here is an example of the code table I've tried:

    (Thanks!)

    < table style = "text-align: center;" do-family: Arial; background-color: #f7d49c; "border ="2"bordercolor =" #467E9F "cellpadding ="2 ".

    "cellspacing ="0"width ="900">"

    < tbody >

    < b >

    < td width = "300" > < span style = "" vertical-align: top; "> This is a short title </span > < br / >"

    < span style = "vertical-align: bottom" > name </span > < table > Speaker

    < td width = "300" > < div > is the title of another presentation, which is really long because some of the presentations have titles like that < / div > < br / >

    < div style = "vertical-align: bottom" > Speaker name < / div > < table >

    < td width = "300" > < span style = "vertical-align: top" > This is yet another presentation with a semi-long title </span > < br / >

    < span style = "vertical-align: bottom" > < table > </span > Speaker's name

    < /tr >

    < b >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < / tbody >

    < /table >

    By default, the content of the table cell is average aligned.  You need not do anything.

    If you want your cell vertically aligned up or down, you can specify it in your CSS.  These effects all the text inside the cell.   It's all or nothing.

    Some text that is aligned at the top Some bottom-aligned text

  • Vertical alignment of the table cell can be defined via CSS?

    In a table cell (IE, 'td') is it possible to define "valign" via CSS, instead of table cell appropriate?

    In other words, instead of...

    < table >

    < b >

    < td valign = "top" >

    .. is it possible to do:

    < table >

    < b >

    < class td = "top" >

    .. somehow, .and allow the stylesheet to define the vertical alignment?

    I ask because none of the attribute in Dreamweaver CS4 presets seem to provide for vertical alignment. Everything on God's Green Earth seems to be there, but the vertical alignment of the cell table seems to be the ONLY thing THAT forgotten CSS.

    miyeager, I'm sorry, I misread your question. Yes, you can. Use ' vertical-align: top of the text.

  • Can someone Vertical align this (and perhaps fix the blocking)?

    Here's my problem:

    For the life of me I can not set the 'Add to Cart' button from Paypal.  I want it in the middle.  In Firefox, it looks perfect (well, almost perfect), but in IE it is not in the middle.  I tried to add ' vertical align: middle "in every possible position and adjust the padding and margin everywhere too... nothing works.  (Not to mention, it seems, slightly to the left as well horizontally, but I can live with that).  In addition, blocking worked perfect in Firefox and IE until I added the "add to cart".  Now, the 'blocking' is not quite right in Internet Explorer.  I would like to only it where when someone scrolls anywhere in the cell, the region becomes a darker gray.  I had this problem with the line-height of 250% until the "add to cart" button came and which becomes in Internet Explorer.  Now, I can increase this, but then the menu bar just keep getting bigger and bigger until it seems too big/too high.

    Can anyone help?

    Thank you very much.

    Here is the code:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > Untitled Document < /title >


    < style type = "text/css" >

    {.horizontalmenubar}
    make-weight: bolder;
    text-align: center;
    border: 2px solid #000;

    }

    .horizontalmenubar td {}
    border-right: 2px solid #000;
    text-decoration: underline;
    background-color: #E5E5E5;
    color: #CA0000;
    line-height: 250%;
    }

    .horizontalmenubar a {}
    color: #CA0000;
    display: block;
    }

    .horizontalmenubar a: hover {}
    color: #CA0000;
    background-color: #B3B3B3
    }


    < / style >
    < / head >

    < body >


    < table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "horizontalmenubar" >
    < b >
    "< td width ="20% "> < a href ="... / index.html "> home < /a > < table >"
    "< td width ="20% "> < a href ="... / prod.html "> Products < /a > < table >"
    "< td width ="20% "> < a href ="... / faqs.html "> FAQS < /a > < table >"
    "< td width ="20% "> < a href ="... / contact_us.html "> contact us < /a > < /a > < table >"
    " < td width ="20% "> < target form = 'paypal' action = ' https://www.PayPal.com/cgi-bin/webscr "method ="post"> "
    < input type = "hidden" name = "cmd" value = "xxx" >
    < input type = "hidden" name = "hosted_button_id" value = "xxx" >
    " < input type ="image"src =" https://www.PayPal.com/en_US/i/BTN/btn_cart_SM.gif "border ="0"name ="submit"alt ="PayPal - the safer, easier way to pay online how!"> "
    < img alt = "" border = "0" src =" " https://www.PayPal.com/en_US/i/SCR/pixel.gif "width ="1"height ="1"> "
    < / make >

    < / make >

    < table >
    < /tr >
    < /table >


    < / body >
    < / html >

    The best idea is to post the page code in its entirety, or post a link to the live Webcam page - exactly to avoid such things.

    In any case, change this-

    method https://www.paypal.com/cgi-bin/webscr"="post">

    on this subject.

    method https://www.paypal.com/cgi-bin/webscr"="post"style =" "margin-top: 0;" > "

  • need vertically align the text in the footer at the bottom

    I tried to add ' vertical-align: bottom 'and' vertical-align: text-bottom ' in the footer in CSS, but don't seem to do anything.

    http://studiot15.com/b/DAV/

    any suggestions?

    Thank you.

    The vertical-align property is rather strange. If I remember correctly, it works only with items inline, such as images and table cells.

    To move your text to the bottom of the footer, add padding-top: 200px; to the #footer rule.

  • Left edges of printed lines moving in and out of vertical alignment, goes to the bottom of the page.

    I downloaded an upgrade HP suggested and just after, had a paper jam.   I have authorized, but then got the error message: cartridge stuck.

    I couldn't find the cartridges in a first time (they were caught completely to the left), then the belt to see if I could make it appear.  Nothing helped, and... uh - oh - guess that I would not do.

    Finally, I spotted the cartridges, slipped to them where they were supposed to be, and the printer worked.  Except now, descending by the offset of the page become for two and some lines (first part crushed), indentation of about an eighth of an inch of horizontal lines.  Then, on a half inch below the page lines come back to correct the record.  Then they go again shifted, which cycling through all the way to the bottom of the page.

    How, please, can I restore the vertical alignment?

    I have a MacBook Pro with OSX 10.7.5.   All my HP applications are dated 5 March 2012

    (I'd be happy to be notified when there is response, [edited by Moderator] Thank you)

    Hi dickns33,

    I'm glad to hear that you found someone else and it works. As for the former, although it is very nice and respectful to donate, make you a good point about someone buy it and be disappointed in the quality of printing. I think the best thing to do is to recycle.

    HP has recovered more than 2.3 billion pounds of products for reuse and recycling. HP helps to extend the life of THIS material through our programmes of refurbishment, reducing the environmental impacts and make it accessible to the largest equipment. We recycle products that are more suitable for re-use. - This presentation text and additional information are on the following Web page.   70 countries and territories around the world where we are collecting used products for resale and recycling.

    Thanks for the rest a loyal customer of HP and to hang in there all the way with me here on the HP Forums. If you need a helping hand, feel free to reconnect and reach out.

  • Problem: The Page with the title bar, Vertical alignment Center does not work BB 10 keyboard (720 x 720)

    Hello

    I want centered vertically align something (for example, a label) on a page with the qml following, but it is not aligned properly on the keyboard BB (720 x 720), it aligns on the contrary always on top. It aligns not centered vertically as expected on BB 10 all touch (1280 x 768).

    import bb.cascades 1.0
    
    Page {
        titleBar: TitleBar {
            title: "Title"
        }
        Container {
            layout: DockLayout {
            }
            background: Color.create("#444444")
            verticalAlignment: VerticalAlignment.Fill
            Label {
                text: "label"
                verticalAlignment: VerticalAlignment.Center
            }
        }
    }
    

    I realize also realize that if I remove the title bar, and then it snaps as I want. Anyone have a solution this? Thank you.

    Try with this:

        titleBar: TitleBar {
            title: "Title"
            scrollBehavior: TitleBarScrollBehavior.Sticky
        }
    
  • File IDML opening with vertical alignment of text in the box set "Center".

    I got a batch of files, asking me to review. They were saved as files CC as well as .idml. I have used .idml since the sender used plugins files that are not included in the package. Using the .idml, I do not get the warning about the missing plugins. However, when I open the idml files that all text boxes are the vertical value Center instead of top. Very tedious. CC files opened correctly (with the exception of the warning about the missing plugins).

    Is it possible to open the idmls and get the vertical alignment to open as "top"? Or should I use the CC files and ignore the warning on the plugins?

    Thank you!

    Tim

    Guess I'm stuck with opening the idml docs and manually change each vertical alignment of text box.

    With Find\Change you can:

    Find/replace > object tab

    Tye: Blocks of text

    Change object Format: click on specify the attributes to modify > text frame general Options > vertical Justification > Align > Top

    Then find and change or change all

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • Vertical alignment of the label PanelLabelAndMessage

    By default, the left label is centered vertically. Can it be aligned on it? I think it's desirable design for most of the cases.

    Hello

    labelStyle value = "' vertical-align: top" for panelLabelAndMessage. "

    Kind regards

  • Where to change the vertical alignment by default of a cell?

    Hi all

    The current vertical alignment of cells in responses is the Center and we would like to change at the top but I don't know where to make the change, so it applies to all columns. Does anyone have an idea?

    Moreover, we are still in v10.1.3.4.1.

    Thank you very much for your help!

    You can change it in the properties of the columns in the criteria tab.

    If you want it to be across the system settings follow this thread - Re: Alignment Page tab left vertical cell Instead Of the Top Horizontal OBIEE , you should find the settings that you are for.

    Check here:

    Middleware1\Oracle_BI1\bifoundation\web\app\res\sk_blafp\b_mozilla_4

    Published by: user7760457 on January 30, 2012 12:27

  • Why Center them Vertical align objects along the horizontal?

    And why Horizontal alignment to center align the objects along the vertical?

    -g-

    P.S. Please please please do the Eydropper tool available by function key so I can switch to it by using the text tool. Please, I beg you!

    g,

    but when I select both objects and click the align vertical that they align themselves with an invisible horizontal line

    It's (almost) identical to:

    Because (the centers of) lined up beside the objects will be on the same horizontal level/line.

    And it's just a way to express what vertical alignment means. Here are some others:

    Their centres are the same height,

    Their centers have the same value of Y on the Board/chart workspace.

    In all cases, you can draw a horizontal line through their centers.

    Mathematically, Y = C (there is a C constant value) is the equation of a horizontal line.

  • By aligning an entire table in regards to the margins?

    Hello. Is there a way to align a whole table with regard to the margins of the page? I created a table which is smaller in width than the width of my page margins, and I want to align so it is in the center of my page, but I can't find a way to do (or 'googleing' helped me). Can someone help me? Thank you very much.

    A table is really just a paragraph to stand alone. Using the Center Align button in the paragraph Panel.

    Bob

  • Why the "vertical-align" argument does not work?

    Very often, I try to use the "vertical-align" argument to control the CSS formatting, but so far he has never worked, so I had to resolve the situation by specifying values for margin...

    Why the "vertical-align" argument does not work in CSS?

    Alternatives?

    For your reading pleasure.

    http://phrogz.NET/CSS/vertical-align/index.html

    Gary

Maybe you are looking for