BlankPages and PageNumber

Hi all!
I have one logical page, which contains three physical pages.
Sometimes third physical page cannot fit all data and it repeats logical page.
So, i recieve 6 pages, where 4th and 5th are blank.
I remove blank pages with 'Runtime settings', and in output recieve only four.
And when I put <PhysicalPageNumber> field, it counts all six pages, while in output I have only four.
The forth page has <page=6>, but it should be <page=4>.
Any ideas how to fix it?
Thanks before

Paul,
The BLANKPAGES parameter is only meant to not print out blank pages as a paper saving enhancement. It
doesn't have an effect on the page numbering as what happens is the report is completely formatted and then blank pages are not sent to the printer. As
this is done after the formatting the report, it is not possible to change the page numbering in the current architecture.
However there haws been an enhancement request filed for this and is under consideration for the next release
Thanks
The Oracle Reports Team

Similar Messages

  • Printing document in jsp

    Hello,
    I'm developing a web app which deals with invoices, delivery notes and that sort
    of things and i need to print the documents i create and show in the screen but
    just a part of the jsp page as i don't want the menu of the app to appear in the
    document to be printed. what can i do to print just a part of the jsp?
    so i have to send the information to pdf? what do u recommend?
    Thanks for your help

    You could implement a "printer friendly" version of your invoices which opens in a popup and then you can use window.print() to initiate the print dialog. This way you don't have to put any HTML controls on the page to be printed. You should advise users to turn off any headers in the browser which will also get printed, such as filename and pagenumber, this cannot be disabled automatically.

  • Suppress the Page Header section on a specific Section

    Hello,
    I have a single page word document I want to append to the end of a report I have, so I placed it in Report Footer b. The word document fits perfectly on a single page without any header. I tried simply supressing the Page Header on the last page but because of the length of the the word document it gets cut in half, so the 2nd to last page includes a header and forces the word document onto 2 pages (one with a header and one without). I tried supressing the Page header the last and 2nd to last page, but that results in the printing of an extra page as the word document without a header only takes up one page.
    Is there some way to supress a section based on what section is currently printing ie.
    WhilePrintingRecords;
    Section "Report Footer b"
    I am open to any suggestions on how to simply add a report footer section without a page header.
    Thanks

    Unfortunately that also suppresses on the 1st report footer section (RFa)
    I tried adding an additonal conditon
    OnLastRecord AND Pagenumber >= TotalPageCount - 1
    However, this results in the addition of an extra blank page, which changes the page count to 1+ what it should be. This may confuse some users.
    Can I specify a specific record? How would I go about doing that?

  • Blank page at beginning of report

    I have a Crystal Report where, in the Section Expert, I have told it to create a new page after every "details" section.  This is working great for the design of my report.  However, the first page of the report shows the page header and is blank.
    Any way to get rid of this blank first page but maintain a new page after the details section?
    Thanks.

    Hi,
    Use this OnLastRecord and PageNumber = 1 in Formula editor for new page after every "details" section.
    Recheck 'Print at Bottom of Page' in common tab for new page after every "details" section.
    Check 'Keep Together' in common tab for new page after every "details" section.
    See how the results displayed...
    --DJ

  • Paging in JSP ! HELP! HELP! HELP!

    somebody can order an example to me of paging of results in JSP... or tutorial address that has some scritpt and. since already I am thankful!
    [email protected]

    If you are interested in creating some type of paging functionality you will need a few things. First, i will assume you have some set of data that you want to page. Let's say you have an array of Objects that has 100 total elements.
    You will most likely define a pageSize value that defines how many elements to display on the current page. You will also want to define a pageNumber to represent the current page that you are on.
    So lets say that you have a pageSize = 10.
    You should define some Java method in a class that has access to the complete array, which takes the pageSize and pageNumber as parameters, and returns an array of the same type.
    For example, lets say you have a class called EmployeeSet
    public class EmployeeSet
    private Employee[] totalEmployeeSet;
    public void setEmployeeSet
    //some code that populates the totalEmployeeSet array
    public Employee[] getEmployeeSet()
    return totalEmployeeSet;
    public Employee[] getCurrentEmployeePage(int pageSize, int pageNumber)
    // some logic to check that parameters are within valid range
    Employee[] currentEmployeeSet = new Employee[pageSize];
    //now store the current range into your current set
    //loop through the totalEmployeeSet starting at the correct
    //point (pageNumber*pageSize), and store each element
    //into the currentEmployeeSet
    return currentEmployeeSet;
    I left out some important logic to determine whether the inputs to the method are valid or not, and whether the current page can display 'pageSize' elements or not. I am sure you can figure that out.
    I hope this helps some.
    -Dras

  • Indexing a book using Indesign CS 6

    Hello,
    Did not use Indesign for 10 years ... and - when starting it up again with a newer version - I was surprised in an unpleasant way that it is still not possible to create footnotes inside tables in a normal way without creepy workarounds. And a lot of other wacky stuff which prooves to me that Adobe uses this programm as their ever-living milky-cow without much thoughts about making its stable a little more confortable. But enough about it and sorry for my interruption.
    So I want to create an index in my book ...
    3 questions please ... and thanks for your help!
    1) Is there a maximum of entries for the index?
    2) Is there a way to have a better oversight when having hundreds of entries? Now topics, sub-topics and pagenumbers take 3 lines of space in my index-panel. So one has to scroll a lot when having many entries. Is it possible to have topics, sub-topics and pagenumber(s) on ONE line?
    3) I started my book with 2 unnumbered pages. But the index-numbering uses the page-numbering as found in the pages-panel. I can start a new section but then my footnumbering also starts again ... (I will not repeat my grudges here about this EVERLASTING problem).
    Is there a solution without manually correct all pagenumbers after generating a new index?
    Thanks again for your appreciated help!
    Sincerely yours, Peter.
    Message was edited by: mummiepoep-2

    Dear Mr. Spier (Beste Peter), thanks for your help.
    But I still do not understand how this index-panel works.
    Let us take as a start a book with two non-numbered pages followed by automatically numbered pages.
    So ...
    An "indesign"-page 10 (just an example) is MY page 8.
    Indesign page 10 is mentioned in the pages-menu and when adding topics in the index-panel of the SAME page, they ALL have a number 10.
    But the strange thing is, that when I generate a new index and paste it somewhere in my book, the above mentioned topics do CORRECTLY refer to MY page 8.
    So I'm happy with that but I seem have to missed something. For instance (looking around on internet) most people prefer to adjust page-numbering optins to their master-pages what I did not.
    And (to Peter or someone else)
    does anybody know the answers on my two other questions ...
    1) Is there a maximum of entries for the index?
    2) Is there a way to have a better oversight when having hundreds of entries? Now topics, sub-topics and pagenumbers take 3 lines of space in my index-panel. So one has to scroll a lot when having many entries. Is it possible to have topics, sub-topics and pagenumber(s) on ONE line?
    Thanks.

  • News Archive Link - Next to pages 1 20 wording

    Hi,
    Has anyone been able to create a link to another iview that's would be visible next the the >20 page information.
    I will reward highly with points.
    Kai

    Hi,
    The url you are forming is not correct. The values of minrow and pagenumber should be passed as p_arg_names and p_arg_values. You should also pass the maxrows value.
    It should be something like this
    http://domain/pls/portaldad/portal.RPT_1010220949.show?p_arg_names=department&p_arg_values=10&p_arg_names=_page_number&p_arg_values=2&p_arg_names=_min_row&p_arg_values=4&p_arg_names=_max_rows&p_arg_values=3
    This url calls a report which takes a bind variable department.
    Thanks,
    Sharmila

  • Can't delete blank page in combined files PDF

    I combined a number of files to create a new PDF binder in Acrobat X, then added a blank page in the middle using Tools > More Insert Options > Insert blank page. I later decided I didn't need the blank page and tried to delete it but received this error message:
    One or more pages are in use and could not be deleted.
    I gave up, trashed the PDF, and started all over again. But the new binder included the blank page in the same spot, and it won't let me delete it! I tried creating the PDF using my old Acrobat Pro 8. It created the file correctly, but when I closed the file and reopened it, it opened in Acrobat X - with the blank page again! How do I get rid of the blank page?

    Open the file in Acrobat, delete the blankpage, and save the file.

  • Print page 1 only

    I would like to add a condition to an invoice form - Crystal Report 2011, to print only US invoices and page 1 only. I tried the following  :
    'USA' in {@BilCountry} and PageNumber = 1
    But it is giving me the following error:
    This function cannot be used because it must be evaluated later.
    Any ideas how I can do this ?
    Thanks,
    Debbie

    Hi Debbie,
    You cannot use the PageNumber function in the record selection formula.
    Change the record selection formula to:
    {@BilCountry} = 'USA'
    Go to the Section Expert > Select Details Section > Click the formula button beside Suppress and use this code:
    PageNumber > 1
    -Abhilash

  • Position of Textframe with a specified text

    Hello,
    i have a list of ordernumbers in a textfile. Each ordernumber is separated via a Carriage return. I also have an InDesign CS4 Doc with textframes containing the ordernumbers.
    I now need to get the coordinates and pagenumber of the textframe with the ordernumber.
    The result should be a file with
    ordernumber page x y
    Can anyone help me doing it?
    Thanks
    Peter

    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences.bulletsAndNumberingListType = ListType.NUMBERED_LIST;
    var myFoundItems = app.documents.item(0).findText();
    for (i = 0; i < myFoundItems.length; i++) {
        var myParagraphs = myFoundItems[i].paragraphs;
        for (j = 0; j < myParagraphs.length; j++) {
            var myPar = myParagraphs[j];
            var myOrderNumber = myPar.bulletsAndNumberingResultText;
            var myTextFrame = myPar.parentTextFrames[0];
            var myTextFramesGB = myTextFrame.geometricBounds;
            var myPageNumber = myTextFrame.parent.name;
            $.writeln("Order Number = " + myOrderNumber + ", Page Number = " + myPageNumber + ", X = " +Math.round(myTextFramesGB[1]) + ", Y = " + Math.round(myTextFramesGB[0]));
    It's a very simple script that just shows you an approach that can be used for your task. I assume that text containing ordered lists in text frames that are not threaded, not inside groups, etc.
    See info written by the script into console.
    Kasyan

  • Clamp Page Footer error?

    I have a report with multiple pages and I use the 'Clamp Page Footer' option to eliminate the white space at the end of the page. However I don't want to do this on the last page. So I use this simple formula on the option:
    if PageNumber <> TotalPageCount then
        true
    else
        false
    This works in any other section I try except the clamp page footer section. I get the error : "A constant expression is required here" (highlighting the 'PageNumber') field.
    Anyone have any ideas?
    Thanks.. Ant

    try
    not onlastrecord
    if not onlastrecord and PageNumber = TotalPageCount then
    true
    else
    false

  • Pagenumber and totalpagecount is always shown 1/1 for .txt format.

    When I export my report in .txt format somehow the pagenumber/totalpagecount is always shown 1/1.So I had placed formulae as page_num :-
    whileprintingrecords;
    if recordnumber  = 1  then 1
    else if recordnumber mod 10 = 0 then int ( recordnumber / 10 ) + 1;
    and a formulae for total page count as :-
    if isnull ( {rpt.account_number} ) then 1
    else if count ({rpt.account_number} ) <= 10 then 1
    else if count ( {rpt.account_number} ) > 10 then   int ( count ( {rpt.account_number} ) / 10 ) + 1;
    This formulae worked fine for all reports except 1 where we required to suppress some of the records in the report according to a flag.
    example : there are 10 accounts of flag a,b,c,d.We needed to show only those flags having 'a' or 'b' flag.The rest of the records were suppressed as in the summary of report only count(c) and count(d) was required.Display of these records were not needed. But the total page count and page number formulae failed in this case as it also took into consideration those accounts too which are to be suppressed.
    What alternative can be applied? Is there anyway that the problem of pagenumber/totalpagecount always showing 1/1 for .txt export can be solved.If not what change can be done in the formulae I have written?Any completely different suggestion is also acceptable.Only the criteria is that it is compulsory for me too export the report in .txt format.
    Please suggest!!

    Hi Som
    Can you try using the following formula:
    totext(PageNumber,0,'') & "/" & totext(TotalPageCount,0,'')
    and for the suppression condition, just right click on the formula and give the suppression condition for "Suppress" option.
    Hope this helps you.
    Thanks
    Pradeep Hulke

  • Set top and bottom inset spacing values in Text Frame Options via jsx script

    I am looking for a way to set the top and bottom inset spacing values only to 2 points in Text Frame Options via a .jsx scrpt.
    For years, I have used a script that sets Preferences, such as:
    with(app.storyPreferences){
        opticalMarginAlignment = false;
        opticalMarginSize = 12;                // pts
    I would like to add the code to this same script that would make Top = 0p2 and Bottom 0p2 but leave Left and Right as 0p0.
    Any help would be greatly appreciated.

    Here is the full .jsx file that we now use to set preferences.
    Ideally, this could be modified to include setting any text frame created to have 0p2 inset Top and Bottom, but 0p0 Left and Right:
    //ApplicationTextDefaults
    //An InDesign CS2 JavaScript
    //Sets the application text defaults, which will become the text defaults for all
    //new documents. Existing documents will remain unchanged.
    with(app.textDefaults){
        alignToBaseline = false;        // align to baseline grid
        try {
    //        appliedFont = app.fonts.item("Times New Roman");
            appliedFont = app.fonts.item("Helvetica");
        catch (e) {}
        try {
            fontStyle = "Medium";
        catch (e) {}
        autoleading = 100;
        balanceRaggedLines = false;
        baselineShift = 0;
        capitalization = Capitalization.normal;
        composer = "Adobe Paragraph Composer";
        desiredGlyphScaling = 100;
        desiredLetterSpacing = 0;
        desiredWordSpacing = 100;
        dropCapCharacters = 0;
        if (dropCapCharacters != 0) {
            dropCapLines = 3;
            //Assumes that the application has a default character style named "myDropCap"
            //dropCapStyle = app.characterStyles.item("myDropCap");
        fillColor = app.colors.item("Black");
        fillTint = 100;
        firstLineIndent = "0pt";
    //    firstLineIndent = "14pt";
        gridAlignFirstLineOnly = false;
        horizontalScale = 100;
        hyphenateAfterFirst = 3;
        hyphenateBeforeLast = 4;
        hyphenateCapitalizedWords = false;
        hyphenateLadderLimit = 1;
        hyphenateWordsLongerThan = 5;
        hyphenation = true;
        hyphenationZone = "3p";
        hyphenWeight = 9;
        justification = Justification.leftAlign;
        keepAllLinesTogether = false;
        keepLinesTogether = true;
        keepFirstLines = 2;
        keepLastLines = 2;
        keepWithNext = 0;
        kerningMethod = "Optical";
        kerningValue = 0;
        leading = 6.3;
    //    leading = 14;
        leftIndent = 0;
        ligatures = true;
        maximumGlyphScaling = 100;
        maximumLetterSpacing = 0;
        maximumWordSpacing = 160;
        minimumGlyphScaling = 100;
        minimumLetterSpacing = 0;
        minimumWordSpacing = 80;
        noBreak = false;
        otfContextualAlternate = true;
        otfDiscretionaryLigature = true;
        otfFigureStyle = OTFFigureStyle.proportionalOldstyle;
        otfFraction = true;
        otfHistorical = true;
        otfOrdinal = false;
        otfSlashedZero = true;
        otfSwash = false;
        otfTitling = false;
        overprintFill = false;
        overprintStroke = false;
        pointSize = 6.3;
    //    pointSize = 11;
        position = Position.normal;
        rightIndent = 0;
        ruleAbove = false;
        if(ruleAbove == true){
            ruleAboveColor = app.colors.item("Black");
            ruleAboveGapColor = app.swatches.item("None");
            ruleAboveGapOverprint = false;
            ruleAboveGapTint = 100;
            ruleAboveLeftIndent = 0;
            ruleAboveLineWeight = .25;
            ruleAboveOffset = 14;
            ruleAboveOverprint = false;
            ruleAboveRightIndent = 0;
            ruleAboveTint = 100;
            ruleAboveType = app.strokeStyles.item("Solid");
            ruleAboveWidth = RuleWidth.columnWidth;
        ruleBelow = false;
        if(ruleBelow == true){
            ruleBelowColor = app.colors.item("Black");
            ruleBelowGapColor = app.swatches.item("None");
            ruleBelowGapOverprint = false;
            ruleBelowGapTint = 100;
            ruleBelowLeftIndent = 0;
            ruleBelowLineWeight = .25;
            ruleBelowOffset = 0;
            ruleBelowOverprint = false;
            ruleBelowRightIndent = 0;
            ruleBelowTint = 100;
            ruleBelowType = app.strokeStyles.item("Solid");
            ruleBelowWidth = RuleWidth.columnWidth;
        singleWordJustification = SingleWordJustification.leftAlign;
        skew = 0;
        spaceAfter = 0;
        spaceBefore = 0;
        startParagraph = StartParagraph.anywhere;
        strikeThru = false;
        if(strikeThru == true){
            strikeThroughColor = app.colors.item("Black");
            strikeThroughGapColor = app.swatches.item("None");
            strikeThroughGapOverprint = false;
            strikeThroughGapTint = 100;
            strikeThroughOffset = 3;
            strikeThroughOverprint = false;
            strikeThroughTint = 100;
            strikeThroughType = app.strokeStyles.item("Solid");
            strikeThroughWeight = .25;
        strokeColor = app.swatches.item("None");
        strokeTint = 100;
        strokeWeight = 0;
        tracking = 0;
        underline = false;
        if(underline == true){
            underlineColor = app.colors.item("Black");
            underlineGapColor = app.swatches.item("None");
            underlineGapOverprint = false;
            underlineGapTint = 100;
            underlineOffset = 3;
            underlineOverprint = false;
            underlineTint = 100;
            underlineType = app.strokeStyles.item("Solid");
            underlineWeight = .25
        verticalScale = 100;
    //Units & Increments preference panel
    //Must do this to make sure our units that we set are in points. The vert and horiz
    //units that get set default to the current measurement unit. We set it to points
    //so we can be sure of the value. We'll reset it later to the desired setting.
    with(app.viewPreferences){
        horizontalMeasurementUnits = MeasurementUnits.points;    // Ruler Units, horizontal
        verticalMeasurementUnits = MeasurementUnits.points;        // Ruler Units, vertical
    //General preference panel
    with(app.generalPreferences){
        pageNumbering = PageNumberingOptions.section;    // Page Numbering, View
        toolTips = ToolTipOptions.normal;                    // Tool Tips
    // Not supported in CS4
    //    toolsPalette = ToolsPaletteOptions.doubleColumn;    // Floating Tool Palette
        completeFontDownloadGlyphLimit = 2000;                // Always Subset Fonts...
        try {
            //Wrapped in try/catch in case it is run with CS4 and earlier to avoid the error
            preventSelectingLockedItems = false;                // Needed for CS5+
        catch (e) {}
    //Type preference panel
    with (app.textEditingPreferences){
        tripleClickSelectsLine = true;    // Triple Click to Select a Line
        smartCutAndPaste = true;        // Adjust Spacing Automatically when Cutting and Pasting Words
        dragAndDropTextInLayout = false;    // Enable in Layout View
        allowDragAndDropTextInStory = true;    // Enable in Story Editor
    with(app.textPreferences){
        typographersQuotes = true;            // Use Typographer's Quotes
        useOpticalSize = true;                // Automatically Use Correct Optical Size
        scalingAdjustsText = true;            // Adjust Text Attributes when Scaling
        useParagraphLeading = false;    // Apply Leading to Entire Paragraphs
        linkTextFilesWhenImporting = false;    // Create Links when Placing Text and Spreadsheet Files
    // Missing following (Font Preview Size, Past All Information/Text Only)
    //Advanced Type preference panel
    with(app.textPreferences){
        superscriptSize = 58.3;                // Superscript, size
        superscriptPosition = 33.3;            // Superscript, position
        subscriptSize = 58.3;                // Subscript, size
        subscriptPosition = 33.3;            // Subscript, position
        smallCap = 70;                        // Smallcap
    with(app.imePreferences){
        inlineInput = false;                // Use Inline Input for Non-Latin Text
    //Composition preference panel
    with(app.textPreferences){
        highlightKeeps = false;                    // Keep Violations
        highlightHjViolations = false;            // H&J Violations
        highlightCustomSpacing = false;            // Custom Tracking/Kerning
        highlightSubstitutedFonts = true;    // Substituted Fonts
        highlightSubstitutedGlyphs = false;    // Substituted Glyphs
        justifyTextWraps = false;                // Justify Text Next to an Object
        abutTextToTextWrap = true;                // Skip by Leading
        zOrderTextWrap = false;                    // Text Wrap Only Affects Text Beneath
    //Units & Increments preference panel
    with(app.viewPreferences){
        rulerOrigin = RulerOrigin.spreadOrigin;                    // Ruler Units, origin
    //    These are set at the end of the script after all the changes have been made
    //    horizontalMeasurementUnits = MeasurementUnits.points;    // Ruler Units, horizontal
    //    verticalMeasurementUnits = MeasurementUnits.inches;        // Ruler Units, vertical
        pointsPerInch = 72;                    // Point/Pica Size, Points/Inch
        cursorKeyIncrement = 1;                // Keyboard Increment, Cursor Key
    with(app.textPreferences){
        baselineShiftKeyIncrement = 2;    // Keyboard Increment, Baseline Shift
        leadingKeyIncrement = 2;        // Keyboard Increment, Size/Leading
        kerningKeyIncrement = 20;            // Keyboard Increment, Kerning
    //Grids preference panel
    with(app.gridPreferences){
        baselineColor = UIColors.lightBlue;    // Baseline Grid, Color
        baselineStart = 48;                        // Baseline Grid, Start
        baselineDivision = 6;                    // Baseline Grid, Increment Every
        baselineViewThreshold = 50;                // Baseline Grid, View Threshold
        baselineGridRelativeOption = BaselineGridRelativeOption.topOfPageOfBaselineGridRelativeOption;    // Baseline Grid, Relative To
        gridColor = UIColors.lightGray;            // Document Grid, Color
        horizontalGridlineDivision = 12;    // Document Grid, Horizontal, Gridline Every
        horizontalGridSubdivision = 12;            // Document Grid, Horizontal, Subdivisions
        verticalGridlineDivision = 12;            // Document Gird, Vertical, Gridline Every
        verticalGridSubdivision = 12;            // Document Grid, Vertical, Subdivisions
        gridsInBack = true;                        // Grids in Back
        documentGridSnapto = false;                // snap to grid or not
        documentGridShown = false;                // show document grid
    //Guides & Pasteboard preference panel
    with(app.documentPreferences){
        marginGuideColor = UIColors.violet;                // Color, Margins
        columnGuideColor = UIColors.magenta;            // Color, Columns
    with(app.pasteboardPreferences){
        bleedGuideColor = UIColors.fiesta;                // Color, Bleed
        slugGuideColor = UIColors.gridBlue;                // Color, Slug
        previewBackgroundColor = UIColors.lightGray;    // Color, Preview Background
        minimumSpaceAboveAndBelow = 72;                    // Minimum Vertical Offset
    with(app.viewPreferences){
        guideSnaptoZone = 4;                            // Snap to Zone
    with(app.guidePreferences){
        guidesInBack = false;                            // Guides in Back
    //Dictionary preference panel
    with(app.dictionaryPreferences){
        composition = ComposeUsing.both;    // Hyphenatin Exceptions, Compose Using
        mergeUserDictionary = false;    // Merge User Dictionary into Document
        recomposeWhenChanged = true;    // Recompose All Stories When Modified
    // Missing (Lang, Hyph, Spelling, Double Quotes, Single Quotes)
    //Spelling preference panel
    with(app.spellPreferences){
        checkMisspelledWords = true;                    // Find, Misspelled Words
        checkRepeatedWords = true;                        // Find, Repeated Words
        checkCapitalizedWords = true;                    // Find, Uncapitalized Words
        checkCapitalizedSentences = true;                // Find, Uncapitalized Sentences
        dynamicSpellCheck = true;                        // Enable Dynamic Spelling
        misspelledWordColor = UIColors.red;                // Color, Misspelled Words
        repeatedWordColor = UIColors.green;                // Color, Repeated Words
        uncapitalizedWordColor = UIColors.green;    // Color, Uncapitalized Words
        uncapitalizedSentenceColor = UIColors.green;    // Color, Uncapitalized Sentences
    //Autocorrect preference panel
    with(app.autoCorrectPreferences){
        autoCorrect = true;                            // Enable Autocorrect
        autoCorrectCapitalizationErrors = false;    // Autocorrect Capitalization
    // Missing (Language, Misspelled word pairs)
    //Display Performance preference panel
    with(app.displayPerformancePreferences){
        defaultDisplaySettings = ViewDisplaySettings.typical;    // Preserve Object-Level
        persistLocalSettings = false;
    // Missing (antialiasiing, greek below
    //Story Editor Display preference panel
    with(app.galleyPreferences){
        textColor = InCopyUIColors.black;                // Text Color
        backgroundColor = InCopyUIColors.white;            // Background
        smoothText = true;                                // Enable Anti-Aliasing
        antiAliasType = AntiAliasType.grayAntialiasing;    // Type
        cursorType = CursorTypes.standardCursor;    // Cursor Type
        blinkCursor = true;                                // Blink
    // Missing (Font, Size, Line Spacing & Theme)
    //File Handling preference panel
    with(app.generalPreferences){
        includePreview = true;                        // Always Save Preview Images with Doc
        previewSize = PreviewSizeOptions.medium;    // Preview Size
    with(app.clipboardPreferences){
        preferPDFWhenPasting = false;                // Prefer PDF When Pasting
        copyPDFToClipboard = true;                    // Copy PDF to Clipboard
        preservePdfClipboardAtQuit = false;            // Preserve PDF Data at Quit
    // Missing (Enable Version Cue)
    //    Optical margin (hanging punctuation, outside margins)
    with(app.storyPreferences){
        opticalMarginAlignment = false;
        opticalMarginSize = 12;                // pts
    //Wrap Up (do at end of script)
    //Units & Increments preference panel
    //Must do this to make sure our units that we set are in points. The vert and horiz
    //units that get set default to the current measurement unit. We set it to points
    //so we can be sure of the value. We'll reset it later to the desired setting.
    with(app.viewPreferences){
        horizontalMeasurementUnits = MeasurementUnits.picas;    // Ruler Units, horizontal
        verticalMeasurementUnits = MeasurementUnits.inches;    // Ruler Units, vertical
    //    These two flags are turned off to avoid the error message about
    //    missing image links when InDesign opens an ad. This can especially
    //    be a problem when doing batch processes.
    with(app.linkingPreferences){
        checkLinksAtOpen = false;            // checkbox: true/false
        findMissingLinksAtOpen = false;        // checkbox: true/false

  • Questions on Iframes and PAR structures

    Hi,
    I have a few questions on Iframes, JSP's and PAR structure for Portal Application Projects in NWDS.
    1. Can I change the source of an iframe from one jsp to another instead of one html to another.
    2. My Jsp's are in Portal-Inf/pagelet because whenever I add a new JSP I add a new Portal application object. So how do you refer to the relative path in the calling JSP. e.g <iframe name = "myframe" src ="<relative path>BlankPage.jsp" width="100%">. What would be the relative path. I tried pagelet\jspname.jsp but it does not work.
    3. In general how do you type the relative path for objects in a PAR project structure?

    Hi Prem,
    1.Yes,you can.
    2.You dont have to,you can copy and paste as many as Jsp's inside the pagelet.I use beans to customize the BHTML UI properties.So you can make your IFRAME source tag as variable.
    <iframe
         id="Nedbrowser"
         name="Nedbrowser"
         style="relative"
         width="<%=myBean.getFrameWidth()%>"
         height="<%=myBean.getFrameHeight()%>"
         frameborder="yes"
         marginheight="0"
         marginwidth="0"
         scrolling="yes" 
         src="<%=myBean.getUrl()%>">
    </iframe>
    Your approach of setting relative path wont work as it is.You have to do something more
    1. in JSP you have to use a import statement like
    <%@ page import="com.sapportals.portal.prt.resource.IResource" %>
    <% IResource rs = componentRequest.getResource(IResource.JSP , "pagelet/BalnkPage.jsp");  %>
    and in the IFRAME tag you can do something like this
    <iframe
         id="Nedbrowser"
         name="Nedbrowser"
         style="relative"
         width="300"
         height="400"
         frameborder="yes"
         marginheight="0"
         marginwidth="0"
         scrolling="yes" 
         src="">
    </iframe>
    <% Nedbrowser.setSrc(rs.getResourceInformation().getURL(componentRequest)); %>
    3.There are so many forum pages on this matter.Just go ahead and search for IResource in SDN.
    Goodluck
    regards
    Senthivel

  • How to know how many rows including headers and footers does subreport has from Main Report

    Hi, we are sturuggling with subreports. Main report has 3 subreports, each subreport is inplmented in a group header(3 subreports and 3 group headers). We would like to print a group header under subreport as a column header every page, and need a page break when group number is changed. This report exports a MS Excel(97-2003) report file.
    In main report, [New After Page] is checked under Group Header #1d from [Section Expert]
    In each subreport, [Repeat Group Header On Each Page] is checked under the highest group from [Group Expert]
    Here are two issues;
    Since Crystal Reports has more rows than Excel in one page, colmun header in each subreport is being printed in the middle of the page. It should be printed at the top of the page
    When Subreport has many rows and has to be printed in more than 1 page, a page break is automatically inserted before column header. It should be printed right below column header which is Group Header #1
    We have been trying to pass row counts(count of group header because group header is used as the details) using a shared variable from Subreport 1 to Subreport 2 via main report since Subreport2 cannot predict how many rows Subreport 1 has.
    Here is what we are trying but we are getting an error which is "A constant expression is required here" under main report
    - In Sunreport 1
    whileprintingrecords;
    shared numbervar SubGroupCount := DistinctCount({Table.Field});
    - In Mainreport
    shared numbervar SubGroupCount;
    if(pagenumber) = 1
    then (SubGroupCount)
    else 50
    Is there any solutionss or better ways other than above?
    Thank you,
    Main Report: Group Header #1a --> as Page Header
    Run Date: mm/dd/yyyy                                                                 Report Name
    Main Report Group Header #1b --> Subreport 1
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6
    Main Report Goup Header #1c --> Subreport 2
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6
    Main Report Froup Header #1d --> Subreport 3
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6

    Thank you for your reply and sorry for my complicated explanations. The report has confidential information, so I replaced to some fake data but I believe you can still see what I am trying to do..
    Main Report
    Subreport 2
    Output1
    Output2: the following page
         --> more rows are printed..
    We have two problems;
    1. The column header in Output2 is supposed to be pronted right below the last row in Output2, however, a page break is automatically inserted. But even in the same output document, it works for some group when it has a few rows..
    2. Since Crystal Reports prints more rows in one page than MS Excel does, Column header is not be printed at the top of the page.
    I tried the way you advised me but it did not work..

Maybe you are looking for

  • Start up slow on os x yosemite

    os x Yosemite very slow on start up

  • Port &1 segment defn &2 in IDoc type &3 CIM type &4 do not exist

    Hello, I've a question. We would send an standard IDOC from the 4.6C System to our SAP Xi 3.0. I customized the XI with TA IDX1 and IDX2. If we trigger the IDOC to XI I get the follow error message back: Port SAPQ73 segment defn E2EDL20002 in IDoc ty

  • Tomcat5.5/Java1_5_05: Invaild Header field when starting webapp...

    Hi all, We just moved some java JSP's/code to a new Apache2(2.0.55)/Tomcat5.5.12 running Java 1_05_05 server. Java -version: java version "1.5.0_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05) Java HotSpot(TM) Server VM (bui

  • Why to use AW

    I was wondering who uses AW when most of the times with attachments is always requested a Word document and doesn't work if I use AW. Can anyone explain when to use AW and if Apple will introduce a version which can be accepted by most of websites ?

  • Importing PSD

    Hello, I am trying to import a psd into FCP 6 with multiple layers and for some reason when I open it in FCP the image is all messed up. some of the layers don't pop up, the glow effects, cropping and fading is all weird. Please help