At 2002-04-17 11:01 +0100, Roger Tribe wrote:
>The product I am writing produces letters with the layout and content
>produced on the fly.
>The letters will have numerous tables included, but the left starting
>positions of each table will vary.
>I am trying to indent individual tables from the page margin without success.
>I have tried using margin-left, start-indent and position-absolute on the
>table node and although the text position within the cell moves, the start
>of the first cell in the table always appears at the page margin.
>Being a newbie I am not sure if the problem lies with my FO knowledge.
Nope ... start-indent= or margin-left will indent a table, so if it isn't
working for you, check the capabilities of the FO engine you are using.
> I would very much appreciate a FO snippet.
Below is a complete file, and I've attached a screen capture of the result.
I hope this helps.
p.s. since these are inherited attributes, don't forget to "turn off" the
indent once you are in the table.
<?xml version="1.0" encoding="utf-8"?><!--raw.fo-->
<block>This is a table without indent:</block>
<block>This is a table with indent:</block>
<table border="solid" start-indent="5cm">