Table implementation: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (Added to Development category and Tables subcategory)
 
(48 intermediate revisions by one other user not shown)
Line 11: Line 11:


== What information should be imported? ==
== What information should be imported? ==
<ul>
<li>dimension and content of cells</li>
<li>style (borders, fill etc.) only from OpenOffice copy/paste</li>
</ul>
<b>Optional</b>
<ul>
<li>style (borders, fill etc.) from HTML tables</li>
<li>otherwise it would be possible to copy/paste from HTML to OpenOffice and then to Scribus</li>
</ul>


== What features we need? ==
== What features we need? ==
- size of tables
<ul>
- dimension of table
<li>size of tables</li>
- automatic/fixed column size
<li>dimension of table</li>
- where the heading is
<li>automatic/fixed column size</li>
- spit table: yes/no and if heading will be added
<li>where the heading is</li>
- lines: where, color, style
<li>automatic split table: yes/no and if heading will be added</li>
- cells: fill (color, pattern, picture or eqauation)
<li>lines: where, color, style, width</li>
- operations with cells: merge, split
<li>cells: fill (color, pattern, picture or equation)</li>
- operations with rows/columns: delete, add
<li>operations with cells: merge, split</li>
- change size of cell manually
<li>operations with rows/columns: delete, add</li>
- align numbers according to comma: yes/no
<li>optimise: height, width of cells</li>
- align of table: to the page...
<li>make height/width of cells equal</li>
- tack to the text => create control system for this
<li>change size of cell manually</li>
- possibility to create "table style"
<li>align numbers according to comma: yes/no</li>
<li>align of table to: text (other via distribute and align)</li>
<li>tack to the text => create control system for this</li>
<li>possibility to create "table style"</li>
<li>padding: color, width</li>
<li>delete current fill, style... altogether</li>
</ul>
<b>Optional</b>
<ul>
<li>exchange columns with rows and vice versa</li>
<li>split table</li>
</ul>


== Table research in other applications ==
== Table research in other applications ==
Line 32: Line 52:
What programs have some table capabilities? It divides into two groups: Office and DTP programs.
What programs have some table capabilities? It divides into two groups: Office and DTP programs.


Office programs
'''Office programs'''
- MS Office,
<ul>
- [http://www.openoffice.org OpenOffice.org],
<li>MS Office,</li>
- [http://www.koffice.org/ KOffice],
<li>[http://www.openoffice.org OpenOffice.org],</li>
- [http://www.abisource.com/ abiword],
<li>[http://www.koffice.org/ KOffice],</li>
- [http://www.softmaker.com/english/ SoftMaker Office].
<li>[http://www.abisource.com/ abiword],</li>
<li>[http://www.softmaker.com/english/ SoftMaker Office].</li>
</ul>
'''DTP programs'''
<ul>
<li>Adobe Indesign,</li>
<li>Quark XPress,</li>
<li>MS Publisher,</li>
<li>[http://www.lyx.org/ LyX].</li>
</ul>
===MS Office===


DTP programs
===OpenOffice.org===
- Adobe Indesign,
 
- Quark XPress,
===Koffice===
- MS Publisher,
 
- [http://www.lyx.org/ LyX].
===abiword===
 
===SoftMaker Office===
 
===Adobe InDesign===
 
===Quark XPress===
 
===MS Publisher===
 
===LyX===


== Scribus solution ==
== Scribus solution ==


Some ideas
I found some texts to this feature:
<ul>
<li>some info in [http://wiki.scribus.net/index.php/Tables Scribus wiki]</li>
<li>older bug [http://bugs.scribus.net/view.php?id=4621 Table styles] in Mantis with [http://bugs.scribus.net/file_download.php?file_id=2465&type=bug User Interface]</li>
</ul>
 
===Inserting table===
<ul>
<li>icon like now</li>
<li>via create frame > at the center will be icon with table too (1:40-1:55) [http://www.youtube.com/watch?v=WnfZlYU0SNc&feature=player_embedded here]</li>
</ul>
 
===User Interface===
 
===How will be table stored in Scribus?===
 
<b>In .sla document</b>
<ul>
<li>background, lines etc. in SVG</li>
<li>grouped same type of objects</li>
<li>Example: background, grouped minor lines, grouped main lines, text</li>
<li>simply editable when needed</li>
<li>possible to add to scrapbook</li>
</ul>
<b>As a Table Style</b>
<ul>
<li>predefined specification for all objects</li>
<li>it consists of text style, line style and shapes/frames</li>
<li>Example: Main header: top, paragraph style tab1 fill: shape color: none; Normal item: paragraph style tab2 fill: shape color: none; border left: line1 color: black; border right: line1 color: black, border top: line1 color: black; border bottom: line1 color: black;</li>
</ul>
====Missing fatures====
<ul>
<li>align items according to comma or point directly, not via tabulator</li>
<li>align text to the internal table grid</li>
<li>find solution for align of two-line text</li>
<li>tack table to text with its control system</li>
</ul>
 
====Scribus Table syntax====


Inserting table
[[Category:Development]]
- create frame > at the center will be icon with table too [http://www.youtube.com/watch?v=WnfZlYU0SNc&feature=player_embedded more...]
[[Category:Tables]]

Latest revision as of 21:56, 17 May 2011

Here you can write anything to the tables... Ideas, what features we need etc.

What format should be supported?

  • copy/paste from OpenOffice
  • import from table calculator: Calc, Gnumeric, KSpread
  • HTML tables
  • txt files with items
  • LaTeX

What information should be imported?

  • dimension and content of cells
  • style (borders, fill etc.) only from OpenOffice copy/paste

Optional

  • style (borders, fill etc.) from HTML tables
  • otherwise it would be possible to copy/paste from HTML to OpenOffice and then to Scribus

What features we need?

  • size of tables
  • dimension of table
  • automatic/fixed column size
  • where the heading is
  • automatic split table: yes/no and if heading will be added
  • lines: where, color, style, width
  • cells: fill (color, pattern, picture or equation)
  • operations with cells: merge, split
  • operations with rows/columns: delete, add
  • optimise: height, width of cells
  • make height/width of cells equal
  • change size of cell manually
  • align numbers according to comma: yes/no
  • align of table to: text (other via distribute and align)
  • tack to the text => create control system for this
  • possibility to create "table style"
  • padding: color, width
  • delete current fill, style... altogether

Optional

  • exchange columns with rows and vice versa
  • split table

Table research in other applications

What programs have some table capabilities? It divides into two groups: Office and DTP programs.

Office programs

DTP programs

  • Adobe Indesign,
  • Quark XPress,
  • MS Publisher,
  • LyX.

MS Office

OpenOffice.org

Koffice

abiword

SoftMaker Office

Adobe InDesign

Quark XPress

MS Publisher

LyX

Scribus solution

I found some texts to this feature:

Inserting table

  • icon like now
  • via create frame > at the center will be icon with table too (1:40-1:55) here

User Interface

How will be table stored in Scribus?

In .sla document

  • background, lines etc. in SVG
  • grouped same type of objects
  • Example: background, grouped minor lines, grouped main lines, text
  • simply editable when needed
  • possible to add to scrapbook

As a Table Style

  • predefined specification for all objects
  • it consists of text style, line style and shapes/frames
  • Example: Main header: top, paragraph style tab1 fill: shape color: none; Normal item: paragraph style tab2 fill: shape color: none; border left: line1 color: black; border right: line1 color: black, border top: line1 color: black; border bottom: line1 color: black;

Missing fatures

  • align items according to comma or point directly, not via tabulator
  • align text to the internal table grid
  • find solution for align of two-line text
  • tack table to text with its control system

Scribus Table syntax