SlideShare a Scribd company logo
Effective Strategy to Set Page Breaks for ODS RTF Outputs   Songtao Jiang, HCRI, Boston, MA Daniel Boisvert, Genzyme Corp.
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object]
Page Break ,[object Object],[object Object],[object Object]
Page Break (cont.) ,[object Object],[object Object],[object Object],[object Object]
Solution ,[object Object],[object Object],[object Object],[object Object],[object Object]
Algorithm ,[object Object],[object Object],[object Object],[object Object]
Algorithm ( Calculate width for the used characters (utility file used) ) ,[object Object],Width of a character = Width of text body in Word / Number of characters on one line
Algorithm (Calculate the number of lines of each observation (according to column widths – known) ,[object Object],[object Object]
Algorithm ( Assign a page number to each observation (according to the number of lines on one page) ) ,[object Object],[object Object],[object Object]
Results ,[object Object],[object Object],[object Object],[object Object]
Code
Calculate Length of String ,[object Object],[object Object],[object Object],[object Object],[object Object]
Creating an informat ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The resulting informat.
Create Informat ,[object Object],[object Object]
Calculate # of Printed Lines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sublength This is a Long String Assume column width=17
Finished ,[object Object],[object Object],[object Object]
References ,[object Object],[object Object]
Thank You!!

More Related Content

Viewers also liked

Empire of Hype: A History of Artists and the Media
Empire of Hype: A History of Artists and the Media Empire of Hype: A History of Artists and the Media
Empire of Hype: A History of Artists and the Media
Adam Eisenstat
 
CV - Geoff Gardiner 2016
CV - Geoff Gardiner 2016CV - Geoff Gardiner 2016
CV - Geoff Gardiner 2016
Geoff Gardiner
 
Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์
Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์
Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์
nawaporn khamseanwong
 
Put Down That Mouse
Put Down That MousePut Down That Mouse
Put Down That Mouse
Daniel Boisvert
 
แนวทางการประเมินเงินงบประมาณ
แนวทางการประเมินเงินงบประมาณแนวทางการประเมินเงินงบประมาณ
แนวทางการประเมินเงินงบประมาณ
UNDP
 
Social Media Report - Camera Brands (India) Q2 2016
Social Media Report - Camera Brands (India) Q2 2016Social Media Report - Camera Brands (India) Q2 2016
Social Media Report - Camera Brands (India) Q2 2016
Unmetric
 
Blue ray disv technology
Blue ray disv technologyBlue ray disv technology
Blue ray disv technology
sunil paswan
 
PHP Developer
PHP DeveloperPHP Developer
PHP Developer
NITIN Sawake
 
About me
About meAbout me
About me
vaheanush
 
INTRODUCTION TO SAS
INTRODUCTION TO SASINTRODUCTION TO SAS
INTRODUCTION TO SAS
Bhuwanesh Rawat
 

Viewers also liked (10)

Empire of Hype: A History of Artists and the Media
Empire of Hype: A History of Artists and the Media Empire of Hype: A History of Artists and the Media
Empire of Hype: A History of Artists and the Media
 
CV - Geoff Gardiner 2016
CV - Geoff Gardiner 2016CV - Geoff Gardiner 2016
CV - Geoff Gardiner 2016
 
Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์
Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์
Loadแนวข้อสอบ ผู้ช่วยพยาบาล โรงพยาบาลนครพิงค์
 
Put Down That Mouse
Put Down That MousePut Down That Mouse
Put Down That Mouse
 
แนวทางการประเมินเงินงบประมาณ
แนวทางการประเมินเงินงบประมาณแนวทางการประเมินเงินงบประมาณ
แนวทางการประเมินเงินงบประมาณ
 
Social Media Report - Camera Brands (India) Q2 2016
Social Media Report - Camera Brands (India) Q2 2016Social Media Report - Camera Brands (India) Q2 2016
Social Media Report - Camera Brands (India) Q2 2016
 
Blue ray disv technology
Blue ray disv technologyBlue ray disv technology
Blue ray disv technology
 
PHP Developer
PHP DeveloperPHP Developer
PHP Developer
 
About me
About meAbout me
About me
 
INTRODUCTION TO SAS
INTRODUCTION TO SASINTRODUCTION TO SAS
INTRODUCTION TO SAS
 

Similar to ODS Page Breaking

Hello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdfHello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdf
namarta88
 
Program 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docxProgram 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docx
wkyra78
 
Strings-Computer programming
Strings-Computer programmingStrings-Computer programming
Strings-Computer programming
nmahi96
 
C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...
C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...
C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...
corehard_by
 
50120130405006
5012013040500650120130405006
50120130405006
IAEME Publication
 
OPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHM
OPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHMOPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHM
OPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHM
Jitendra Choudhary
 
Data structure and algorithm
Data structure and algorithmData structure and algorithm
Data structure and algorithm
Trupti Agrawal
 
Generation of strings in language for given Regular Expression and printing i...
Generation of strings in language for given Regular Expression and printing i...Generation of strings in language for given Regular Expression and printing i...
Generation of strings in language for given Regular Expression and printing i...
IRJET Journal
 
e_lumley.pdf
e_lumley.pdfe_lumley.pdf
e_lumley.pdf
betsegaw123
 
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project ReportSouvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Akshit Arora
 
Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...
NALESVPMEngg
 
Format String Attack
Format String AttackFormat String Attack
Format String Attack
Mayur Mallya
 
Lecture 18 - Regular Expressions.pdf
Lecture 18 - Regular Expressions.pdfLecture 18 - Regular Expressions.pdf
Lecture 18 - Regular Expressions.pdf
Saravana Kumar
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptx
PRASENJITMORE2
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
Matthew Haveard
 
Apache Arrow: Leveling Up the Data Science Stack
Apache Arrow: Leveling Up the Data Science StackApache Arrow: Leveling Up the Data Science Stack
Apache Arrow: Leveling Up the Data Science Stack
Wes McKinney
 
H4-Writer
H4-WriterH4-Writer
H4-Writer
Raeid Saqur
 
Go1
Go1Go1
C Language Lecture 16
C Language Lecture 16C Language Lecture 16
C Language Lecture 16
Shahzaib Ajmal
 
Computation Chapter 4
Computation Chapter 4Computation Chapter 4
Computation Chapter 4
Inocentshuja Ahmad
 

Similar to ODS Page Breaking (20)

Hello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdfHello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdf
 
Program 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docxProgram 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docx
 
Strings-Computer programming
Strings-Computer programmingStrings-Computer programming
Strings-Computer programming
 
C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...
C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...
C++ CoreHard Autumn 2018. Text Formatting For a Future Range-Based Standard L...
 
50120130405006
5012013040500650120130405006
50120130405006
 
OPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHM
OPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHMOPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHM
OPTIMIZATION OF LZ77 DATA COMPRESSION ALGORITHM
 
Data structure and algorithm
Data structure and algorithmData structure and algorithm
Data structure and algorithm
 
Generation of strings in language for given Regular Expression and printing i...
Generation of strings in language for given Regular Expression and printing i...Generation of strings in language for given Regular Expression and printing i...
Generation of strings in language for given Regular Expression and printing i...
 
e_lumley.pdf
e_lumley.pdfe_lumley.pdf
e_lumley.pdf
 
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project ReportSouvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
 
Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...
 
Format String Attack
Format String AttackFormat String Attack
Format String Attack
 
Lecture 18 - Regular Expressions.pdf
Lecture 18 - Regular Expressions.pdfLecture 18 - Regular Expressions.pdf
Lecture 18 - Regular Expressions.pdf
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptx
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
Apache Arrow: Leveling Up the Data Science Stack
Apache Arrow: Leveling Up the Data Science StackApache Arrow: Leveling Up the Data Science Stack
Apache Arrow: Leveling Up the Data Science Stack
 
H4-Writer
H4-WriterH4-Writer
H4-Writer
 
Go1
Go1Go1
Go1
 
C Language Lecture 16
C Language Lecture 16C Language Lecture 16
C Language Lecture 16
 
Computation Chapter 4
Computation Chapter 4Computation Chapter 4
Computation Chapter 4
 

ODS Page Breaking