Merging individual RCD(ReportClientDocument) to a single RCD
Hi,
Requirement:
We have a requirement such that we will have to combine 2 or more ReportClientDocuments(RCDs) into 1 RCD such that the output of the combined RCD looks like output of the first individual RCD and then the output of second individual RCD.
Our ActionPlan:
We are planning to have the individual RCDs as subreports in the main RCD. The individual RCD with appropriate sections would be created using RAS SDK for Crystal reports and then we will place the individual RCDs as subreports.
Issues being faced:
If we think at a very high level then we want to do a Cut-Copy-Paste but Currently we are not able to implement it so easily because of following issues:
1) We are not able to find a method in RAS-SDK API which will get me all the controls present in a particular section and then place the section as it is in the subreport of main RCD. We are currently gettting all the objects present in individual RCD(like Text object,field object,formula fields etc) and then trying to place these controls in the subreports. Do we have a method which will copy the entire section from 1 RCD and place it in other RCD?
2) If the first question's answer is NO then How can I distinguish between Special Fields,Formula fields,Summary fields?. Currently I am getting all the ReportObjects of the RCD using
reportClientDocument.getReportDefController().getReportObjectController().getAllReportObjects()
Then I decide on what will be the kind(type) of the object using
ReportObject reportObject = (ReportObject)fields.getReportObject(objectPassCount);
reportObject.getKind();
I am able to get Text and Field objects but not able to distinguish Special fields(like Pagenumber,etc) from the FieldObjects.
Is there any simpler approach for acheiving the Requirement in simpler way using RAS SDK.
Thanking all in anticipation.
Regards.
Ajit.
Hi Lindy,
You'll want to create another user account in order to keep your iCal and Address Book entries separate.
This article: http://support.apple.com/kb/HT2542 will walk you through creating another user account.
This article: http://support.apple.com/kb/HT1203 will walk you through sharing the music between user accounts.
-Jason
Similar Messages
-
How do I merge 105 PDF's into a Single PFD?
How do I merge 105 pdf's into a single PDF.
I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page.
please help.CRB wrote:
How do I merge 105 pdf's into a single PDF.
I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page.
So, I'm not the only one unable to merge docs thru Preview.
This is why I wrote my own script to do that.
--[SCRIPT join_PDFs]
Enregistrer le script en tant que Script : join_PDFs.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
aller au menu Scripts , puis choisir join_PDFs
Vous pouvez également enregistrer le script en tant qu'application.
Vous pourrez alors glisser déposer les icônes de PDFs à fusionner sur celle du script.
J'ai trouvé le code principal dans une page Web.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
Sous 10.6.x,
aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
puis cocher la case "Afficher le menu des scripts dans la barre des menus".
--=====
Save the script as a Script: join_PDFs.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:
go to the Scripts Menu, choose Numbers, then choose "join_PDFs"
You may also save the script as an application.
Then you will be anle to drag an drop PDFs icons on the script one.
I found the main code in a Web page.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/01/18
--=====
on run
if parle_anglais() then
set les_fichiers to choose file "Select the PDFs files to merge" of type {"com.adobe.pdf"} with multiple selections allowed without invisibles
else
set les_fichiers to choose file "Sélectionner les fichiers PDFs à fusionner" of type {"com.adobe.pdf"} with multiple selections allowed without invisibles
end if
my main(les_fichiers)
end run
--=====
on open sel
my main(sel)
end open
--=====
on main(lesPDFs)
local p2s, alias_existe, aPath, chemindu_nouveauPDF, les_UNIXs
set lesPDFs to lesPDFs as list -- just for safe
set p2s to "" & (path to startup disk)
tell application "System Events" to set alias_existe to exists disk item (p2s & "joinPDF.py")
If it doesn't exist, create a symbolic link to a python script
delivered by Apple in an Automator process.
if not alias_existe then
set aPath to quoted form of "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
do shell script "ln -s " & aPath & " joinPDF.py"
end if
set chemindu_nouveauPDF to "" & (path to documents folder) & (do shell script "date +_%Y%m%d-%H%M%S") & ".pdf"
set les_UNIXs to {}
repeat with i from 1 to count of lesPDFs
copy quoted form of POSIX path of item i of lesPDFs to end of les_UNIXs
end repeat
set les_UNIXs to my recolle(les_UNIXs, space)
do shell script "./joinPDF.py -o " & quoted form of POSIX path of chemindu_nouveauPDF & space & les_UNIXs
tell application "Finder" to open file chemindu_nouveauPDF
end main
--=====
on recolle(l, d)
local oTIDs, t
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to oTIDs
return t
end recolle
--=====
on parle_anglais()
return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
end parle_anglais
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) mardi 18 janvier 2011 12:24:51 -
Merging multiple rows in to a single row (when rows meet merging criteria)
Hi
I have a scenario to merge multiple rows in to a single rows when the data in those rows fall in merge criteria .Below is how my data is
Now the merging logic for the above rows is , we need to combine multiple rows in to a single row when the data in those rows permits us to do in that way. Simply saying , its like sandwich where we combine multiple things to a single piece.The output for
the above rows should be
Here we combined Row 1 ,2, 3 in to a single row as the data in those rows permits to merge in to single row. But the row 4 cannot be combined to any of those rows because the data in those rows doesn't permits us do a merge ( As the value of the column
JobSource for the row 4 is different from the other rows ) .
My original data has 56 columns , but for readability i kept only 9 columns.
can you please throw some idea on how to achieve this scenario. I know we need to use CTE for achieving this, but i am not able succeed in doing an iteration on multiple rows.
Appreciate your response .Thanks for your reply .
Rule for merging is simple . First of all there is no unique row identifier for each row , the fact table is not having an identity column in the database . I called row 1 , row 2 etc in my post above only to make better explanation of my scenario.
The rule for merge is below.
1) we can combine only when the data in a column for one row is null & the data in same column for the other row is not null . It should also satisfy the condition where the data in other columns should conflict each other.
2) Data for all columns for the merging rows should not be conflicting (i.e. we should not merge the rows when the data in a column is not equal to the same column in the other row
,considering not null value)
Steps in merging the above source data :
1) Consider the case of row 1 and row 2 in the source, we can combine these rows as the data is satisfying the rule 1 for columns (Jobsource,Flight, Package,Update,Iscancelled
,Result, Severity) and columns (JobID and RuleName ) fall under rule 2. we merge these two rows in to a single row and keep in that in the table.
2) Then the resulting row is again merged with the second row which is present above by applying the rule 1 and rule 2 . Below would be output of merge operation.
Now there would be only two rows in the output . But these rows cannot be merged as the data doesn't satisfy the merge rules 2 . As Jobsource for the row 1 in the above output is "PresubmissionSource" which is not equal
to "PostSubmission" jobSource which is in row 2. So these two rows are left unmerged .So the above two rows would be the output of merge operation on my source data.
This process has to be repeated for all the rows in the table. As of now my table as 92 Million rows with 56 columns which need to be considered for merging rows. I replicated my scenario in 9 columns and 4 rows to understand better. -
Hi
I am having trouble merging word and poerpoint files into single PDF by acrobat X professional on a mac book pro. Error says its not supported format. Why is that? It works perfectly on windows. Is the feature of merging office files not enabled in Mac version of software?Hi Adam,
Welcome to the forums. They've really helped my Mac learning-curve since first getting a Mac in late April.
It sounds to me from reading the different ways you want to use your computer that you would be very well suited for the Macbook. I have the Macbook Pro but I got it about 3 weeks before the Macbooks came out. And I was quite upset. I use my computer mainly for word editing, watching DVDs and picture management. I will have to admit the 15.4" screen is great for side-by-side document editing, but aside from that, I would think that for my needs the Macbook would have been perfect.
For the money I spent on the low end Macbook Pro I could have gotten the fastest Macbook with 2GB RAM. Instead I have the slowest MBP with only 512MB of RAM which was painfully slow when multitasking. I upgraded to 1GB and it was a huge difference.
But really... I never use the video card. And since I love the portability of the Macbook Pro, another 2 inches off the body would be AMAZING since the 15" is a little big...
That's my 2 cents. -
In this Episode of The Complete Picture Julieanne demonstrates how to combine individual Lightroom catalogs into a single, “Master” Lightroom catalog to simplify a photographers workflow and enable multi-shoot searching.
http://adobe.ly/ytQLSLWhat if I'm one of those disorganized folks who made the mistake of having the same images in multiple catalogs, some with and some without edits? How would I fix that mess?
-
How to show/hide individual radio buttons in a single radio button list
Can I apply javascript to checkboxes in order to show/hide individual radio buttons in a single radio button list?
Thanks, Niall,
I'll give it a try . . .
Yours,
Robert Anderson
SWRCB WebSupport
1001 I Street
Sacramento, CA 95814
8th floor 59B
(916) 341-5950
[email protected]
>>> Niall O'Donovan <[email protected]> 8/5/2010 1:47 PM >>>
Hi,
Yes, it can be done. You just need to reference the actual button, rather than the radio button group.
It is best if you name the radio button group AND all of the individual radio buttons.
If the radio button group was named "myRadioButtons" and the three rb were named "yesRB", "noRB", and "maybeRB". All of this is in the hierarchy.
Then this script in the click event of the checkbox would work:
if (this.rawValue == 1)
myRadioButtons.maybeRB.presence = "hidden";
else
myRadioButtons.maybeRB.presence = "visible";
Hope that helps,
Niall -
Merging all DB scripts into a single script for deployment
Hi,
I'm using an Oracle Database Project in Visual Studio to store single scripts for each database object, which I like a lot. What I don't know is how to merge all those scripts into a single script now that I'm ready for deployment. I would prefer to give the DBA guy a single script with all the objects and not one script per DB object.
Is there any way to achieve this?
JulioHi,
I'm playing with this stuff these days and Yes, there is a possibility:
Under Visual Studio:
Open your Database Edition Project
Goto "Server Explorer"
You should have previously created a connection to your Target DB.
Open that connection. you have a collection of folders.
Select/Open the Schema Folder, then the Tables Folder.
Select the Tables you want to Script, right-click and select "Generate Create Script to Project".
Enter a Scriptname and click OK
That's all.
Going back to your Project, you shuld find a Script into your "Script" Folder.
The problem is that you cannot create separate Scripts when selecting multiple tables, as I stated in my Post "ODT lacks some functionnalities"
Hope it helps
Rgds
P.Cury -
Merge two rows & show in a single row in table results
Hi, I need to merge 2 rows having 3 columns in a single row in table view
The cols are currently shown as :
Project NO-------(Current_Month) Revenue----------(Prior_Month) Revenue
123123 10000
20000
Revenue is a single column with revenue for diffreent Period.
10000 is for May
20000 is for April
Project NO for both are same, just the periods are different. if I am not displaying Period i need to merge the 2 rows & show as
Project NO-------(Current_Month) Revenue----------(Prior_Month) Revenue
123123 10000 20000
Please let me know how we can acheive this??
thanx
Pankaj123123 is the project number..
the above is not getting displayed properly....as the blank spaces are removed...
Please consider this -
Merge Multiple Rows in to a single Row.
Hi
Tab_A
Col_1
Col_2
Col_3
I want resultant rows to merge on base of Col_1 (i.e. single - delimited merge row for distinct value of Col_1)
Example
Table_A
Col_1 | Col_2 | Col_3
A | 1 | 23
A | 2 | 25
B | 3 | 5
B | 6 | 9
C | 7 | 8
Required Result
Col_1 | Col_2 | Col_3
A | 1-2 | 23-25
B | 3-6 | 5-9
C | 7 | 8
Wishes
JawadYou can try with sys_connect_by_path, but I've found Re: Aggregate function to bring values in list form more performant.
You can write your query like this:
SELECT col_1
, concat_all(concat_expr(col_2,'-')) col_2
, concat_all(concat_expr(col_3,'-')) col_3
FROM yourtableMHE -
Problem in merging large collection of PDF in single pdf at a time-itext
hi
i am using itext library for PDF generation.My problem is ,when i merge the large number of PDFs which is already
generated, in a single PDF ,i got 'Out of Memery' exceptions,but when i doing this with limited number of PDFs
they are concated as a single PDF .so what shall i do to overcome Out of memory exceptions.because,our client wants to print the mass PDF ,which may have more than 1000 PDFs on a single merged PDF .if any possible,when i merge the single PDF with already merged PDF one by one at a time when it will be generated,how can i handle I/O streams to open one PDF at a time and merge with already generated PDF on the same time,and how can i append the generating PDF directly on already generated PDF using streams
This is my java code:
package javaexamples;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.lowagie.text.Document;
import com.lowagie.text.pdf.BaseFont;
import com.lowagie.text.pdf.PdfContentByte;
import com.lowagie.text.pdf.PdfImportedPage;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.PdfWriter;
public class ConcatPDFs {
public static void main(String[] args) {
try {
List pdfs = new ArrayList();
Document document = new Document();
OutputStream output = new FileOutputStream("E:\\templates\\out\\Merged PDF\\merge.pdf",true);
PdfWriter writer = PdfWriter.getInstance(document, output);
pdfs.add(new FileInputStream("E:\\templates\\out\\07J439HF_FINAL_EVALU.pdf"));
pdfs.add(new FileInputStream("E:\\templates\\out\\07J440HF_FINAL_EVALU.pdf"))*;*//it may be increased over thousand paths.
ConcatPDFs.concatPDFs(document,writer,pdfs, true);
output.flush();
document.close();
output.close();
} catch (Exception e) {
e.printStackTrace();
public static void concatPDFs(Document document,PdfWriter writer,List streamOfPDFFiles, boolean paginate) {
try {
List pdfs = streamOfPDFFiles;
List readers = new ArrayList();
int totalPages = 0;
java.util.Iterator iteratorPDFs = pdfs.iterator();
// Create Readers for the pdfs.
while (iteratorPDFs.hasNext()) {
InputStream pdf = (FileInputStream)iteratorPDFs.next();
PdfReader pdfReader = new PdfReader(pdf);
readers.add(pdfReader);
totalPages += pdfReader.getNumberOfPages();
// Create a writer for the outputstream
document.open();
BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
PdfContentByte cb = writer.getDirectContent(); // Holds the PDF
// data
PdfImportedPage page;
int currentPageNumber = 0;
int pageOfCurrentReaderPDF = 0;
Iterator iteratorPDFReader = readers.iterator();
// Loop through the PDF files and add to the output.
while (iteratorPDFReader.hasNext()) {
PdfReader pdfReader = (PdfReader)iteratorPDFReader.next();
// Create a new page in the target for each source page.
while (pageOfCurrentReaderPDF < pdfReader.getNumberOfPages()) {
document.newPage();
pageOfCurrentReaderPDF++;
currentPageNumber++;
page = writer.getImportedPage(pdfReader, pageOfCurrentReaderPDF);
cb.addTemplate(page, 0, 0);
// Code for pagination.
if (paginate) {
cb.beginText();
cb.setFontAndSize(bf, 9);
cb.showTextAligned(PdfContentByte.ALIGN_CENTER, "" + currentPageNumber + " of " + totalPages, 520, 5, 0);
cb.endText();
pageOfCurrentReaderPDF = 0;
} catch (Exception e) {
e.printStackTrace();
} finally {
System.out.println("SUCCESS");
/*try {
if (outputStream != null);
//outputStream.close();
} catch (IOException ioe) {
ioe.printStackTrace();
thanks in advance
regards
Oasisdesertsthanks for your reply,
i already tried open and close the output stream and Input Stream to read and write every PDF,but i conflicted that that last PDF only is written in the final merged PDF.so what can i do to this every time the new PDF is to take to merge with already merged PDF.
i want know about CODE TAGS
As per your succession,
for(int i =0 ;i<200;i++){
output = new FileOutputStream("E:\\templates\\out\\Merged PDF\\merge.pdf",true);
document.open();
String value = "E:\\templates\\out\\07J439HF_FINAL_EVALU.pdf";
ConcatPDFs.concatPDFs(document,writer,value, true);
output.flush();
document.close();
output.close();
thanks
regards
Edited by: oasisdesert on Oct 22, 2008 3:03 AM -
Merge 3 Unlinked Reports into a single Report
I have 3 Crystal Reports with different structures and groupings, I want to view it in single report .Right now I'm using Embedded Crystal Report hence I'm unable to merge it through the code .I require a solution to this.
Thanks a lot in advance.Saurabh,
Open Crystal Reports designer
File--New--Blank Report
Now you will see only design of blank report
Right click on all sections and select 'Suppress' except Report Footer.
Right click on Report Footer and click on New Section to create one more Report Footer, create one more new report footer
Now go in Insert menu --Click on Sub report-- selection option to Browse to select existing report--locate first report and select it and place it in Report Footer 1
Repeat the above for 2nd 3rd sub reports. Place them in Report Footer 2 and 3 .
Now refresh the blank report to see all reports information at one place.
-Sastry -
Merging of 8 programs into a single program
Hi Abap gurus,
Can any one pl help me out about merging 8 programs into a single one.
Pl give me the best way to merge 8 programs into one program
Thanks,
PriyaHi priya,'
What do you really mean by merging of 8 programs? what are those programs ....
but anyway ... see a program is written to fulfil a business requirement ...
so i believe that need is now .. the functionalities of 8 programs in one program ... Am i right ..
if that is the case then get the requirement of the one report and build a program ......
cheers
Kripa Rangachari.. -
Merging 2 rows data into a single column in OBIEE
Hi All,
Requirement is "Merging 2 rows into a single column"
Scenario: data from table called "transactions_table"
Id
transaction no
transaction name -------------------------------quantity
100
1
abc
1000
100
2
def
2000
Required out put:
Id
Transactions & Quantity
100
abc(1000),def(2000)
Please provide me solution, and let me know if any additional information is required.
Thanks in advance to all of you.can you please share your data like below
column1, column2 .....
and where are you trying to do this? at answer or bi admin tool?
there are a few ways to do this. -
Merging 2 rows data into a single column in OBIEE 11g
Hi All,
Requirement is "Merging 2 rows into a single column"
Scenario: data from table called *"transactions_table"*
Id ------------- transaction no ----------------------- transaction name -------------------------------quantity
100 ----------- 1 ----------------------- abc ------------------------------ 1000
100 ----------- 2 ------------------------ def ------------------------------ 2000
Required out put:
Id ----------------- Transactions & Quantity
100 -------------- abc(1000),def(2000)
Please provide me solution, and let me know if any additional information is required.
Thanks in advance to all of you.
Regards,
chrscheck the below link, that may help you.
Re: Horizontal value display
If it is helpful, please mark as correct or helpful -
How to merge two seperate free space into single partition/volume???
Hey guys :)
Please help me on merging two unallocated free spaces in my internal harddisk. I already tried searching for options in diskmanagement but nothing found to do that. The harddisk has two free spaces(1gb and 50.78gb) now, I want to merge them into single one
and finally as a single parition/volume. Is there any other method or should use any other third party tool?
I really wanted to attach a screenshot but sadly microsoft couldn't allow me.JAJ
You need a third party tool like Easeus Partition Manager
Wanikiya and Dyami--Team Zigzag
Sure I'll try that. Thank you very much :)
But it is really sad to say that it is real drawback of windows as it doesn't have its own choice in diskmanagement utility.
Maybe you are looking for
-
How Do I Pin A Tile To My New Tab Page, Instructions On Here Do Not Work.
These new FF updates are going to drive me to drink. It's a simple question, one would think, yet I cannot find the answer. FF29 has "tiles", I suppose they are called, when you click on "new tab page". At one point, I had them all on there...how, I
-
How to disable the status icon in Skype 4 for Andr...
Dear Skypers, How to disable the status icon in Skype 4 for Android phones? The guide on this following support page not working anymore: https://support.skype.com/en/faq/FA12359/how-do-i-enable-or-disable-the-status-icon-in-skype-4-for-a... Older ve
-
To ART regarding green flickering frames with MPG files
I asked last night about transferring files to PE13 editor and having green frames flickering in play back in Editor. You requested more info: I took original VHS tapes from 30+ yrs ago from Sony Camcorder. I ran them through Toshiba DVR620KU VHS to
-
Collecting objects in transport request
HI Experts, My development is completed and now i have to collect the objects in transport request. my development is like 1) infoobjects(new infoobjects and some are available in BIP already and some infoobjects have reference infoob
-
Using app.findGrep() and app.changeGrep() consecutively
I have a script that should find and replace predefined terms and mark the changes visually on a separate layer. The process basically works in two steps: Loop through a list of expressions, look for every expression with app.findGrep() and insert