OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office] Proposal for table print ranges


Hi all,

as discussed in our last con call, I would like to revise the original 
proposal.

First of all, I've checked whether there is already a "table:display" 
attribute that can be used instead of a new attribute to specify wheter 
a table is printed or not. In fact, there is already such an attribute 
within the table style, but not for the <table:table> element itself. 
Since the table:print-range attribute is an attribute of the 
<table:table> element, it seems not to be very reasonable to me to 
extend the table:display attribute contained in the table style, because 
this would have the result that printing of tables is controlled by a 
mixture of style and content information. Moving the print range into 
the style seems also not to be very reasonable to me. Therefor, my 
revised propsoal is as follows:

Rather than adding a table:automatic-print-range, I would like to 
suggest to add a "table:print" attribute. It takes a boolean value. If 
its value is "true", the table is printed, if its value is "false", the 
table is not printed. The default value is "true". The "table:print" 
attribute will be overwritten by the "display" attribute contained in 
the table style. That is, if the table is not displayed, it also will 
not be printed.

If the table is printed, the table range that actually is printed can be 
specified by "table:print-range" attribute. If this attribute is not 
existing, the used area of the table will be printed.

Best regards

Michael



Michael Brauer wrote:
> Hi all,
> 
> since tables in spreadsheet documents have a very large but fixed number 
> of rows and columns, it is impossible to print the full tables by 
> default. For this reason, spreadsheet application typically allow to 
> specify the range or the ranges of a spreadsheet table that shall be 
> printed. This feature exists already in the OASIS Open Office format. It 
> is represented by the table:print-ranges attribute that can be attached 
> to the <table:table> element. This attribute takes a list of cell range 
> addresses that shall be printed.
> 
> What is not existing so far is an option that specifies that exactly the 
> used area of a table should be printed whithout specifying it by a cell 
> range. For this reason, I would like to propose to add a 
> table:automatic-print-range attribute to the <table:table> element. It 
> takes a boolean value and can be used instead of the table:print-ranges 
> attribute. If the value is 'true', exactly the used area of the table 
> will be printed. If it is 'false', the table will not be printed at all.
> If both attributes are not present, then the behavior is application 
> dependent.
> 
> Best regards
> 
> Michael
> 
> 
> To unsubscribe from this mailing list (and be removed from the roster of 
> the OASIS TC), go to 
> http://www.oasis-open.org/apps/org/workgroup/office/members/leave_workgroup.php. 
> 
> 

-- 
Michael Brauer                                Phone:  +49 40 23646 500
Technical Architect Software Engineering      Fax:    +49 40 23646 550
StarOffice Development
Star Office Software Entwicklungs GmbH
Sachsenfeld 4
D-20097 Hamburg, Germany                e-mail: michael.brauer@sun.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]