How to align (center) field's content in the section (band) limits

The environment is: 
CR version: CR version: CR 10.2.3600
VS version: VS 2005 Prof + C#
Application type: Windows application
The Text objects can have set crHorCenterAlign property. There are no similar crVertCenterAlign property.  So, how can we vertically align the Text objects content in theirs limits.
It would be usefull to have more properties, I mean something like this: TopAlignment, CenterAlignment and BottomAlignment.  Currenty CR uses TopAlignment as a default settings which cannot be changed and is unavailable for a developer.
The similar alignments but in section (band) limits would be usefull for objects. For example, when the details rows have different heights which depend on a fields content smaller fields are printed at the top of the section (band). It would be usefull to have the object properties to set how the object is to be aligned in the section limits.
Please look at this [picture |http://www.zgadzaj.pl/temp/vertical.jpg]. It shows that 2-nd column has larger content, so the section has been expanded. But rest of columns are printed at the top of the band. If we have additional properties than we can decide how objects should be vertically aligned.
Perhaps I am wrong and there are somewhere vertical alignment setting hidden under different names.
Regards,
Marek

Hi Marek,
The version that is shipped with Visual Studio is a basic version and set of API`s. For full control you can purchase a full version of Crystal Reports. With this version you have an extended set of API`s with CR assemblies as well as the Report Application Server which runs inProc and has the RCAPI set of API`s that gives you more control on all objects, not fully but they are adding more functions all the time.
RAS has Alignment API`s available.
Download a Trial version of CR XI R2 ( SP4 Full build ) and then SP5 which is incremental and then download sample app`s to get you going with RAS.
Thank you
Don

Similar Messages

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • How can I acess my ipad content from the pc, without enter the security code on ipad? I broke the screen and it doesn´t work. theres a way to enter the code on the pc?

    how can I acess my ipad content from the pc, without enter the security code on ipad? I broke the screen and it doesn´t work. theres a way to enter the code on the pc? thank you

    No. Get it fix by making an appointment with the Apple genius bar.

  • How to place a table of contents at the end of a document?

    I know how to design a table of contents at the beginning of a Pages document.
    I'd like to place a table of contents at the end of a long Pages book.
    Is there any simple trick to place a table of contents at the end of a Pages document?
    <pre>--------
    As long as you'll see students making graphics with pen on paper,
    you'll see the missing keystone of the software empire.
    dan</pre>

    fruhulda wrote:
    The Table of Contents (TOC) has to be in front of the Chapters it create a TOC from. There is a work around this, but do it first after you have finished the document because you'll loose the automatic update of the TOC.
    Thank you for your attempt to help.
    With TextEdit I loose the formatting of the TOC.
    I found another workaround, I made a printing of the TOC and saved it
    as PDF and included it within an empty page. But this method isn't
    really a simple workaround.
    The conclusion is that there isn't any easy way to place a TOC
    where you want.
    <pre>--------
    As long as you'll see students making graphics with pen on paper,
    you'll see the missing keystone of the software empire.
    dan</pre>

  • How can I back up my I Tunes library to an external hard drive?  Also how do I add my new content to the back up?

    How can I back up my I Tunes library to an external hard drive?  Also how do I add my new content to the back up?

    See this User Tip.
    tt2

  • How to map journal fields and whats is the better  process type

    /Journal/JournalSuspenseCostCentre     NULL
    /Journal/JournalBalancingCentre     Lookup from Organisation ID
    /Journal/JournalMultiCompany     u2018Nu2019
    /Journal/JournalBatchNumber     NULL
    /Journal/JournalNumTransactions     Total number of /Journal/JournalLine transactions
    /Journal/JournalBaseDRTotal     Sum of /Journal/JournalLine/JournalLineBaseValue u2013 Debit Values only
    /Journal/JournalBaseCRTotal     Sum of /Journal/JournalLine/JournalLineBaseValue u2013 Credit Values only
    How to map journal fields and whats is the better  process type idoc/proxies?please let me know
    Journal Line
    Multiple journal lines per header:
    Schema Element     Data
    /Journal/JournalLine/JournalLineCostCentre     Bank account control Cost Centre
    /Journal/JournalLine/JournalLineAccount     Bank account control Account Code
    /Journal/JournalLine/JournalLineMoneyTotal     Transaction Line Amount
    /Journal/JournalLine/JournalLineVolume     NULL
    /Journal/JournalLine/JournalLineDescription     Payee Name
    /Journal/JournalLine/JournalLineChequeBookReference     NULL
    /Journal/JournalLine/JournalLineMatchField     Cheque Number
    NB Contra accounting entries should be posted to:
    Schema Element     Data
    /Journal/JournalLine/JournalLineCostCentre     Bank account control Cost Centre
    /Journal/JournalLine/JournalLineAccount     Bank account control Account Code
    /Journal/JournalLine/JournalLineMoneyTotal     Transaction Line Amount * -1
    /Journal/JournalLine/JournalLineDescription     Payee Name
    /Journal/JournalLine/JournalLineMatchField     Cheque Number
    /Journal/JournalPeriod     Current General Ledger Period
    /Journal/JournalYear     Current General Ledger Year

    It looks you are new to PI,
    you have to develop scenario end to end, by creating source data type and target data type(if you have XSD's not required),then use Graphical mapping (message mapping) to map source and target structures.
    Search in sdn for one end to end scenario you will understand easily
    Regards,
    Raj

  • How to align text in Panel Box to the center

    Hi,
    I would like to align the text in the Panel Box to the center. Here is my code snipplet:
    +<af:panelBox text="22" id="pb8"+
    titleHalign="center" ramp="highlight"
    background="dark"
    icon="/images/warningind_active.gif"
    showDisclosure="false"
    contentStyle="height: 50px; width: 100%; horizontal-align:center;">
    +<f:facet name="toolbar"/>+
    +<af:outputText value="Update RFC with Approval Info"+
    id="ot8"
    inlineStyle="font-size:medium; font-weight:bold;"/>
    +</af:panelBox>+
    But it didn't work. The text "Update RFC with Approval Info" is still align to the left by default.
    Any ideas?
    Thanks.
    -Mina

    You can't do it without panelGroupLayout. Try this way...
            <af:panelBox text="PanelBox1" id="pb1" titleHalign="center" ramp="highlight"
                background="dark">
                <f:facet name="toolbar"/>
               <af:panelGroupLayout id="pgl1" layout="horizontal" halign="center" valign="top">
                <af:outputText value="***centered***" id="ot1"/>
               </af:panelGroupLayout>
            </af:panelBox>

  • How to align center for 800x600 webpage on a 1024x768 screen ?

    Dear all,
    I wonder if I can align center for a 800x600 webpage on a 1024x768 screen using Oracle Portal ?
    thanks
    George

    Hi Sonia,
    I can create the user inteface template successfully as you described.
    You can use a user interface template for this.
    Go to Providers -> Locally Built Providers -> Shared Components -> User Interface Templates.
    Then create a template for your pages and add the following lines:
    <table width="800" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
    <td>#BODY#</td>
    </tr>
    </table>
    But, I can't follow the following.
    I go back to my page group and click [Properties]. And I can't find the [Optional].
    I am using Portal 1.10.2. Can you help me ?
    After that, go back to your page template, and on its properties, go to optional and then select the User Interface Template you have just created.
    With this you won't have to change your original Template.
    Thanks
    George (HK)

  • af:outputText   How to align center.

    Hi, I'm using the below tag in one of the jsf page, of an adf application. I would like to align the text to the center of the page. The inlineStyle attribute , takes the value for the center alignment, but not working. Where as other inline style attributes are working. Could some one help me to align the text to center. Thanks.
    <af:outputText value="TEXT" id="ot1" noWrap="false"
                           inlineStyle="font-size:x-large; text-align:center; font-weight:bolder;"/>

    Re: Center align on the page

  • How can I center my redirected form on the webpage?

    /Malin

    Hi,
    It depends on your page layout and how you define your style, in general, you should be able to place it inside the DIV container, a simple example would be:
    your-htmlbody...
    <div style="text-align:center;">
         embed code here
    </div>

  • How can I center rollover buttons floating within the main frame?

    This is actually for GoLive, but I hope someone can help!
    My site used to auto-size and I just removed that annoying feature and used the Frame Inspector to Center the page.
    This worked for the boxes contained within the frame but NOT for the floating rollover buttons which still align LEFT.
    I'm sure there's a simple solution.  Thanks for your help!    J.

    You're using Absolute Positioning which is well... absolute.  By that I mean everything is positioned relative to the top left corner of browser viewport.  By itself, APDivs can't be centered which is why you're having trouble.  You would need to wrap your page content inside a CSS container that has relative positioning; a width in px, em or %; a margin-left and margin-right of auto (browser determined margins).
    Try adding this to your CSS:
    body {
    position:relative;
    width: 960px;/**adjust width as needed**/
    margin:0 auto; /**centered in modern browsers**/
    text-align: center /**centered in older browsers**/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How to update a table of contents when the feature "update table of contents" is unavailable?

    Hello folks,
    I've been struggling all morning with this issue and am completely desperate.
    First, some info:
    - I am making a spanish versions of an english documents: everything in the original doc was then edited, including TOCs. What I got at first, was a first spanish document already filled with spanish content.
    - I was not the primary creative of the document I'm workin on and am unable to get in touch with whoever that can be.
    - My document is a 200 pages text only document, with 12 chapters and, at the beginning of each chapter, a specific TOC for that very chapter.
    - Inside each chapter, there are only Sections and Subsections, no other style. Those are the two levels in the TOCs.
    - There is also a General TOC at the beginning of the document: that one only shows the Chapter names and the page number where to locate them.
    My problem:
    - Somewhere along the way, from one doc to another, the TOCs stopped to update the page numbers automatically.
    - Now I have sections and subsections that are shown in one page (for instance 204) but they actually are on page 135.
    - When I try to update the TOCs, I stand on the TOC itself as I was told in many tutorials, but the "update table of contents" feature is unavailable, even in the main TOC at the very beginning of the doc.
    It is like if I wasn't standing in the actual TOC, but there is no actual TOC anywhere that I could refer to.
    What can I do? I am changing the wrong page numbers manually but, of course, that is not ideal... and it may become more and more tricky while I keep producing new documents each based on the previous one.
    Any help will be much appreciated.
    Warm regard from sunny Paris, France!
    Sasha

    You've just confused me.
    My understanding of how this is set up is that either:
    This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
    This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
    In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
    In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
    OK,  wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they  display indide a little box. Not a text box, but a kind of little frame  around the numbers. That frame makes it imposible to delete just one  number: when the TOC says that Section 6.1 is in page 135, for example,  you cannot delete just the 5, it deletes, not just the 3 numbers, but  also the doted tab."
    I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links.

  • How to send an Email with content at the end of a Quiz?

    Hello,
    i have three Questions about the navigation function "sending an Email" at the end of an Test or Quiz, and i haven´t found any answers in the forum yet.
    An Information at the beginning:
    I want to use the Test without any other System, for example Moodle. It will be directly reachable with a link on a homepage.
    1) Is it possible, to send an Email with answers of the User as the content in the email, and if it´s possible, how?
    2) If it´s not possible, could i precast a Text in the email? Until now, there is only an empty Outlook-Window with the Emailadress.
    3) Is it possible, to send an Email without Outlook, so a User can use it only web-based, for example with gmx, webmail etc...
    Thank you for helping me
    Zholmar
    (German)
    Hallo,
    ich habe drei Fragen zum Versand im Rahmen der Navigationsfunktion von "Email versenden", dies soll am Ende von Test bzw. Quizanwendungen geschehen und habe im Forum leider keine entsprechende Antwort bisher gefunden.
    Zur Information:
    Der Test soll nicht in ein anderes System (z.B. Moodle) eingebettet werden, sondern lediglich per Link auf einer Homepage erreichbar sein.
    1) Ich würde gerne am Ende meines Tests eine Email versenden lassen, welche die Antworten des vorangegangenen Tests enthält, ist das möglich und wenn ja wie?
    2) Falls das nicht möglich ist, besteht die Möglichkeit, einen vorgefertigten Text + Betreff in der Email zu generieren? Derzeit öffnet sich lediglich ein Outlook Fenster bei erreichen der Folie, in welcher lediglich die angegebene Emailadresse eingetragen ist. In dieser Email soll wenn möglichst bereits ein Text integriert sein, so dass der Teilnehmer lediglich noch Angaben ergänzen muss.
    3) Ist der Email Versand auch ohne Outlook möglich? Kann die Funktion also auch rein Webbasiert erfolgen?
    Vielen Dank für die Hilfe
    Zholmar

    Sooo, which method are you wanting to use?
    Earlier I outlined the steps for the close project at end.
    If you are wanting to use the JavaScript solution, you insert a button. Then in the action, you tell the button to execute JavaScript. Then you click the Script Window button and enter the window.close(); code.
    Cheers... Rick

  • How to have a field show twice in the alv?

    hi,
        there are two questions about alv (OO).
       1. i want to make a field show twice in the ALV,. For example, value of first column is 'A', and now 'A' should also show in the fifth column. which method should i use? or other solutions?
    2. i have known two fields, and they are field 'A' and field 'Bbbb', how to have them show in the same column such as 'A Bbbb'
    Thanks in advance!

    Hello Daniel,
    There's no direct way to do this. however, it is technically possible to meet your requirement.
    1. The internal table should also contain another field for the 5th column. There should also be a corresponding entry in the field-catalog. Before calling the ALV Grid, the values for this field should be populated with the same values as the values in the 1st field.
    2. Again, the internal table should contain the corresponding field and the field catalog should have it as well. Before calling the ALV Grid, concatenate the values into this field and display them.
    I hope this helps. If not, please get back and we should be glad to help you.
    Regards,
    Anand Mandalika.

  • How to get dynamic fields to spread to the next page?

    Thanks to a couple of wonderful folks on this board. I have found a way to get my dynamic field to move and I have gotten the static text fields below that to move. Now I have another problem. As my dynamic field has expanded towards the end of the page. The static fields ahead of it have disappeared. I know that there is a setting to have the static fields move to the next page. Or is there a way to do it? I would love some help on this.
    Thanks in advance

    I had this issue. I had to wrap the static fields below in a sub form and change the settings on that sub form to flow with content like I did with the original text box. This will push the static forms to the next page on the form, but there is one problem with this that I haven't gotten around. When the text box spans multiple pages, printing the page will not print all of the text. For example. A text box where 45 lines of text are entered, 20 are on the first page, 25 are on the second page. It will display properly, but when printed the text that prints on page 2 will be the same text you see on page one. If I wasn't clear enough on moving the static fields, let me know. I can give you the steps. Hopefully the printing thing won't cause you grief.

Maybe you are looking for

  • Sharing Lion amongst computers in the same household with diff User IDs

    I have 3 computers in my family with different User ID's. I have already installed Lion on my macbook and no longer have the application prior to installation so I can't install it prior to the installation or after it's just been downloaded.  can I

  • Please Help!  Photo Import has Suddenly Slowed to a Crawl -- 19 hours

    I have transferred 1,000s of RAW photo files to my HD and external HD with no problem, until a few days ago. Suddenly, what used to take about 3 hours now takes 19-24 hours. I can't figure it out. I've changed card readers, I've tried different memor

  • How do I reopen a window that didn't open after Firefox restarted?

    I closed all windows last night (about 10 of them). I let the computer remain on overnight. When I clicked the taskbar icon for firefox this morning, a message briefly appeared that firefox was being updated. When firefox finally "started," opening m

  • Page is too small to read

    I was playing farmville. It sent me to a page, when I tried to get out the whole page shrunk and the words are almost impossible to read. There used to be a place on the bottom right screen, where it showed percentages of the screen size: 50% 85% etc

  • EFT Addon Bank Reference Detail for Australia

    In BP Card in Payment System tab there is a field Reference Details (OCRD.RefDetails), if you read the help file it states that this field will be used instead of the 'Refer to Remittance Advice' that appears in the Australian Bank Payment Addon tool