Scribusoid

Author Topic: How to get the bleeds of a document  (Read 558 times)

agricola

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
How to get the bleeds of a document
« on: October 17, 2016, 01:15:29 pm »
Hi everybody,

I want read out the bleeds of all sides of a document by means of scripting.
Let's say, I'm searching for a scribus-function like "getPageBleeds(...)" or something like that, knowing, that there is a function "getPageMargins(...)",
returning the 4 margins (but not the bleeds!) actually beeing applied to a page.

Many thanks for your help as well as for any ideas for a workaround!

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1256
  • Karma: 18
    • the graphics lab
Re: How to get the bleeds of a document
« Reply #1 on: October 17, 2016, 04:10:33 pm »
hi agricola

if it's not there you can add it...

adding new commands to the scripter is not that hard... if you have basic python/c++ skills...

ciao
a.l.e

mnawij

  • Full Member
  • ***
  • Posts: 125
  • Karma: 1
  • Scribus User
Re: How to get the bleeds of a document
« Reply #2 on: October 19, 2016, 01:48:59 am »

Nermander

  • Hero Member
  • *****
  • Posts: 1131
  • Karma: 15
Re: How to get the bleeds of a document
« Reply #3 on: October 19, 2016, 08:44:40 am »
The question was not for cropping, but reading the information from a script. Most likely to use in some calculation.

 

palmate