Row - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DocumentTools[Layout]

  

Row

  

generate XML for a Row element

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Row( c, opts )

Parameters

c

-

(optional) ; content for the Row

opts

-

(optional) ; one or more keyword options as described below

Options

• 

alignment : identical(top,bottom,center,baseline):=top ; The vertical alignment of the contents of the Row.

• 

separator : truefalse:=true ; Indicates whether a horizontal separator located above the Row will be visible when the interior borders of the parent Table are set to be shown by group.

Description

• 

The Row command in the Layout Constructors package returns an XML function call which represents a Row element of a worksheet Table.

• 

The generated XML may be used with the results of other commands in the Layout Constructors package to create an entire Worksheet or Document in XML form. Such a representation of a Worksheet or Document may be inserted into the current document using the InsertContent command.

Examples

withDocumentTools:

withDocumentTools:-Layout:

Executing the Row command produces a function call.

RRowCellSome text

R_XML_Table-Rowalign=top,separator=true,_XML_Table-Cellcolumnspan=1,backgroundstyle=0,rowspan=1,fillcolor=[255,255,255],visible=true,_XML_Text-fieldalignment=centred,style=Text,layout=Normal,Some text

(1)

By using additional commands from the Layout Constructors package a nested function call can be produced which represents an entire worksheet.

The Row is made the content of a Table.

TTableColumn,R:

xmlWorksheetT:

That XML representation of a worksheet can be inserted directly.

InsertContentxml:

Some text

The Cell constructor is only necessary when some non-default Cell option is wanted, or when a sequence of arguments to Row are intended to be grouped in particular Cells. Arguments to the Row constructor are otherwise automatically wrapped in calls to Cell.

RRowSome text.,CellMore text., Yet more text.,fillcolor=gold,Even more text:

xmlWorksheetTable`$`Column,3,R:

InsertContentxml:

Some text.

More text. Yet more text.

Even more text

When the interior borders of a Table are specified to be shown by group then the absence of a separator above a Row is revealed.

s`$`Some text,3:

TTable`$`Column,3,interior=group,Rows,Rows,Rows,separator=false,Rows,separator=false:

InsertContentWorksheetT:

Some text

Some text

Some text

Some text

Some text

Some text

Some text

Some text

Some text

Some text

Some text

Some text

The vertical alignment of content of all Cells in a Row are specified by the alignment option for that Row.

s1Some text.:

s2Some text.\nMore text.\nYet more text.:

pInlinePlotplotsin,tickmarks=1,1:

TTable`$`Column,3,widthmode=pixels,width=300,alignment=center,Rows1,s2,p,alignment=top,Rows1,s2,p,alignment=baseline,Rows1,s2,p,alignment=center,Rows1,s2,p,alignment=bottom:

InsertContentWorksheetT:

Some text.

Some text.
More text.
Yet more text.

Some text.

Some text.
More text.
Yet more text.

Some text.

Some text.
More text.
Yet more text.

Some text.

Some text.
More text.
Yet more text.

Compatibility

• 

The DocumentTools:-Layout:-Row command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

Component Constructors

DocumentTools

InsertContent

Layout Constructors

XMLTools