[pdf4st] Re: unwanted page breaks

  • From: bobn@xxxxxxxxxx
  • To: "pdf4st@xxxxxxxxxxxxx" <pdf4st@xxxxxxxxxxxxx>
  • Date: Tue, 25 Sep 2012 07:16:59 -0700 (PDT)

Sorry about that. #includeString: is an extension that I added and I forgot it 
was not part of the base image. 
A new version, 1.0.4, has been published with the method replaced with...

replaceString: aString with: aNewString

(self string indexOfString: aString startingAt: 1) = 0 ifTrue: [^self].

self string: (self string copyReplaceAll: aString with: aNewString).
self adjustPosition.


________________________________
 From: Ivo Roefs <ivo.roefs@xxxxxxxxx>
To: pdf4st@xxxxxxxxxxxxx 
Sent: Tuesday, September 25, 2012 7:42:55 AM
Subject: [pdf4st] Re: unwanted page breaks
 

Bob, 

I think there's a method missing:  #includesString:

regards,
Ivo


Op 16/08/2012 21:44, bobn@xxxxxxxxxx schreef:

Added R4POutputString>>adjustPosition to change the X value for strings that 
have <total> or <page> replaced and are center or right aligned. 
>Version 1.0.3 published to Cincom public Store.
>
>
>
>________________________________
> From: Ivo Roefs <ivo.roefs@xxxxxxxxx>
>To: pdf4st@xxxxxxxxxxxxx 
>Sent: Thursday, August 16, 2012 10:44:48 AM
>Subject: [pdf4st] Re: unwanted page breaks
> 
>
><...>
>    "I also discovered a second minor problem. The alignment in the footer is 
>'right', 
>        but apparently there still some extra space on
                  the right side of the page numbering."
>
>Ivo
><...>

--- PDF4Smalltalk discussion //www.freelists.org/list/pdf4st 

Other related posts: