How to copy my report?

Reporting tool for database schema

Moderator: Support Team

How to copy my report?

Postby Mila » Mon Feb 07, 2011 11:44 am

I've copied HTML report to USB drive and it looks ugly now. What is wrong?
Mila
 

Postby Support Team » Mon Feb 07, 2011 2:28 pm

There are two ways to fix this problem:
1) copy SR.CSS to your drive from original report location
2) move styles definitions to HEAD.HTM template that located in TMPL subdirectory of the installed reporter.

In the future builds we'll implement the second way as default product behavior.
Support Team
 
Posts: 256
Joined: Sun Mar 26, 2006 3:48 pm

Postby Mila » Mon Feb 07, 2011 3:43 pm

Thanks. Can you provide some example for the second way?
Mila
 

Postby Lucy » Mon Feb 07, 2011 4:21 pm

Mila wrote:Thanks. Can you provide some example for the second way?


Our HEAD.HTM
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>%TITLE%</title>
<meta http-equiv="Content-Language" content="%LANGUAGE%">
<meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%">
<style type="text/css">
<!--
body {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 100%;
   background-color: white;
   color: black;
   margin-top: 0px;
   margin-left: 15px;
   margin-right: 15px;
}

table {
   width: 100%;
   border: 1px solid black;
   border-collapse: collapse;
}

td {
   padding: 2px 5px 2px 5px;
   border: 1px solid black;
}

th {
   background-color: #e6e6e6;
   font-width: bold;
   text-align: left;
   padding: 2px 5px 2px 15px;
   border: 1px solid black;
}

h2 {
   text-align: center;
}
-->
</style>
</head>
<body>
Lucy
 

Postby Support Team » Mon Feb 07, 2011 4:56 pm

Exactly. Thank you, Lucy.
Support Team
 
Posts: 256
Joined: Sun Mar 26, 2006 3:48 pm

Postby Support Team » Thu Mar 03, 2011 9:23 am

Support Team wrote:In the future builds we'll implement the second way as default product behavior.


It is ready now. Just update your copy of the tool, Mila.
Support Team
 
Posts: 256
Joined: Sun Mar 26, 2006 3:48 pm


Return to DTM Schema Reporter

Who is online

Users browsing this forum: No registered users and 2 guests

cron