[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Question about KWord tables
From:       Gary Cramblitt <garycramblitt () comcast ! net>
Date:       2005-12-10 3:55:50
Message-ID: 200512092255.51232.garycramblitt () comcast ! net
[Download RAW message or body]

I'm working on the document structure area in KWord.  There is this in the 
DESIGN file:

* About Tables; one table is a KWTableFrameset. This tableframeset contains
all the cells as its frames. But because the cells have a different text per
cell, we contain the cells in their own KWTextFrameset.

   KWTableFrameSet
    |           |
    |        TextFrames
  Cells               +----------+
     +--+                        |
        | ---> KWTextFrameSet    |
        |          +-> KWFrame <-+
        |                        |
        | ---> KWTextFrameSet    |
        |          +-> KWFrame <-+
        |                        |
        + ---> KWTextFrameSet    |
                   +-> KWFrame <-+

Does this mean there is exactly one frame per cell of a table?  Or can there 
be other frames in a cell?  I ask because my code is currently displaying the 
doc struct area like this:

Table 9
    Table 9 Cell 0,0
        Text Frame 1
            Paragraph 1
    Table 9 Cell 0,1
        Text Frame 1
            Paragraph 1

and would like to reduce this to

Table 9
    Table 9 Cell 0,0
        Paragraph 1
    Table 9 Cell 0,1
        Paragraph 1

i.e., eliminate the frames on the assumption there is always exactly one frame 
per cell.

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic