Merge branch 'master' of ssh://wisemapping.com/var/git-repos/wise-source

This commit is contained in:
Pablo Luna 2011-03-29 16:34:30 +01:00
commit 9a0de7ed21
18 changed files with 217 additions and 342 deletions

View File

@ -25,6 +25,7 @@ import com.wisemapping.view.MindMapBean;
import com.wisemapping.exporter.ExportProperties;
import com.wisemapping.filter.UserAgent;
import org.apache.batik.transcoder.TranscoderException;
import org.jetbrains.annotations.NotNull;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException;
@ -109,14 +110,14 @@ public class ExportController extends BaseMultiActionController {
return null;
}
private void setBaseBaseImgUrl(ExportFormat format, ExportProperties properties) {
private void setBaseBaseImgUrl(ExportFormat format, @NotNull ExportProperties properties) {
final String baseUrl;
if (format == ExportFormat.SVG) {
baseUrl = "http://www.wisemapping.com/images";
} else {
final ServletContext servletContext = this.getServletContext();
baseUrl = "file://" + servletContext.getRealPath("/images/");
baseUrl = "file://" + servletContext.getRealPath("/icons/");
}
properties.setBaseImagePath(baseUrl);
}

View File

@ -187,13 +187,18 @@ public class SvgExporter {
Element elem = (Element) node;
// Cook image href ...
String imgName = elem.getAttribute("href");
int index = imgName.lastIndexOf("/");
final String imgUrl = elem.getAttribute("href");
int index = imgUrl.lastIndexOf("/");
elem.removeAttribute("href");
if (index != -1)
{
imgName = imgName.substring(index);
final String imgPath = imgBaseUrl + imgName;
if (index != -1) {
final String iconName = imgUrl.substring(index);
// Hack for backward compatibility . This can be removed in 2012. :)
String imgPath;
if (imgUrl.contains("images")) {
imgPath = imgBaseUrl + "../images/" + imgUrl;
} else {
imgPath = imgBaseUrl + imgUrl;
}
elem.setAttribute("xlink:href", imgPath);
}
}
@ -231,7 +236,7 @@ public class SvgExporter {
final NodeList groupChildren = node.getChildNodes();
for (int idx = 0; idx < groupChildren.getLength(); idx++) {
final Node rectNode = groupChildren.item(idx);
float curentHeight = 0 ;
float curentHeight = 0;
float curentWidth = 0;
// If has a rect use the rect to calcular the real width of the topic

View File

@ -332,8 +332,7 @@ public class UserAgent implements Serializable {
// Is it a supported browser ?.
final UserAgent.Product product = this.getProduct();
boolean result = product == UserAgent.Product.FIREFOX && ((this.isVersionGreatedOrEqualThan(1, 5) && this.getOs() != UserAgent.OS.MAC) || (this.isVersionGreatedOrEqualThan(3, 0) && this.getOs() == UserAgent.OS.MAC));
result = result || product == UserAgent.Product.EXPLORER && this.isVersionGreatedOrEqualThan(6, 0) && this.getOs() == UserAgent.OS.WINDOWS;
result = result || product == UserAgent.Product.EXPLORER && this.isVersionGreatedOrEqualThan(7, 0) && this.getOs() == UserAgent.OS.WINDOWS;
result = result || product == UserAgent.Product.OPERA && this.isVersionGreatedOrEqualThan(9, 2);
result = result || product == UserAgent.Product.CHROME && this.isVersionGreatedOrEqualThan(7, 0);
result = result || product == UserAgent.Product.SAFARI && this.isVersionGreatedOrEqualThan(3, 0);

View File

@ -1,13 +1,13 @@
.bubbleContainer {
position:absolute;
z-index:50;
opacity:0;
width:auto;
overflow:hidden;
padding:20px;
position: absolute;
z-index: 50;
opacity: 0;
width: auto;
overflow: hidden;
padding: 20px;
-moz-border-radius: 5px;
border-radius: 5px;
background-color:#BCCCE1;
background-color: #BCCCE1;
-moz-box-shadow: 5px 5px 5px #888;
-webkit-box-shadow: 5px 5px 5px #888;
box-shadow: 5px 5px 5px #888;
@ -15,215 +15,215 @@
}
.bublePartContainer {
clear:both;
clear: both;
}
.bubblePart {
float:left;
float: left;
}
.bubbleLeft {
background: transparent url(../images/bubbleTip_left.png) top left;
width:12px;
height:4px;
width: 12px;
height: 4px;
}
.bubbleCenter {
background-color:#362d2e;
text-align:center;
z-index:60;
background-color: #362d2e;
text-align: center;
z-index: 60;
}
.bubbleRight {
background: transparent url(../images/bubbleTip_right.png) top left;
width:23px;
height:4px;
width: 23px;
height: 4px;
}
.bubbleTopLeft {
background: transparent url(../images/bubbleTip_corner_top_left.png) top left;
width:12px;
height:12px;
width: 12px;
height: 12px;
}
.bubbleHintTopLeft {
background: transparent url(../images/bubbleTip_pico_corner_top_left.png) top left;
width:12px;
height:57px;
width: 12px;
height: 57px;
}
.bubbleTopRight {
background: transparent url(../images/bubbleTip_corner_top_right.png) top left;
width:23px;
height:12px;
width: 23px;
height: 12px;
}
.bubbleHintTopRight {
background: transparent url(../images/bubbleTip_pico_corner_top_right.png) top left;
width:23px;
height:57px;
width: 23px;
height: 57px;
}
.bubbleTop {
background: transparent url(../images/bubbleTip_top.png) top left;
height:12px;
width:4px;
height: 12px;
width: 4px;
}
.bubbleHintTop {
background: transparent url(../images/bubbleTip_pico_top.png) top left;
height:57px;
width:4px;
height: 57px;
width: 4px;
}
.bubbleBottomLeft {
background: transparent url(../images/bubbleTip_corner_bottom_left.png) top left;
width:12px;
height:26px;
width: 12px;
height: 26px;
}
.bubbleHintBottomLeft {
background: transparent url(../images/bubbleTip_pico_corner_bottom_left.png) top left;
width:12px;
height:62px;
width: 12px;
height: 62px;
}
.bubbleBottomRight {
background: transparent url(../images/bubbleTip_corner_bottom_right.png) top left;
width:23px;
height:26px;
width: 23px;
height: 26px;
}
.bubbleHintBottomRight {
background: transparent url(../images/bubbleTip_pico_corner_bottom_right.png) top left;
width:23px;
height:62px;
width: 23px;
height: 62px;
}
.bubbleBottom {
background: transparent url(../images/bubbleTip_bottom.png) top left;
height:26px;
width:4px;
height: 26px;
width: 4px;
}
.bubbleHintBottom {
background: transparent url(../images/bubbleTip_pico_bottom.png) top left;
height:62px;
width:4px;
height: 62px;
width: 4px;
}
.bubbleBottomHint {
background: transparent url(../images/bubbleTip_bottom_pico.png) top left;
width:58px;
height:62px;
width: 58px;
height: 62px;
}
.bubbleTopHint {
background: transparent url(../images/bubbleTip_top_pico.png) top left;
width:58px;
height:57px;
width: 58px;
height: 57px;
}
.bubbleLeftBlue {
background: transparent url(../images/bubbleTip_left_blue.gif) top left;
width:12px;
height:4px;
width: 12px;
height: 4px;
}
.bubbleCenterBlue {
background-color:#BCCCE1;
z-index:60;
overflow:'hidden';
background-color: #BCCCE1;
z-index: 60;
overflow: hidden;
}
.bubbleRightBlue {
background: transparent url(../images/bubbleTip_right_blue.gif) top left;
width:23px;
height:3px;
width: 23px;
height: 3px;
}
.bubbleTopLeftBlue {
background: transparent url(../images/bubbleTip_corner_top_left_blue.gif) top left;
width:12px;
height:18px;
width: 12px;
height: 18px;
}
.bubbleHintTopLeftBlue {
background: transparent url(../images/bubbleTip_pico_corner_top_left_blue.gif) top left;
width:13px;
height:61px;
width: 13px;
height: 61px;
}
.bubbleTopRightBlue {
background: transparent url(../images/bubbleTip_corner_top_right_blue.gif) top left;
width:23px;
height:18px;
width: 23px;
height: 18px;
}
.bubbleHintTopRightBlue {
background: transparent url(../images/bubbleTip_pico_corner_top_right_blue.gif) top left;
width:23px;
height:61px;
width: 23px;
height: 61px;
}
.bubbleTopBlue {
background: transparent url(../images/bubbleTip_top_blue.gif) top left;
height:18px;
width:3px;
height: 18px;
width: 3px;
}
.bubbleHintTopBlue {
background: transparent url(../images/bubbleTip_pico_top_blue.gif) top left;
height:61px;
width:3px;
height: 61px;
width: 3px;
}
.bubbleBottomLeftBlue {
background: transparent url(../images/bubbleTip_corner_bottom_left_blue.gif) top left;
width:13px;
height:32px;
width: 13px;
height: 32px;
}
.bubbleHintBottomLeftBlue {
background: transparent url(../images/bubbleTip_pico_corner_bottom_left_blue.gif) top left;
width:12px;
height:62px;
width: 12px;
height: 62px;
}
.bubbleBottomRightBlue {
background: transparent url(../images/bubbleTip_corner_bottom_right_blue.gif) top left;
width:23px;
height:32px;
width: 23px;
height: 32px;
}
.bubbleHintBottomRightBlue {
background: transparent url(../images/bubbleTip_pico_corner_bottom_right_blue.gif) top left;
width:23px;
height:62px;
width: 23px;
height: 62px;
}
.bubbleBottomBlue {
background: transparent url(../images/bubbleTip_bottom_blue.gif) top left;
height:32px;
width:3px;
height: 32px;
width: 3px;
}
.bubbleHintBottomBlue {
background: transparent url(../images/bubbleTip_pico_bottom_blue.gif) top left;
height:62px;
width:3px;
height: 62px;
width: 3px;
}
.bubbleBottomHintBlue {
background: transparent url(../images/bubbleTip_bottom_pico_blue.png) top left;
width:58px;
height:62px;
behavior: url( ../css/iepngfix.htc );
width: 58px;
height: 62px;
}
.bubbleTopHintBlue {
background: transparent url(../images/bubbleTip_top_pico_blue.png) top left;
width:58px;
height:61px;
behavior: url( ../css/iepngfix.htc );
width: 58px;
height: 61px;
}
.btn-primary {

View File

@ -45,13 +45,13 @@ abbr, acronym {
*/
body {
font: 13px arial, helvetica, clean, sans-serif;
* font-size : small;
* font : x-small;
font-size: small;
font: x-small;
}
table {
font-size: inherit;
font: 100%;
font-size: 100%;
}
/**
@ -66,7 +66,7 @@ select, input, textarea {
*/
pre, code {
font: 115% monospace;
* font-size : 100 %;
font-size: 100%;
}
/**
@ -118,12 +118,13 @@ a:hover, a:active {
}
h2 {
font: 160%;
font-size: 160%;
color: #8e9181;
}
h1 {
font: normal 180%;
font-style: normal;
font-size: 180%;
color: white;
padding-bottom: 2px;
}
@ -131,13 +132,15 @@ h1 {
h3 {
/* use as subhead on main body */
clear: left;
font: normal 130%;
font-style: normal;
font-size: 130%;
color: #6b6f5b;
}
h4 {
/* use as headers in footer */
font: bold 120%;
font-weight: bold;
font-size: 120%;
border-bottom: 1px solid #8e9181;
color: #e2e3dd;
padding-bottom: 10px;
@ -185,9 +188,7 @@ h4 {
margin-top: 8px;
height: 80px;
width: 134px;
background-image: url( "../images/logo-small.png" );
behavior: url( ../css/iepngfix.htc );
background-repeat: no-repeat;
background: url("../images/logo-small.png") no-repeat;
position: absolute;
top: 0;
left: 0;
@ -199,7 +200,7 @@ h4 {
margin-top: 8px;
height: 1em;
width: 100px;
top: 47px;
top: 40px;
left: 137px;
white-space: nowrap;
padding-left: 7px;
@ -213,7 +214,7 @@ h4 {
left: 150px;
}
#newsLink, #blogLink, #aboutLink, #newsLink, #faqLink, #feedbackLink, #supportLink, #logoutLink{
#newsLink, #blogLink, #aboutLink, #newsLink, #faqLink, #feedbackLink, #supportLink, #logoutLink {
float: right;
z-index: 300;
}
@ -345,8 +346,7 @@ div#printLogo {
width: 80px;
float: right;
margin: 1px;
background: url( ../images/logo-vsmall.png ) no-repeat right top;
behavior: url( ../css/iepngfix.htc );
background: url(../images/logo-vsmall.png) no-repeat right top;
}
.btn-primary {
@ -382,7 +382,7 @@ div#paypal {
#headerLoading {
padding-left: 40px;
background: url( '../images/ajax-loader.gif' ) #BBB4D6 no-repeat left;
background: url('../images/ajax-loader.gif') #BBB4D6 no-repeat left;
position: absolute;
right: 3px;
top: 5px;
@ -390,7 +390,8 @@ div#paypal {
height: 20px;
color: white;
font-weight: bold;
border: 1px solid whitesmoke;
border: 1px solid;
border-color: #f5f5f5;
background-position: 5px 2px;
visibility: hidden;
}
@ -420,16 +421,16 @@ div#headerActions a:hover, div#headerActions a:active, div#headerActions a:link,
}
div.header_languages {
position:absolute;
right:0px;
position: absolute;
right: 0;
top: 30px;
width:100px;
height:20px;
width: 100px;
height: 20px;
}
div.header_language_flag {
float:left;
margin-right:3px;
float: left;
margin-right: 3px;
}
/*--- Modal Dialog Form ---*/
@ -451,7 +452,7 @@ div.modalDialog h1 {
div.modalDialog h2 {
color: gray;
font-size: 110%;
margin: 9px 0px;
margin: 9px 0;
}
div.modalDialog h5 {
@ -483,7 +484,7 @@ div.pageBodyContent h2 {
color: gray;
font-size: 150%;
border-bottom: 1px dashed #BBB4D6;
margin: 20px 0px;
margin: 20px 0;
}
div.pageBodyContent ul {
@ -536,8 +537,8 @@ td.formLabel {
span.fieldRequired {
font-weight: bold;
color: orangered;
margin: 0px 4px;
color: #ff4500;
margin: 0 4px;
}
#keyboardTable {
@ -545,7 +546,7 @@ span.fieldRequired {
width: 100%;
height: 300px;
overflow: auto;
border: 0px solid gray;
border: 0 solid gray;
background-color: white;
z-index: 2;
position: relative;
@ -553,7 +554,7 @@ span.fieldRequired {
#keyboardTable table {
width: 100%;
border: 0px solid gray;
border: 0 solid gray;
}
#keyboardTable thead {

View File

@ -32,7 +32,8 @@ html {
opacity: .99;
padding: 15px;
width: 100%;
border: 1px solid darkgray;
border: 1px solid;
border-color:#a9a9a9;
}
@ -108,7 +109,7 @@ html {
}
#operationsContainer a {
padding: 0px 5px;
padding: 0 5px;
}
#user {
@ -145,7 +146,7 @@ div#toolbar .buttonContainer {
color: #BBB4D6;
font-size: 11px;
text-align: right;
margin: 0px;
margin: 0;
-moz-margin-start: 7px;
-moz-margin-end: 7px;
}
@ -154,7 +155,7 @@ div#toolbar .button {
width: 32px;
height: 36px;
float: left;
margin: 0px 2px 2px 2px;
margin: 0 2px 2px 2px;
cursor: pointer;
text-align: center;
}
@ -167,7 +168,7 @@ div#toolbar .button:hover {
width: 32px;
height: 36px;
float: left;
margin: 0px 1px;
margin: 0 1px;
cursor: pointer;
border: 1px solid black;
border-top-color: white;
@ -225,37 +226,30 @@ div#share {
div#saveButton {
background: url(../images/save.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#discardButton {
background: url(../images/close.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#history {
background: url(../images/history.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#print {
background: url(../images/file_printer.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#undoEdition {
background: url(../images/file_undo_dis.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#redoEdition {
background: url(../images/file_redo_dis.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#export {
background: url(../images/file_export.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
position:relative;
}
@ -269,91 +263,75 @@ div#redoEdition {
div#zoomIn {
background: url(../images/zoom_in.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#zoomOut {
background: url(../images/zoom_out.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#addTopic {
background: url(../images/topic_add.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#deleteTopic {
background: url(../images/topic_delete.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#topicColor {
background: url(../images/topic_bgcolor.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
div#topicIcon {
background: url(../images/topic_icon.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
div#topicNote {
background: url(../images/note.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
div#topicLink {
background: url(../images/topic_link.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
div#topicNote {
background-image: url(../images/note.png);
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
#topicBorder {
background: url(../images/topic_border.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
width: 30px;
}
#fontFamily {
background: url(../images/font_type.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#topicShape {
background: url(../images/topic_shape.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
width: 30px;
}
#fontBold {
background: url(../images/font_bold.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#fontItalic {
background: url(../images/font_italic.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
div#fontColor {
background: url(../images/font_color.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
#fontSize {
float: left;
background: url(../images/font_size.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#font-size {
@ -371,18 +349,14 @@ div#fontColor {
#shareIt {
background: url(../images/collab_share.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#publishIt {
background: url(../images/collab_publish.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#tagIt {
background: url(../images/collab_tag.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
}
#colorPalette {
@ -414,7 +388,7 @@ div.toolbarPanelLink {
font-size: 14px;
color: black;
font-weight: bold;
padding: 0 3px 0px 4px;
padding: 0 3px 0 4px;
margin: 1px;
}
@ -422,7 +396,7 @@ div.toolbarPanelLink {
cursor: pointer;
font-size: 12px;
font-weight: bold;
padding: 0px 3px 0px 4px;
padding: 0 3px 0 4px;
margin: 1px;
}
@ -436,7 +410,7 @@ div.toolbarPanelLinkSelectedLink {
cursor: pointer;
color: white;
font-weight: bold;
padding: 0px 3px 0px 4px;
padding: 0 3px 0 4px;
margin: 1px;
background-color: #c3def5;
}
@ -485,7 +459,6 @@ div#actionsContainer {
width: 6px;
height: 25px;
background: url(../images/btnStart2.png) no-repeat left top;
behavior: url(../css/iepngfix.htc);
float: left;
}
@ -493,8 +466,7 @@ div#actionsContainer {
background: url(../images/btnBody2.png);
float: left;
height: 18px;
padding: 0px 5px;
padding-top: 5px;
padding: 5px 5px 0;
text-align: center;
color: black;
}
@ -503,7 +475,6 @@ div#actionsContainer {
width: 7px;
height: 23px;
background: url(../images/btnEnd2.png) no-repeat right top;
behavior: url(../css/iepngfix.htc);
float: left;
}
@ -523,7 +494,6 @@ div#footerEditor {
float: right;
margin: 5px;
background: url(../images/logo-vsmall.png) no-repeat right top;
behavior: url(../css/iepngfix.htc);
}
#footerEditor .msgLoggerContainer {
@ -695,7 +665,7 @@ span#lastSaved {
}
#tryEditorWarning h1 {
color: whitesmoke;
color: #f5f5f5;
font-weight: bold;
margin-bottom: 5px;
font-size: 15px;
@ -718,13 +688,13 @@ div#helpContainer {
div#helpContent h1 {
font-weight: bold;
color: whitesmoke;
color: #f5f5f5;
font-size: 15px;
}
div#helpContent h2 {
font-weight: bold;
padding: 20px 0px 10px 0px;
padding: 20px 0 10px 0;
color: #bfbfbf;
}
@ -754,14 +724,12 @@ div#small_error_icon {
div#toolbar .topicRelation {
width:56px;
background: url(../images/topic_relationship.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}
div#toolbar .topicRelation:hover {
width:56px;
background: url(../images/topic_relationship.png) no-repeat center top;
behavior: url(../css/iepngfix.htc);
z-index: 4;
}

View File

@ -31,7 +31,8 @@ html {
opacity: .99;
padding: 15px;
width: 100%;
border: 1px solid darkgray;
border: 1px solid;
border-color:#a9a9a9;
}
@ -62,7 +63,7 @@ div#embFooter {
height: 35px;
width: 100%;
bottom: 0;
left: 0px;
left: 0;
border-top: 1px solid black;
background: #E5E5E5;
}
@ -72,7 +73,6 @@ div#logo {
width: 80px;
position: absolute;
background: url( ../images/logo-vvsmall.png ) no-repeat right top;
behavior: url( ../css/iepngfix.htc );
right: 10px;
top: -10px;
}
@ -95,14 +95,12 @@ div#logo {
#zoomIn {
background: url( ../images/zoom_in.png ) no-repeat left top;;
behavior: url( ../css/iepngfix.htc );
margin-top: 10px;
margin-left: 10px;
}
#zoomOut {
background: url( ../images/zoom_out.png ) no-repeat left top;;
behavior: url( ../css/iepngfix.htc );
margin-top: 10px
}

View File

@ -1,68 +0,0 @@
<public:component>
<public:attach event="onpropertychange" onevent="doFix()" />
<script type="text/javascript">
// IE5.5+ PNG Alpha Fix v1.0RC4
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com
// This is licensed under the CC-GNU LGPL, version 2.1 or later.
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
// This must be a path to a blank image. That's all the configuration you need.
if (typeof blankImg == 'undefined') var blankImg = 'blank.gif';
var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
function filt(s, m)
{
if (filters[f])
{
filters[f].enabled = s ? true : false;
if (s) with (filters[f]) { src = s; sizingMethod = m }
}
else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
}
function doFix()
{
// Assume IE7 is OK.
if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
(event && !/(background|src)/.test(event.propertyName))) return;
var bgImg = currentStyle.backgroundImage || style.backgroundImage;
if (tagName == 'IMG')
{
if ((/\.png$/i).test(src))
{
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
style.width = offsetWidth + 'px';
filt(src, 'scale');
src = blankImg;
}
else if (src.indexOf(blankImg) < 0) filt();
}
else if (bgImg && bgImg != 'none')
{
if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i))
{
var s = RegExp.$1;
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
style.width = offsetWidth + 'px';
style.backgroundImage = 'none';
filt(s, 'crop');
// IE link fix.
for (var n = 0; n < childNodes.length; n++)
if (childNodes[n].style) childNodes[n].style.position = 'relative';
}
else filt();
}
}
doFix();
</script>
</public:component>

View File

@ -6,8 +6,7 @@
width: 100px;
font-size: 12px;
font-weight: bold;
padding: 5px;
padding-left: 0;
padding: 10px 5px 5px 0;
color: #808080;
}
@ -17,11 +16,10 @@
}
#recentFiles {
margin: 10px auto;
margin: 10px auto 5px;
width: 900px;
height: 100%;
padding: 8px;
margin-bottom: 5px;
}
#recentFiles a {
@ -36,18 +34,20 @@
#recentFiles .recentItemContainer {
height: 20px;
background-color: white;
padding: 0 0 0 7px;
margin-top: 4px;
}
#recentFiles .recentItemIcon {
float: left;
width: 20px;
height: 15px;
background: url( ../images/icon_list.png ) no-repeat left;
background: url(../images/icon_list.png) no-repeat left;
}
#recentFiles .recentItemTitle {
float: left;
padding-left: 0px;
padding-left: 0;
padding-right: 10px;
font-size: 12px;
}
@ -91,8 +91,7 @@
float: left;
position: relative;
top: 50%;
margin: 0px 5px;
margin-top: -12px;
margin: -12px 5px 0;
height: 24px;
}
@ -105,29 +104,28 @@
float: left;
width: 3px;
height: 24px;
background: url( ../images/start_btn.gif ) no-repeat left;
background: url(../images/start_btn.gif) no-repeat left;
}
#toolbar .buttonBody {
float: left;
height: 19px;
padding: 5px 5px 0px;
background: url( ../images/body_btn.gif );
padding: 5px 5px 0;
background: url(../images/body_btn.gif);
}
#toolbar .buttonEnd {
float: left;
width: 3px;
height: 24px;
background: url( ../images/end_btn.gif ) no-repeat left;
background: url(../images/end_btn.gif) no-repeat left;
}
#actionsBtn {
float: left;
position: relative;
top: 50%;
margin: 0px 5px;
margin-top: -15px;
margin: -15px 5px 0;
width: 78px;
height: 30px;
}
@ -136,8 +134,7 @@
float: left;
position: relative;
top: 50%;
margin: 0px 5px;
margin-top: -15px;
margin: -15px 5px 0;
width: 78px;
height: 30px;
}
@ -158,7 +155,7 @@
width: 100%;
height: 250px;
overflow: auto;
border: 0px solid gray;
border: 0 solid gray;
background-color: white;
z-index: 2;
position: relative;
@ -166,7 +163,7 @@
#docTable table {
width: 100%;
border: 0px solid gray;
border: 0 solid gray;
}
#docTable thead {

View File

@ -291,7 +291,7 @@ div.windoo-wise a.windoo-maximize-disabled, div.windoo-wise a.windoo-maximize-di
}
div.windoo-wise a.windoo-minimize {
top: 0px;
top: 0;
right: 56px;
background-position: 0 0;
}
@ -308,7 +308,7 @@ div.windoo-wise a.windoo-minimize-disabled, div.windoo-wise a.windoo-minimize-di
div.windoo-wise a.windoo-restore {
display: none;
top: 0px;
top: 0;
right: 15px;
background-position: -46px 0;
}

View File

@ -27,7 +27,7 @@
float: left;
width: 510px;
height: 210px;
margin: 40px 12px 0px 10px;
margin: 40px 12px 0 10px;
}
.contentImage {
@ -77,7 +77,7 @@
width: 100%;
height: 550px;
overflow: auto;
border: 0px solid gray;
border: 0 solid gray;
background-color: white;
z-index: 2;
position: relative;
@ -86,7 +86,7 @@
#searchResultTable table {
width: 100%;
border: 0px solid gray;
border: 0 solid gray;
background-color: white;
}
@ -145,14 +145,13 @@
clear: both;
width: 200px;
font-size: 12px;
padding: 9px 9px 0px;
padding: 9px 9px 0;
}
#searchTitleContainer {
background: url( ../images/search3.png ) no-repeat left;
padding-left: 35px;
padding-bottom: 10px;
behavior: url( ../css/iepngfix.htc );
}
#searchTitle {
@ -189,7 +188,6 @@
width: 6px;
height: 25px;
background: url( ../images/btnStart.png ) no-repeat left top;
behavior: url( ../css/iepngfix.htc );
float: left;
}
@ -197,8 +195,7 @@
background: url( ../images/btnBody.png );
height: 18px;
float: left;
padding: 0px 0px;
padding-top: 5px;
padding: 5px 0 0;
text-align: center;
color: black;
}
@ -207,7 +204,6 @@
width: 7px;
height: 25px;
background: url( ../images/btnEnd.png ) no-repeat right top;
behavior: url( ../css/iepngfix.htc );
float: left;
}
@ -228,7 +224,6 @@ div#tryNow .tryBtnStart {
width: 10px;
height: 70px;
background: url( ../images/tryItStartBtn2.png ) no-repeat left top;
behavior: url( ../css/iepngfix.htc );
float: left;
}
@ -247,7 +242,7 @@ div#tryNow .tryBtnEnd {
}
div#tryNow .tryBtnText {
padding: 0px 20px;
padding: 0 20px;
position: relative;
height: 70px;
font-size: 20px;
@ -288,7 +283,6 @@ div#video .videoBtnStart {
width: 10px;
height: 51px;
background: url( ../images/videoStart.png ) no-repeat left top;
behavior: url( ../css/iepngfix.htc );
float: left;
}
@ -379,7 +373,6 @@ div#signUpButton .signUpStartBtn {
width: 5px;
height: 25px;
background: url( ../images/signUpStartBtn.png ) no-repeat left top;
behavior: url( ../css/iepngfix.htc );
float: left;
}
@ -396,12 +389,11 @@ div#signUpButton .signUpEndBtn {
width: 7px;
height: 25px;
background: url( ../images/signUpEndBtn.png ) no-repeat right top;
behavior: url( ../css/iepngfix.htc );
float: left;
}
div#signUpButton .signUpText {
padding: 0px 20px;
padding: 0 20px;
position: relative;
height: 25px;
color: #093A9D;
@ -546,12 +538,10 @@ div#mainBody {
}
div#news li {
background: transparent url( ../images/icon_triangle_grey_12x13.gif ) no-repeat scroll 0pt;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
background: transparent url( ../images/icon_triangle_grey_12x13.gif ) no-repeat scroll 0;
list-style: none outside none;
margin-bottom: 12px;
padding: 2px 0pt 5px 20px;
padding: 2px 0 5px 20px;
}
div#news ul {

View File

@ -589,15 +589,16 @@ function fontFamilyPanel()
function shapeTypePanel()
{
var shapeTypePanel = ['rectagle','rounded rectagle','line','elipse'];
var shapeTypePanel = ['rectagle','rounded_rectagle','line','elipse'];
var updateFunction = function(value)
{
designer.setShape2SelectedNode(value);
designer.setShape2SelectedNode(value.replace('_',' '));
};
var onFocusValue = function(selectedNode)
{
return selectedNode.getShapeType();
return selectedNode.getShapeType().replace(' ','_');
};
buildPanel('topicShape', 'topicShapePanel', shapeTypePanel, updateFunction, onFocusValue);

View File

@ -10,15 +10,18 @@
<div style="float:left; text-align:left;padding:5px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" name="submit"
alt="Make payments with PayPal - it's fast, free and secure!"/>
<img alt="" style="border: 0;width:1;height:1;" src="https://www.paypal.com/en_US/i/scr/pixel.gif"/>
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHwQYJKoZIhvcNAQcEoIIHsjCCB64CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBvLN5PRNvfylLOCDCi65JktD2se3FdTyRH1+Ptw+OrhDWUX76pT8qt89aCzRjroJikwKfgmiyLHSOw4rDF5xGbzesCdAjpkrv5KwMRxiaf/FEdXDHHufv2pwP591+h7mY36I0+nDdwVykq7KteiQRsfFQeLkHikRsZ6Gtw3eRuBjELMAkGBSsOAwIaBQAwggE9BgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECNad8bwThZeKgIIBGEkN7nh0XMYn8N6aOZm9Dqtnty8qTW42ACmxf9llJ1wzj4SRT9SEpHfq4tMG3hRRjAhJ6DRW8k+0QacC5exvzddGo1bIFGvNxWnXF3CEUy2yc2Dw/YaUlsZsSYcyChi9yxjmNnrH7YYDgnpAq7V1fcKN89t8gnNA2+KAPENtT6yF8eNzrzf5ckfFBOJXawLW4lACk5h1jrCmF5oWL/SicDsjLMFvXkD6P7tHsxOlLHj1Oe6k+Ejb1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YJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNzA5MDQxMTMyMTNaMCMGCSqGSIb3DQEJBDEWBBTF2vsxwMzHX7TQrdpdCFCp3Rk6TDANBgkqhkiG9w0BAQEFAASBgJS4fx+wCQaPzs3wvgaJOvbgub23AuGbaMc3fYKGxJf5JTxUVsSkQY9t6itXUr2llwc/GprbKaCvcOnOBXT8NkZ6gWqNX9iwDq83rblm3XI7yrjRUCQrvIkhJ80xKGrhBn48V61FawASYdpE1AmhZoga9XAIZruO0NrnT2QXxe2p-----END PKCS7-----"/>
</form>
</div>
<div style="float:left; text-align:left;padding:5px;">
<a href="http://www.w3.org/html/logo/" target="_blank">
<img src="http://www.w3.org/html/logo/badge/html5-badge-h-css3-graphics-semantics.png" width="100" height="32" alt="HTML5 Powered with CSS3 / Styling, Graphics, 3D &amp; Effects, and Semantics" title="HTML5 Powered with CSS3 / Styling, Graphics, 3D &amp; Effects, and Semantics">
</a>
</div>
<a href="http://www.w3.org/html/logo/">
<img src="http://www.w3.org/html/logo/badge/html5-badge-h-graphics.png" width="66" height="32"
alt="HTML5 Powered with Graphics, 3D &amp; Effects"
title="HTML5 Powered with Graphics, 3D &amp; Effects">
</a></div>
</div>

View File

@ -22,11 +22,11 @@
<c:out value="${wisemapDetail.title}"/>
<c:choose>
<c:when test="${not wisemapDetail.public}">
<img src="../images/key.png" title="<spring:message code="PRIVATE"/>"/>
<img src="../images/key.png" alt="<spring:message code="PRIVATE"/>" title="<spring:message code="PRIVATE"/>"/>
<span>(<spring:message code="PRIVATE"/>)</span>
</c:when>
<c:otherwise>
<img src="../images/world2.png " title="<spring:message code="PUBLIC"/>"/>
<img src="../images/world2.png" alt="<spring:message code="PUBLIC"/>" title="<spring:message code="PUBLIC"/>"/>
<span>(<spring:message code="PUBLIC"/>)</span>
</c:otherwise>
</c:choose>
@ -64,7 +64,7 @@
<td class="formLabel">
<c:choose>
<c:when test="${wisemapDetail.owner==requestScope.user}">
<a href="<c:out value="${shareMap}"/>&mapId=${wisemapDetail.id}" rel="moodalbox 780px 530px wizard"
<a href="<c:out value="${shareMap}"/>&amp;mapId=${wisemapDetail.id}" rel="moodalbox 780px 530px wizard"
title="<spring:message code="SHARE_DETAILS"/>">
<spring:message code="COLLABORATORS"/>
</a>
@ -137,7 +137,7 @@
</c:otherwise>
</c:choose>
:
<div id="divSendLink"/>
<div id="divSendLink"></div>
</td>
<td>
<c:choose>
@ -184,7 +184,7 @@
readonly="readonly">
&lt;iframe
style="border:0;width:600px;height:400px;border: 1px solid black"
src="http://www.wisemapping.com/c/embeddedView.htm?mapId=${wisemapDetail.id}&zoom=1"&gt;
src="http://www.wisemapping.com/c/embeddedView.htm?mapId=${wisemapDetail.id}&amp;amzoom=1"&gt;
&lt;/iframe&gt;
</textarea>

View File

@ -103,7 +103,7 @@
<div id="topicShapePanel" class="toolbarPanel">
<!--<div id="automatic" class="toolbarPanelLink">Automatic</div>-->
<div id="rectagle" class="toolbarPanelLink"><img src="../images/shape-rectangle.png" alt="Rectangle" width="40" height="25"></div>
<div id="rounded rectagle" class="toolbarPanelLink"><img src="../images/shape-rectangle-rounded.png" alt="Rounded Rectangle" width="40" height="25"></div>
<div id="rounded_rectagle" class="toolbarPanelLink"><img src="../images/shape-rectangle-rounded.png" alt="Rounded Rectangle" width="40" height="25"></div>
<div id="line" class="toolbarPanelLink"><img src="../images/shape-line.png" alt="Line" width="40" height="7"></div>
<div id="elipse" class="toolbarPanelLink"><img src="../images/shape-elipse.png" alt="Elipse" width="40" height="25"></div>
</div>

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML>
<%@ page import="com.wisemapping.view.MindMapBean" %>
<%@ page import="java.util.List" %>
@ -103,7 +103,7 @@
},
'onConfirm':function(){
$(document.toolbarForm.mindmapIds).value=$('selectedMapIds').value;
$(document.toolbarForm).action='${deleteSelectedMapUrl}';
$(document.toolbarForm).action='<c:out value="${deleteSelectedMapUrl}" escapeXml="true"/>';
$(document.toolbarForm).submit();
}
});">
@ -131,19 +131,19 @@
<div id="docTable">
<table>
<colgroup>
<col width="3%"/>
<col width="3%"/>
<col width="15%"/>
<col width="30%"/>
<col width="14%"/>
<col width="10%"/>
<col width="20%"/>
<col width="5%"/>
<col style="width:3%;"/>
<col style="width:3%;"/>
<col style="width:15%;"/>
<col style="width:30%;"/>
<col style="width:14%;"/>
<col style="width:10%;"/>
<col style="width:20%;"/>
<col style="width:5%;"/>
</colgroup>
<thead>
<tr>
<th style="text-align:center">
<input id="checkAll" type="checkbox" onchange="selectAllMaps(this);">
<label for="checkAll"></label><input id="checkAll" type="checkbox" onchange="selectAllMaps(this);">
</th>
<th>
<spring:message code="FILE"/>
@ -172,29 +172,21 @@
<c:forEach items="${wisemapsList}" var="mindmap">
<tr>
<td>
<div align="center"><input type="checkbox" name="chk" id="chk${mindmap.id}"
onclick="addToSelectedMapList(this);"></div>
<div style="text-align:center;"><input type="checkbox" name="chk" id="chk${mindmap.id}" onclick="addToSelectedMapList(this);"></div>
</td>
<td>
<div class="leftMenu">
<img src="../images/icon_list.png" border="0" class="button"
style="display:block;">
<img src="../images/icon_list.png" class="button" style="display:block;border:0;">
<div class="subMenu2">
<a href="javascript:openMap('${mindmap.id}')"
title="<spring:message code="OPEN_MSG"/>">
<a href="javascript:openMap('${mindmap.id}')" title="<spring:message code="OPEN_MSG"/>">
<spring:message code="OPEN"/>
</a>
<c:if test="${mindmap.owner==requestScope.user}">
<a href="renameMap.htm?mapId=${mindmap.id}"
rel="moodalbox 400px 180px wizard"
title="<spring:message code="RENAME_DETAILS"/>">
<a href="renameMap.htm?mapId=${mindmap.id}" rel="moodalbox 400px 180px wizard" title="<spring:message code="RENAME_DETAILS"/>">
<spring:message code="RENAME"/>
</a>
</c:if>
<a href="history.htm?action=list&goToMindmapList&mapId=${mindmap.id}"
rel="moodalbox 600px 400px wizard"
title="<spring:message code="HISTORY_INFO"/>">
<a href="history.htm?action=list&amp;goToMindmapList&amp;mapId=${mindmap.id}" rel="moodalbox 600px 400px wizard" title="<spring:message code="HISTORY_INFO"/>">
<spring:message code="HISTORY"/>
</a>
@ -204,26 +196,20 @@
title:'<spring:message code="DELETE_MAP"/>'
},
'onConfirm':function(){
var form = new Element('form').setProperties({action: '${deleteMapUrl}&mapId=${mindmap.id}', method:'post'}).injectInside(document.body);
var form = new Element('form').setProperties({action: '<c:out value="${deleteMapUrl}" escapeXml="true"/>&amp;mapId=${mindmap.id}', method:'post'}).injectInside(document.body);
form.submit();
}
});">
<spring:message code="DELETE"/>
</div>
<a href="tags.htm?mapId=${mindmap.id}"
rel="moodalbox 400px 200px wizard"
title="<spring:message code="TAGS_DETAILS"/>">
<a href="tags.htm?mapId=${mindmap.id}" rel="moodalbox 400px 200px wizard" title="<spring:message code="TAGS_DETAILS"/>">
<spring:message code="TAGS"/>
</a>
<c:if test="${mindmap.owner==requestScope.user}">
<a href="${shareMap}&mapId=${mindmap.id}"
rel="moodalbox 780px 530px wizard"
title="<spring:message code="SHARE_DETAILS"/>">
<a href="<c:out value="${shareMap}" escapeXml="true"/>&amp;mapId=${mindmap.id}" rel="moodalbox 780px 530px wizard" title="<spring:message code="SHARE_DETAILS"/>">
<spring:message code="COLLABORATION"/>
</a>
<a class="subMenu2Sep" href="publish.htm?mapId=${mindmap.id}"
rel="moodalbox 600px 400px wizard"
title="<spring:message code="PUBLISH_MSG"/>">
<a class="subMenu2Sep" href="publish.htm?mapId=${mindmap.id}" rel="moodalbox 600px 400px wizard" title="<spring:message code="PUBLISH_MSG"/>">
<spring:message code="PUBLISH"/>
</a>
</c:if>
@ -260,16 +246,14 @@
alt="<spring:message code="PRIVATE"/>"/>
</c:when>
<c:otherwise>
<img src="../images/world2.png "
title="<spring:message code="PUBLIC"/>: <spring:message code="ALL_VIEW_PUBLIC"/>"
alt="title="
<img src="../images/world2.png" title="<spring:message code="PUBLIC"/>: <spring:message code="ALL_VIEW_PUBLIC"/>" alt="World"
<spring:message code="PUBLIC"/>
</c:otherwise>
</c:choose>
</td>
<td>${mindmap.creationUser}</td>
<td>${mindmap.lastEditDate} by ${mindmap.lastEditor}</td>
<td><a href="${mapDetail}&mapId=${mindmap.id}">
<td><a href="<c:out value="${mapDetail}" escapeXml="true"/>&amp;mapId=${mindmap.id}">
<spring:message code="DETAIL"/>
</a>
</td>
@ -282,24 +266,20 @@
</div>
<div id="ds1" class="submenu" style="display:none;">
<a href="${deleteSelectedMapUrl}&mindmapIds=" rel="moodalbox 300px 120px">Delete</a>
<a href="<c:out value="${deleteSelectedMapUrl}" escapeXml="true"/>&amp;mindmapIds=" rel="moodalbox 300px 120px">Delete</a>
<a href="#">Tag</a>
<a href="#">Publish</a>
</div>
<div id="ds2" class="submenu" style="position:absolute; display:none;">
<a href="${shareMap}&mapId=" rel="moodalbox 780px 530px"
title="Share WiseMap">Share</a>
<a href="publish.htm?mapId=" rel="moodalbox 600px 400px wizard"
title="<spring:message code="PUBLISH_DETAILS"/>">
<a href="<c:out value="${shareMap}" escapeXml="true"/>&amp;mapId=" rel="moodalbox 780px 530px" title="Share WiseMap">Share</a>
<a href="publish.htm?mapId=" rel="moodalbox 600px 400px wizard" title="<spring:message code="PUBLISH_DETAILS"/>">
<spring:message code="PUBLISH"/>
</a>
<a href="${deleteMapUrl}&mapId=" rel="moodalbox 300px 120px"
title="Delete Confirmation">
<a href="<c:out value="${deleteMapUrl}" escapeXml="true"/>&amp;mapId=" rel="moodalbox 300px 120px" title="Delete Confirmation">
Delete
</a>
<a href="export.htm?mapId=" rel="moodalbox 750px 400px"
title="<spring:message code="EXPORT_DETAILS"/>">
<a href="export.htm?mapId=" rel="moodalbox 750px 400px" title="<spring:message code="EXPORT_DETAILS"/>">
<spring:message code="EXPORT"/>
</a>

View File

View File

@ -42,7 +42,7 @@ public class ExportTest {
final ExportProperties properties = ExportProperties.create(format);
final ExportProperties.ImageProperties imageProperties = (ExportProperties.ImageProperties) properties;
imageProperties.setSize(ExportProperties.ImageProperties.Size.LARGE);
String baseUrl = "file://"+svgFile.getParentFile().getAbsolutePath()+"/../../../main/webapp/images";
String baseUrl = "file://"+svgFile.getParentFile().getAbsolutePath()+"/../../../main/webapp/icons/";
properties.setBaseImagePath(baseUrl);
// Write content ...