[xep-support] Re: Change bar for inserted table-row not showing

Patricia Piolon ppiolon at synclude.com
Tue Apr 9 02:14:00 PDT 2013


Hi Kevin,

Good idea, thanks very much.

-- Patricia


On 8 April 2013 20:50, Kevin Brown <kevin at renderx.com> wrote:

> I can explain the reasoning (logic). ****
>
> ** **
>
> Tables are rendered internally in the engine from right to left (or better
> said from end to start), row by row. So actually, that last cell in the
> first row is the first cell rendered. Only content can be marked as changed
> (there is no structure in the output tree that corresponds to “table row”
> only things like text, image, lines, etc.). In this case a single change
> bar specified for a row, the content in this last cell is selected to
> render the change bar and unfortunately it is zero height****
>
> ** **
>
> I will forward into our team to investigate. Your method does work … BUT,
> I also did a few more tests and it would not mark the full height of any
> row unless that full height is in the last cell. Meaning this would only
> create a mark the height of the “D” and not the “A” + “C”.****
>
> ** **
>
> <fo:table-row>
>
>     <fo:change-bar-begin change-bar-color="black" change-bar-style="solid"change-bar-offset
> ="6mm" change-bar-class="d0e86672b" change-bar-placement="start"/>
>
>     <fo:table-cell><fo:block>A</fo:block><fo:block>C
> </fo:block></fo:table-cell>
>
>     <fo:table-cell><fo:block>B</fo:block></fo:table-cell>
>     <fo:table-cell><fo:block>D</fo:block></fo:table-cell>
>
>     <fo:change-bar-end change-bar-class="d0e86672b"/>
> </fo:table-row>****
>
> ** **
>
> Alternatively, you could change your XSL logic to instead mark each cell
> if your intention is to mark a single row, like this. This will get you the
> desired output in any case of row heights.****
>
> ** **
>
> <fo:table-row>
>
>     <fo:change-bar-begin change-bar-color="black" change-bar-style="solid"change-bar-offset
> ="6mm" change-bar-class="d0e86672b" change-bar-placement="start"/>
>
>     <fo:table-cell><fo:block>A</fo:block><fo:block>C
> </fo:block></fo:table-cell>
>     <fo:change-bar-end change-bar-class="d0e86672b"/>
>
>     <fo:change-bar-begin change-bar-color="black" change-bar-style="solid"change-bar-offset
> ="6mm" change-bar-class="d0e86672b" change-bar-placement="start"/>
>
>     <fo:table-cell><fo:block>B</fo:block></fo:table-cell>
>
>     <fo:change-bar-end change-bar-class="d0e86672b"/>
>
>     <fo:change-bar-begin change-bar-color="black" change-bar-style="solid"change-bar-offset
> ="6mm" change-bar-class="d0e86672b" change-bar-placement="start"/>
>
>     <fo:table-cell><fo:block/></fo:table-cell>
>     <fo:change-bar-end change-bar-class="d0e86672b"/>
> </fo:table-row>****
>
> ** **
>
> ** **
>
> Kevin Brown****
>
> RenderX****
>
> ** **
>
> *From:* xep-support-bounces at renderx.com [mailto:
> xep-support-bounces at renderx.com] *On Behalf Of *Patricia Piolon
> *Sent:* Monday, April 08, 2013 8:04 AM
> *To:* RenderX Community Support List
> *Subject:* [xep-support] Change bar for inserted table-row not showing****
>
> ** **
>
> Hi all,****
>
> ** **
>
> I'm running into the following issue:****
>
> <fo:table-row id="temp2">
> <fo:change-bar-begin change-bar-color="black" change-bar-style="solid"
> change-bar-offset="6mm" change-bar-class="d0e86672b"
> change-bar-placement="start"/>
> <fo:table-cell><fo:block>A</fo:block></fo:table-cell>
> <fo:table-cell><fo:block>B</fo:block></fo:table-cell>
> <fo:table-cell><fo:block/></fo:table-cell>
> <fo:change-bar-end change-bar-class="d0e86672b"/>
> </fo:table-row>****
>
> The change bar is not rendered (or rather rendered as zero-height, just a
> tiny dot) in this case, because the last cell of the row has no content. If
> we put e.g. a non-breaking space inside, the change bar is there.****
>
> Could you please clarify the reasoning behind this, or is it just a small
> bug?****
>
> Thanks,****
>
> -- Patricia****
>
>  ****
>
> _______________________________________________
> (*) To unsubscribe, please visit
> http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service
> http://w
> ww.renderx.com/terms-of-service.html
>


!DSPAM:87,5163dbf69852064892687!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20130409/84c2edc1/attachment.html>


More information about the Xep-support mailing list