Issue 10658

Summary: Can't print current sheet, cause can't get the print ranges ...
Product: Calc Reporter: Oliver Brinzing <oliver.brinzing>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: esigra, issues, m.santhoff, pet.ebe
Version: OOo 1.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Demonstrates the PageToScale & Pagebreak Update Problem none

Description Oliver Brinzing 2003-01-14 18:11:06 UTC
Hi,

I'm missing the following featurers in OO ...

An api 

a) which refreshes all print pages of the document, e.g.
   when the user changes the zoom of the page style, or insert/
   deletes some row or column breaks, the number of print pages can
   change ... there is no direct way to do the update ...
   The function should return the "PageCount" ... or better
   a string like "1-3;4-5;6" (Sheet1 has the pages 1-3 ...)

   Remember: there can be more than one print range in a sheet and
             you can have lots of row/column page breaks mixed with
             the print ranges ...

b) which returns the print pages of a sheet (e.g. "Sheet2"
   has the pages "3-4") ... so you can print them directly ...

c) an api, which returns the Page Count per Page Style (cause every
   Page style starts counting with "1" ...

Please have a look at Issue #4078 too

regards

Oliver
Comment 1 frank 2003-01-15 07:28:22 UTC
Hi Bettina,

1 4 u

Frank
Comment 2 niklas.nebel 2003-01-15 17:25:23 UTC
*** Issue 4078 has been marked as a duplicate of this issue. ***
Comment 3 Oliver Brinzing 2003-02-06 18:17:16 UTC
Created attachment 4591 [details]
Demonstrates the PageToScale & Pagebreak Update Problem
Comment 4 Oliver Brinzing 2004-12-20 17:10:20 UTC
Hi,

from time to time, I have a look at my older issues ...

and i am still missing the api to

- update the printpages
- get the print pages for a all/specific sheet
- get pagecount for all sheets, that share a page style

what i would like to do is to build an java addon print dialog with a tree
structure to display all print pages ... this would make user handling
much easier as you could use displaynames instead of numbers for selection ...

e.g.

- MyDocument
  - Sheet1            (1-2)
    - Page 1 of 2 
    - Page 2 of 2
  - Sheet 2           (3)
    - Page 1 of 1
  - Sheet 3           (4-x)
      Page ...

hopefully my x-mas wishes come true with oo 2.0 :-)

regards

Oliver
Comment 5 Oliver Brinzing 2009-05-19 06:44:55 UTC
request for enhancement still open for about 6 years - 
please set target or close it ...
Comment 6 bettina.haberer 2010-05-21 14:59:59 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".