Header and footer in excel sheet (ole object)
How can we generate footer and header in an excel sheet with ole object ?
Thanks
hi brian,
Excel Upload Alternative - KCD_EXCEL_OLE_TO_INT_CONVERT
*Title : Excel Uploading
TYPES: BEGIN OF t_datatab,
col1(25) TYPE c,
col2(30) TYPE c,
col3(30) TYPE c,
col4(30) TYPE c,
col5(30) TYPE c,
col6(30) TYPE c,
col7(30) TYPE c,
col8(30) TYPE c,
col9(30) TYPE c,
col10(30) TYPE c,
col11(30) TYPE c,
END OF t_datatab.
DATA: it_datatab TYPE STANDARD TABLE OF t_datatab INITIAL SIZE 0,
wa_datatab TYPE t_datatab.
Data : p_table type t_datatab occurs 0 with header line.
DATA : gd_scol TYPE i VALUE '1',
gd_srow TYPE i VALUE '1',
gd_ecol TYPE i VALUE '256',
gd_erow TYPE i VALUE '65536'.
DATA: it_tab TYPE filetable,
gd_subrc TYPE i.
field-symbols : <fs>.
*Selection screen definition
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_file LIKE rlgrap-filename
DEFAULT 'c:\test.xls' OBLIGATORY. " File Name
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
REFRESH: it_tab.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.xls'
multiselection = ' '
CHANGING
file_table = it_tab
rc = gd_subrc.
LOOP AT it_tab INTO p_file.
so_fpath-sign = 'I'.
so_fpath-option = 'EQ'.
append so_fpath.
ENDLOOP.
START-OF-SELECTION.
PERFORM upload_excel_file TABLES it_datatab
USING p_file
gd_scol
gd_srow
gd_ecol
gd_erow.
END-OF-SELECTION.
END-OF-SELECTION.
LOOP AT it_datatab INTO wa_datatab.
WRITE:/ wa_datatab-col1,
wa_datatab-col2,
wa_datatab-col3,
wa_datatab-col4,
wa_datatab-col5,
wa_datatab-col6,
wa_datatab-col7,
wa_datatab-col8,
wa_datatab-col9,
wa_datatab-col10,
wa_datatab-col11.
ENDLOOP.
*& Form UPLOAD_EXCEL_FILE
upload excel spreadsheet into internal table
-->P_TABLE Table to return excel data into
-->P_FILE file name and path
-->P_SCOL start column
-->P_SROW start row
-->P_ECOL end column
-->P_EROW end row
FORM upload_excel_file TABLES p_table
USING p_file
p_scol
p_srow
p_ecol
p_erow.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
Has the following format:
Row number | Colum Number | Value
i.e. 1 1 Name1
2 1 Joe
DATA : ld_index TYPE i.
Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file
i_begin_col = p_scol
i_begin_row = p_srow
i_end_col = p_ecol
i_end_row = p_erow
TABLES
intern = LT_INTERN
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'Error Uploading file'.
EXIT.
ENDIF.
IF lt_intern[] IS INITIAL.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'No Data Uploaded'.
EXIT.
ELSE.
SORT lt_intern BY row col.
LOOP AT lt_intern.
MOVE lt_intern-col TO ld_index.
assign component ld_index of structure
p_table to <fs>.
move : lt_intern-value to <fs>.
MOVE lt_intern-value TO p_table.
AT END OF row.
APPEND p_table.
CLEAR p_table.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM. "UPLOAD_EXCEL_FILE
thanks
abdul
Similar Messages
-
Bypass Header and Footer in Excel output
I have a Requirement like this
I need to have the report output in the below three formats
PDF,EXCEL,HTML
But when we see the ouput in EXcel it should not have the Footer and Header Scetion ,
remaining two output formats (PDF,HTML) must have the Footer and Header Section.
Any one having any idea about this issue.
Thanks in Advance.
Have a Nice day.Hi @BIPuser.
I said the same thing to them but they said no that is final option but we need only single template for all the outputs alos it should handle the bypassing of header and footer for excel output.
Thanks for your reply, If i come across anything i will let u know. -
How to set a page header and footer of an excel file i'm creating
Hello !
SORRY MY ENGLISH is very BAD.
I tried to set page header and footer in Excel sheet with ABAP ole
DATA : BEGIN OF enter,
x(1) TYPE x VALUE '0D',
END OF enter.
DATA : format(255) TYPE c.
FORM set_page_sheet.
CALL METHOD OF excel 'ActiveSheet' = sheet.
CALL METHOD OF sheet 'PageSetup' = pagesetup.
SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
CLEAR format.
ERROR
CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
ERROR
SET PROPERTY OF pagesetup 'RightHeader' = format.
CLEAR format.
CONCATENATE ' Text 1 ' enter-x 'Text 2'
enter-x 'Text 3 ' INTO format.
SET PROPERTY OF pagesetup 'RightFooter' = format.
FREE OBJECT pagesetup.
ENDFORM. " set_page_sheet
Activate report -
ERROR - The enter-x must by data type c or another then data type x
Thanks for answer.Try to define ENTER this way & try
class cl_abap_char_utilities definition load.
DATA : BEGIN OF enter,
x type c value cl_abap_char_utilities=>cr_lf,
END OF enter.
PS : I am not 100% sure about this.
a® -
Header and footer of RTF template not getting carried over to Excel output
We have Header and Footer in RTF template defined. The output of the report will be in Excel. When we run the report, the header and footer on the report are not getting carried over to excel has header and footer, instead the header and footer are printed as first line on the excel. Also, the RTF template is set to landscape but when the output is generated in excel, it is set to Portrait
hi..
chk this presentation...
http://csc-studentweb.lrc.edu/swp/Berg/articles/NW2004s_what_is_new.ppt#352,3,Why NW 2004s?
http://www.sap-hefte.de/download/dateien/1090/086_leseprobe.pdf'
hope this helps... -
Header and footer in a BW report
Hi Gurus,
I need to create a reportin BEx for which I need to have header information like Address of the customer and the remit to address. Can anyone please advice me as to how should I go about creating a header and footer in a standard Bex Report.
Thanks in advance,
NipHi,
You can copy the sheet to another one (so the OLAP functionality is not there) and can insert a header and footer like you would normally do in a excel workbook. Hopefully this is helpful. If so, please assign points.
Thanks. -
How to place header and footer in OO-ALV program using class
How to place header and footer in OO-ALV program using class tell me wat r the class we shold use and their attributes as well
Hi Venkatesh,
Take a look at this how to [ABAP Objects - ALV Model - Using Header and Footer|https://wiki.sdn.sap.com/wiki/x/xdw]
it's explaining how to define the classes and use it for display an ALV with Header and Footer.
Regards,
Marcelo Ramos -
Header and Footer in different format
Hi ,
I am using a single RDF file to generate a report in 4
different formats by giving the destype during rumtime. I am
facing a problem regarding the Header and Footer . My requirment
is to show the Header and Footer once in HTML (Header on first
page and Footer on last page) and in case of RTF andPDF on each
page. The header and footer contains formula columns in which I
query from database.
Can anyone help me how to do this using one single RDF file.
Thanks,
AlkaHi,
We tried using trigger as suggested by you for displaying the
header and footer once in HTML. Now we are able to show the
Header on first page in HTML but we also getting blank rows
between records wherever we are hidding the Header .
Please suggest how can we remove these blank rows.
regards,
Alka.
hello,
you could achieve this by using the format trigger of the
header/footer-objects, where you could check the desformat and
the page-number in order to dermine if they should be printed or
not.
regards,
the oracle reports team --pw -
Ok. This was supposed to be a question about a header and footer in Flash. I intended to attach my fla to make it possible to understand what I was saying. As it turns out I can't figure out how to attach files. Is it even possible? That's my first question.
Here's the actual question, although it will be very vague now: I have a basic header and footer in Flash that stretch to fill the screen horizontally. It works when I test the file inside Flash (Control>Test movie). But it does not work when I go "Publish Preview" and use the browser. Why is that and how can I sort it out? Any ideas?I'm convinced there are better ways to do navigation, but this close to the end I was hoping to just grind my way forward. Somehow I managed to get the second scene working (centered that is). But when I resize the window in debug mode an error is pointed out in the first scene. "Error #1009: Cannot access a property or method of a null object reference". The snippet goes like this:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, resizeStage);
var header:MovieClip;
resizeStage(null);
function resizeStage(e:Event):void
var sw:Number = stage.stageWidth;
header.width = sw;
And it's the last line here that's supposed to cause the error. Do you see anything apparently wrong? I tried "var header:MovieClip; = new MovieClip();" but that didn't work at all. -
Strange gaps in Header and Footer
Im getting gaps in the header and footer on some of my pages. Sometimes the gaps are filled with the background color of the colomn and other times they are the body color which is even weirder. An example link would be http://www.mojogar.com/pcRepair.aspx . In IE8 I get a gap on top but not the bottom. In Firefox3 the gap is on the bottom and not the top. ???
here is the markup page; (followed by the CSS)
<%@ Page Language="VB" ContentType="text/html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/masterOne.dwt.aspx" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="thrColHybHdr.css" rel="stylesheet" type="text/css" /><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.thrColHybHdr #sidebar1, .thrColHybHdr #sidebar2 { padding-top: 30px; }
.thrColHybHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColHybHdr">
<div id="container">
<div id="header">
<!-- end #header -->
<div class="fltlft"><img src="images/mojoLogoSmall.png" alt="Mojogar digital design & PC repair" width="172" height="41" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="2,2,172,39" href="default.html" target="_self" alt="Mojogar Home" />
</map>
</div>
<div class="fltrt"><!-- InstanceBeginEditable name="HeadRight" -->HeadRight<!-- InstanceEndEditable -->
</div>
<div class="MenuVertDiv">
<ul id="MenuBar2" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Design</a>
<ul>
<li><a href="webDesign.aspx">Website Design</a></li>
<li><a href="webDev.aspx">Website Development</a></li>
<li><a href="logo.aspx">Logo Design</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Animation</a>
<ul>
<li><a href="webDev.aspx">Flash Animation</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Support</a>
<ul>
<li><a href="pcRepair.aspx">PC Repair</a> </li>
<li><a href="virus.aspx">Virus</a></li>
<li><a href="email.aspx">Email</a></li>
<li><a href="backup.aspx">Data Backup</a></li>
<li><a href="wireless.aspx">Wireless</a></li>
<li><a href="software.aspx">Software</a></li>
<li><a href="hardwareInstall.aspx">Hardware</a></li>
<li><a href="server.aspx">Server Repair</a></li>
<li><a href="busConsult.aspx">Consulting</a></li>
</ul>
</li>
<li><a href="contact.aspx">Contact</a></li>
</ul>
</div>
<!-- end header --></div>
<div class="masterBackground">
<div id="sidebar2">
<!-- InstanceBeginEditable name="rightSidebar" -->
<div id="sidebar2">
<h4>When your computer is having troubles, have a Professional look over your system to update or repair your operating system, audit the installed programs, and check for viruses and other malware.</h4>
<!-- end #sidebar2 -->
</div>
<!-- InstanceEndEditable -->
<!-- end #sidebar2 -->
</div>
<div id="mainContent">
<!-- InstanceBeginEditable name="main" -->
<div id="mainContent">
<div class="MarginTopZero">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="580" height="300" title="Computer Support">
<param name="movie" value="images/flash/PCCollage.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<embed src="images/flash/PCCollage.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="580" height="300"></embed>
</object></div>
<h2>Don't feel alone when your computer breaks. Computer problems can leave you in the dark about what is wrong. Help is a call away.</h2>
<h4>Our tune-up and repair service consists of the following;</h4>
<li>Operating system updates</li>
<h5>Operating system updates help the security of the computer and can add features that the manufacturer has been working on to make the life of the end user easier. Updates come out as frequently as every couple weeks on some operating systems.</h5>
<li>Programs audit</li>
<h5>Many <a href="software.aspx" title="Go to our software page" target="_self">applications</a> get added over time and can slow down the performance of any PC by taking up processor and memory resources, not to mention hard drive space.</h5>
<li>Security overlook</li>
<h5><a href="virus.aspx" target="_self">Anti-virus</a> definitions need to be kept up-to-date. New viruses, spyware, trojans, and malware are always being introduced into the wild (the internet is a jungle). Anti-virus applications need to be kept updated as well. Subscriptions to paid providers can lapse and updates can be left behind for months if not years (I've seen it happen).</h5>
<li>Anti-virus fine tuning</li>
<h5>Many anti-virus programs are bloated applications and won't stop annoying the user with pop-ups and information. Many users also never know when and how often their anti-virus is scanning.</h5>
<li>Browser configuration</li>
<h5>There are literally hundreds of options in your browsers settings for security and optimization. Fine stunning these can in some cases increase surfing speed.</h5>
<li>Start-up & shut down optimizing</li>
<h5>If your like most people, your PC never starts up fast enough. Get a thorough audit of what programs and services are starting with your computer and optimize them to increase speed.</h5>
<!-- end #mainContent -->
</div>
<!-- InstanceEndEditable -->
<!-- end #mainContent -->
</div>
<!-- end masterBackground --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
<%-- <br class="clearfloat" />
--%>
<div id="footer">
<p>Copyright Mojogar 2010</p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>
CSS:
@charset "utf-8";
body {
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #9FEE00;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 100%;
background-color: #333;
h1 {
font-size: xx-large;
color: #000;
h2 {
font-size: x-large;
h3 {
font-size: large;
h4 {
font-size: medium;
h5 {
font-size: small;
h6 {
font-size: x-small;
p {
font-size: xx-small;
h1, h2 {
padding-top: 20px;
padding-right: 10px;
padding-bottom: 4px;
padding-left: 10px;
h3, h4, h5, h6, p {
padding-top: 3px;
padding-right: 5px;
padding-bottom: 3px;
padding-left: 5px;
li {
font-weight: bold;
ul {
list-style-type: decimal;
ol {
font-weight: bold;
a {
a:link {
color: #FFF;
a:hover {
color: #333;
background-color: #6C8CD5;
a:active {
color: #F00;
a:visited {
color: #FF4848;
/* Tips for this Hybrid layout
1. Since the side columns em-based sizing is based on the user's default font size, you will want to be sure that background graphics in the columns take that into account. Built correctly, this is more accessible for those that need larger font sizes, since the width of the columns remains proportionate. If this is undesirable with your design, simply change the width to a pixel size and be sure to change the margins on the #mainContent div accordingly.
2. Since the sizing of side columns in this layout are based on the 100% font size in the body element, if you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the column widths will downsize proportionately. You may want to increase their widths, and the size of the #mainContent div's side margins, to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
4. The #container div is not necessary for this layout at the 100% width. You may want to use it to create faux columns or limit the width of the layout.
5. It is not neccessary to have the 100% width on the #container div since, by nature, a div takes up 100% of the available space. It is here so that if you want to decrease the size of the overall container - perhaps leaving a bit of margin on each side - this will already be available for adjustment.
.thrColHybHdr #container {
width: 780px;
/*margin: 0 auto; the auto margins (in conjunction with a width) center the page if needed */
text-align: left;
padding: 0px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
.thrColHybHdr #header {
background-color: #C9F76F;
height: 100%;
width: 780px;
margin: 0px;
padding: 0px;
.thrColHybHdr #header h1 {
margin: 0;
padding: 0px;
/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColHybHdr #sidebar1 p" rule.
.thrColHybHdr #sidebar1 {
width: 13em;
border-top-width: thick;
border-top-style: solid;
border-top-color: #C06;
float: left;
height: auto;
.thrColHybHdr #sidebar2 {
width: 200px;
text-align: center;
margin: 0px;
padding: 0px;
float: right;
/*.thrColHybHdr #sidebar1 h3, .thrColHybHdr #sidebar1 p, .thrColHybHdr #sidebar2 p, .thrColHybHdr #sidebar2 h3 {
margin-left: 0px;*/ /* the left and right margin should be given to every element that will be placed in the side columns */
/* margin-right: 0px;
/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
.thrColHybHdr #mainContent {
text-align: center;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
width: 580px;
background-color: #2A4480;
color: #C9F76F;
padding: 0px;
.MarginTopZero {
margin: 0px;
padding: 0px;
.busConslt {
height: 600px;
width: 800px;
.idea {
height: auto;
width: 100%;
.thrColHybHdr #footer {
padding: 0;
background-color: #C9F76F;
margin: 0px;
.thrColHybHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 0px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
color: #000;
/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 0px;
padding-left: 5px;
padding-top: 3px;
padding-bottom: 3px;
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
#defMainLft {
width: 49%;
float: left;
text-align: center;
#defMainRt {
width: 49%;
float: right;
text-align: center;
.absolRgt {
position: absolute;
top: 0px;
right: 0px;
.relRgt {
position: relative;
top: 0px;
right: 0px;
.defFull {
position: relative;
height: 263px;
width: 100%;
border-bottom-width: medium;
border-bottom-style: solid;
border-bottom-color: #ff4900;
.absolLft {
position: absolute;
top: 0px;
left: 0px;
.defFullTop {
position: relative;
width: 600px;
border-top-width: thick;
border-top-style: solid;
border-top-color: #000;
margin: 0px;
.tuneUpTop {
background-color: #000;
color: #FFF;
margin: 0px;
padding: 0px;
.contactForm {
width: 470px;
height: auto;
left: auto;
right: auto;
.borderRight {
border: medium solid #A62F00;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
.MenuVertDiv {
margin-bottom: 0px;
clear: both;
height: 38px;
background-color: #A62F00;
width: 100%;
.masterBackground {
background-color: #BF5930;
margin: 0px;
padding: 0px;Your HTML code contains conditional comments for IE. Try reducing or removing the extra padding and see if that helps.
/* place css fixes for all versions of IE in this conditional comment */
.thrColHybHdr #sidebar1, .thrColHybHdr #sidebar2 { padding-top: 30px; }
.thrColHybHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
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 repeat Header and Footer's table on each page
Hi all of you,
I have to create an invoice form which look alike the Purchase order forms example provided by Adobe.
In the table object, i set up exactly the same attribute as the example but i didn't manage to get the same result :
- the table is nested in a subformular which attribute is Flowed + Page Break.
- Header and Footer's table are set up such as they should be repeated on every page.
I work on the Adobe Life cycle 8.01 and ECC 6.0.
Thanks for the helpHi Vincent,
Use the Create Table assistence while you creating the table, there you will specify the header and footer
Change the table type as flowed in object tab.
Then select the Header Row in Hierarchy tab and go to the Pagination in object tab
there you check Include Header Row in Subsequent Pages and same as footer.
By
Parthi -
RE:Header and Footer change in CCP ....
After enable header and footer in Administration ,i can change the header and footer in login and signup page but i can not change those for particular user where they are adding in Organization unit...so i need steps to add header and footer for particular user which is based on css...
Cisco Cloud Portal modules may be customized to provide different appearances for different users. The appearace (CSS stylesheet) shown to the user depends on what stylesheet is associated to that user's Home OU. One style may be designated as the Default. If a default is specified, it is used for any user whose home organization (OU) has not be assigned a style. If no default is specified, the default Cloud Portal stylesheets is used. If a hierarchical organization structure (like in Cisco IA for Cloud) is used, you may specify that a style is inherited by all child OUs of a parent.
The high level steps to creating and applying custom stylesheets for individual organization units are:
Create a new folder in RequestCenter.WAR/custom e.g. RequestCenter.WAR/custom/ABC-Company;
Add the custom style sheets (copy and customize). Filenames must be custom.css and portal-custom-header.css.
In CP, go to Administration>Settings>Custom Styles. Add a new stylesheet by clicking Add and then navigate to the folder you created.
Assign OUs to this stylesheet. Note that a user may be a member of many OUs, but CSS stylesheets associated based on the user's Home OU. For example, if Sarah belongs to the Finance Team, the Marketing Team, but her Home OU is Operations, she will get the Operations stylesheet appearance.
Resources:
CP 9.4 Configuration Guide – Chapter 4 -
RE:Header and Footer change in CCP Based on User....
After enable header and footer in Administration ,i can change the header and footer in login and signup page but i can not change those for particular user where they are adding in Organization unit...so i need steps to add header and footer for particular user which is based on css...pls send ur suggestions to [email protected]..
Cisco Cloud Portal modules may be customized to provide different appearances for different users. The appearace (CSS stylesheet) shown to the user depends on what stylesheet is associated to that user's Home OU. One style may be designated as the Default. If a default is specified, it is used for any user whose home organization (OU) has not be assigned a style. If no default is specified, the default Cloud Portal stylesheets is used. If a hierarchical organization structure (like in Cisco IA for Cloud) is used, you may specify that a style is inherited by all child OUs of a parent.
The high level steps to creating and applying custom stylesheets for individual organization units are:
Create a new folder in RequestCenter.WAR/custom e.g. RequestCenter.WAR/custom/ABC-Company;
Add the custom style sheets (copy and customize). Filenames must be custom.css and portal-custom-header.css.
In CP, go to Administration>Settings>Custom Styles. Add a new stylesheet by clicking Add and then navigate to the folder you created.
Assign OUs to this stylesheet. Note that a user may be a member of many OUs, but CSS stylesheets associated based on the user's Home OU. For example, if Sarah belongs to the Finance Team, the Marketing Team, but her Home OU is Operations, she will get the Operations stylesheet appearance.
Resources:
CP 9.4 Configuration Guide – Chapter 4 -
Pages 5.2 How do I remove the fields in the header and footer?
I need to add objects and footers that are longer than the field dividers allow in the header and footer of my document. How do I remove the field divisions?
You can't remove the dividers in Pages 5.
They don't exist in Pages '09.
On the Mac you can simply keep typing and the text crosses the dividers.
A quick test on my iPod touch suggests the same on iOS.
Peter -
Header and footer on a csv download
Hi
Is there an easy way to add an extra header and footer to a csv download ?
What the user wants is a csv of the format
New heading --- the additional heading
col name, col name ..... -- the existing column names
value, value ..... -- the existing values
New footer -- some new text footer
I have tried break formatting but have had no success. The csv produces perfectly but I can't get the additional lines added !
Ta
BobNo unfortunately I have not found the time to do a blog yet.
Create a blank page and create an AFTER HEADER pl/sql process.
Then add code like the following, changing query as needed
declare
cursor result_cur is
select empno, ename, job
from emp;
begin
htp.init; -- Wipe out the buffer
owa_util.mime_header ('application/excel',false);
htp.p('Content-Disposition: attachment; filename="FormResults.csv"');
owa_util.http_header_close;
-- write your header
htp.p('This is my header');
htp.p(' ');
-- write out the column names
htp.print ( 'Emp Num, Employee Name, Job' );
--write out each row
for it in result_cur loop
htp.print ( '"'||it.empno||'","'||it.ename||'","'||it.job||'"' );
end loop;
-- write out footer
htp.p(' ');
htp.p('This is my footer');
-- Send an error code so that the
-- rest of the HTML does not render
htmldb__application.g_unrecoverable_error := true;
end;you can call this by making it the redirect target of a button or by adding something like the following in the footer section of your report region assuming the page you created the above process on was page 9
<a href="f?p=APP_ID.:9:&SESSION.">Click here to download CSV</a>sorry the code above shows a # and does not show the f p syntax url which should be f followed by a ?p=&APP_ID.:9&:SESSION.
Edited by: Larry Linnemeyer on May 20, 2009 8:08 AM -
Header and footer on print?
How do I put header and footer in my print method? Can anyone plz help me with this, am stuck.... My method looks like this:
public int print(Graphics g, PageFormat pf, int pageIndex) throws PrinterException
Graphics2D g2 = (Graphics2D)g;
g2.setColor(Color.black);
Dimension d = scroll.getSize();
double panelWidth = d.width;
double panelHeight = d.height;
double pageHeight = pf.getImageableHeight();
double pageWidth = pf.getImageableWidth();
double scale = pageWidth/panelWidth;
int totalNumPages = (int)Math.ceil(scale * panelHeight / pageHeight);
if(pageIndex >= totalNumPages)
return Printable.NO_SUCH_PAGE;
g2.translate(pf.getImageableX(), pf.getImageableY());
g2.translate(0f, -pageIndex*pageHeight);
g2.scale(scale, scale);
scroll.paint(g2);
return Printable.PAGE_EXISTS;
}You have two options:
1) Insert header and footer objects (which can be as simple as a panel with a label in it) - into your pages prior to printing.
2) Insert header/footers into the pageables passed to your print routine.
I used method one - worked nicely.
Maybe you are looking for
-
The difference between WLSE and WLSM
Dear All, In my understandings WLSM can support layer 3 roaming 1. For rogue AP detection, is WLSE or WLSM be the choice? 2. Between AP and WLSM, it is FSRT, is it encryped? by Cisco proprietary? Thanks a lot in advance. Regards, mak
-
WBS Element ( Billing element ) assignment at sales order header level
HI, There is provision of assign WBS Element at sales order header as well as item level , If Project WBS Element is assigned for each line item delivery and stock updating is happening from the project, But WBSE will assign at sales order Header s
-
External HD file size limits for movies
I recently bought (but have not yet connected) a Western Digital My Book Pro ext.HD for storage and started a thread - 'Best external hard drive...?' in the iMac forum to discuss this. Though the responses were useful I would be pleased to have views
-
PLZ HELP ME:::Degradation in performance of ORA-10G in solaris sparc
Hi , We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release . Our java application calls the oracle procedure and procedure returns the result set with sys_refcursor as out parameter. After sol
-
ISE and Two distinct Windows Domains
All, I have a customer who wants to integrate ISE with two seperate Windows Domains, they have no trust releationship. We can integrate with one of the domains and can make use of LDAP for the other but can only get Machine Authentication working wit