View Issue Details

IDProjectCategoryView StatusLast Update
0016901ScribusScripterpublic2023-04-27 16:04
Reporterale Assigned Tocbradney  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.7.0.svn 
Fixed in Version1.6.0.svn 
Summary0016901: Provide the information about the page number being "shown"
Descriptionthere is now a getPageNumber() function that provides the zero indexed number of the page.

we could also need a way to retrieve the "real" number of the page, the one that is used by "insert > page number".

this could be done by:

- modifying the getPageNumber() function (it's probably not really in use yet... on the other side i can think that there are cases, where one would want to know the page index of a specific frame)
- adding a new api function (i wonder how we can call it...)
- providing access (read / write) to the section information (getSections(), getSection(index=None), getCurrentSection())
TagsNo tags attached.
PatchNo

Relationships

related to 0015683 new scripter: give access to the section information 

Activities

cbradney

2023-01-24 20:39

administrator   ~0049974

Last edited: 2023-01-24 20:41

currentPageNumber() exists though note it add 1 to start from 1.
I have added currentPageNumberForSection(). Does that meet the need?

ale

2023-04-27 16:04

manager   ~0050145

yep, that's useful : - )

the name is a bit cryptic, sadly it's currentPageNumber that should have been named currentPageIndex a few years ago...
(well, i really wonder if there are people using those functions and renaming them in 1.7 might be a good idea...)

Issue History

Date Modified Username Field Change
2023-01-20 07:31 ale New Issue
2023-01-24 20:30 cbradney Assigned To => cbradney
2023-01-24 20:30 cbradney Status new => assigned
2023-01-24 20:34 cbradney Status assigned => resolved
2023-01-24 20:34 cbradney Resolution open => fixed
2023-01-24 20:34 cbradney Fixed in Version => 1.6.0.svn
2023-01-24 20:39 cbradney Note Added: 0049974
2023-01-24 20:41 cbradney Note Edited: 0049974
2023-01-24 21:18 jghali Summary provide the information about the page number being "shown" => Provide the information about the page number being "shown"
2023-01-24 21:37 cbradney Relationship added related to 0015683
2023-04-27 16:04 ale Note Added: 0050145
2023-04-27 16:04 ale Status resolved => closed