From 4202d686f455d1f0ad410692fdc8e2b3aaa19e63 Mon Sep 17 00:00:00 2001 From: Mike Hatfield Date: Sat, 26 May 2007 18:07:43 +0000 Subject: [PATCH] Point check-in of the Office 2003 Add-in. Currently only Word has been developed - Excel is just a bare framework. To test, use installer provided in AlfrescoWord2003Setup\Debug and check the README in the templates folder. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5787 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/office/docActions_get.js | 40 ++++ .../alfresco/office/docActions_get_desc.xml | 7 + .../office/documentDetails_get_desc.xml | 7 + .../office/documentDetails_get_html.ftl | 115 ++++++++++ .../alfresco/office/myAlfresco_get_desc.xml | 7 + .../alfresco/office/myAlfresco_get_html.ftl | 92 ++++++++ .../alfresco/office/navigation_get_desc.xml | 7 + .../alfresco/office/navigation_get_html.ftl | 161 ++++++++++++++ .../org/alfresco/office/search_get_desc.xml | 7 + .../org/alfresco/office/search_get_html.ftl | 150 +++++++++++++ .../office/versionHistory_get_desc.xml | 7 + .../office/versionHistory_get_html.ftl | 88 ++++++++ source/web/css/office.css | 130 +++++++++++ source/web/images/office/add_aspect.gif | Bin 0 -> 625 bytes source/web/images/office/approve.gif | Bin 0 -> 625 bytes source/web/images/office/arrow_down.gif | Bin 0 -> 180 bytes source/web/images/office/arrow_up.gif | Bin 0 -> 186 bytes source/web/images/office/bg.gif | Bin 0 -> 502 bytes source/web/images/office/checkin.gif | Bin 0 -> 332 bytes source/web/images/office/checkout.gif | Bin 0 -> 540 bytes source/web/images/office/delete.gif | Bin 0 -> 577 bytes source/web/images/office/document.gif | Bin 0 -> 633 bytes source/web/images/office/document_details.gif | Bin 0 -> 565 bytes source/web/images/office/edit_properties.gif | Bin 0 -> 625 bytes source/web/images/office/folder_large.gif | Bin 0 -> 1557 bytes source/web/images/office/go_up.gif | Bin 0 -> 569 bytes source/web/images/office/lock.gif | Bin 0 -> 605 bytes source/web/images/office/makepdf.gif | Bin 0 -> 592 bytes source/web/images/office/my_alfresco.gif | Bin 0 -> 1083 bytes source/web/images/office/navigator.gif | Bin 0 -> 574 bytes source/web/images/office/norm_left.gif | Bin 0 -> 391 bytes source/web/images/office/norm_left_on.gif | Bin 0 -> 346 bytes source/web/images/office/norm_right.gif | Bin 0 -> 1347 bytes source/web/images/office/norm_right_on.gif | Bin 0 -> 1512 bytes source/web/images/office/placeholder.gif | Bin 0 -> 625 bytes source/web/images/office/reject.gif | Bin 0 -> 625 bytes source/web/images/office/run_script.gif | Bin 0 -> 625 bytes source/web/images/office/save_to_alfresco.gif | Bin 0 -> 998 bytes source/web/images/office/search.gif | Bin 0 -> 561 bytes source/web/images/office/space.gif | Bin 0 -> 628 bytes source/web/images/office/start_workflow.gif | Bin 0 -> 625 bytes source/web/images/office/task.gif | Bin 0 -> 585 bytes source/web/images/office/update.gif | Bin 0 -> 625 bytes source/web/images/office/version_history.gif | Bin 0 -> 312 bytes source/web/images/office/view_bg.gif | Bin 0 -> 13572 bytes source/web/images/office/workflow.gif | Bin 0 -> 344 bytes source/web/scripts/office/doc_details.js | 110 ++++++++++ source/web/scripts/office/my_alfresco.js | 182 ++++++++++++++++ source/web/scripts/office/navigation.js | 187 ++++++++++++++++ source/web/scripts/office/search.js | 203 ++++++++++++++++++ source/web/scripts/office/version.js | 173 +++++++++++++++ 51 files changed, 1673 insertions(+) create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/docActions_get.js create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/docActions_get_desc.xml create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_desc.xml create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_html.ftl create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_desc.xml create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_html.ftl create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_desc.xml create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_html.ftl create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/search_get_desc.xml create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/search_get_html.ftl create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_desc.xml create mode 100644 config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_html.ftl create mode 100644 source/web/css/office.css create mode 100644 source/web/images/office/add_aspect.gif create mode 100644 source/web/images/office/approve.gif create mode 100644 source/web/images/office/arrow_down.gif create mode 100644 source/web/images/office/arrow_up.gif create mode 100644 source/web/images/office/bg.gif create mode 100644 source/web/images/office/checkin.gif create mode 100644 source/web/images/office/checkout.gif create mode 100644 source/web/images/office/delete.gif create mode 100644 source/web/images/office/document.gif create mode 100644 source/web/images/office/document_details.gif create mode 100644 source/web/images/office/edit_properties.gif create mode 100644 source/web/images/office/folder_large.gif create mode 100644 source/web/images/office/go_up.gif create mode 100644 source/web/images/office/lock.gif create mode 100644 source/web/images/office/makepdf.gif create mode 100644 source/web/images/office/my_alfresco.gif create mode 100644 source/web/images/office/navigator.gif create mode 100644 source/web/images/office/norm_left.gif create mode 100644 source/web/images/office/norm_left_on.gif create mode 100644 source/web/images/office/norm_right.gif create mode 100644 source/web/images/office/norm_right_on.gif create mode 100644 source/web/images/office/placeholder.gif create mode 100644 source/web/images/office/reject.gif create mode 100644 source/web/images/office/run_script.gif create mode 100644 source/web/images/office/save_to_alfresco.gif create mode 100644 source/web/images/office/search.gif create mode 100644 source/web/images/office/space.gif create mode 100644 source/web/images/office/start_workflow.gif create mode 100644 source/web/images/office/task.gif create mode 100644 source/web/images/office/update.gif create mode 100644 source/web/images/office/version_history.gif create mode 100644 source/web/images/office/view_bg.gif create mode 100644 source/web/images/office/workflow.gif create mode 100644 source/web/scripts/office/doc_details.js create mode 100644 source/web/scripts/office/my_alfresco.js create mode 100644 source/web/scripts/office/navigation.js create mode 100644 source/web/scripts/office/search.js create mode 100644 source/web/scripts/office/version.js diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/docActions_get.js b/config/alfresco/templates/webscripts/org/alfresco/office/docActions_get.js new file mode 100644 index 0000000000..5eabe57c59 --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/docActions_get.js @@ -0,0 +1,40 @@ +// Generate a PDF transform of the current object + +if (document.isDocument) +{ + var runAction = args['action']; + var result = "Action failed."; + + if (runAction == "makepdf") + { + var trans = document.transformDocument("application/pdf"); + result = "Action completed."; + } + else if (runAction == "delete") + { + var rc = document.remove(); + result = "Action completed."; + } + else if (runAction == "checkout") + { + var wc = null; + wc = document.checkout(); + result = "Action completed."; + } + else if (runAction == "checkin") + { + var wc = document.checkin(); + result = "Action completed."; + } + else if (runAction == "makeversion") + { + var wc = document.addAspect("cm:versionable"); + result = "Action completed."; + } + else + { + result = "Unknown action."; + } + + result; +} \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/docActions_get_desc.xml b/config/alfresco/templates/webscripts/org/alfresco/office/docActions_get_desc.xml new file mode 100644 index 0000000000..124b43ee1f --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/docActions_get_desc.xml @@ -0,0 +1,7 @@ + + Document Actions (Office Add-In) + Used by the Office Add-In to perform actions on managed documents + + user + required + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_desc.xml b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_desc.xml new file mode 100644 index 0000000000..52d7d109cc --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_desc.xml @@ -0,0 +1,7 @@ + + Document Details (Office Add-In) + Generate the Office Add-In Document Details page + + user + required + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_html.ftl new file mode 100644 index 0000000000..b264df59c3 --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails_get_html.ftl @@ -0,0 +1,115 @@ +<#assign doc_actions="${url.context}/scripts/office/docActions.js"> +<#if args.p?exists><#assign path=args.p><#else><#assign path=""> +<#-- resolve the path (from Company Home) into a node --> +<#if path?starts_with("/Company Home")> + <#if companyhome.childByNamePath[args.p[14..]]?exists> + <#assign d=companyhome.childByNamePath[args.p[14..]]> + <#else> + <#assign d=companyhome> + +<#else> + <#assign d=companyhome> + + + + + + + + + Document Details + + + + + +
+ +
+ +
Details
+ +
+ + + + + + + + +
+<#if d.isDocument> + ${d.name} + + ${d.name} + <#if d.isLocked > + Locked + +
+ + <#if d.properties.title?exists> + + <#else> + + + <#if d.properties.description?exists> + + <#else> + + + + + + + + + + +
Title:${d.properties.title}
Title:
Description:${d.properties.description}
Description:
Creator:${d.properties.creator}
Created:${d.properties.created?datetime}
Modifier:${d.properties.modifier}
Modified:${d.properties.modified?datetime}
Size:${d.size / 1024} Kb
Categories: + <#if d.hasAspect("cm:generalclassifiable")> + <#list d.properties.categories as category> + ${companyhome.nodeByReference[category].name}; + + <#else> + None. + +
+<#else> + The current document is not managed by Alfresco. + +
+
+ +
+Document Actions
+<#if d.isDocument> + + +<#else> + No actions available. + +
+ +
  +
+ + + + + diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_desc.xml b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_desc.xml new file mode 100644 index 0000000000..77b9c76578 --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_desc.xml @@ -0,0 +1,7 @@ + + My Alfresco (Office Add-In) + Generate the Office Add-In My Alfresco page + + user + required + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_html.ftl new file mode 100644 index 0000000000..e1490eb018 --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco_get_html.ftl @@ -0,0 +1,92 @@ + + + + My Alfresco + + + + + +
+ +
+ +
My checked out documents
+ +
+ + +<#assign query="@cm\\:workingCopyOwner:${person.properties.userName}"> + <#list companyhome.childrenByLuceneSearch[query] as child> + <#if child.isDocument> + + + + + + + + + + +
+ Open ${child.name} + + ${child.name}
+<#if child.properties.description?exists> + ${child.properties.description}
+ + Modified: ${child.properties.modified?datetime}, Size: ${child.size / 1024} Kb
+ Check In +Make PDF... +
+
+
My Communities +
+ +
+ + +<#list companyhome.childrenByXPath["*[@cm:name='Communities']/*"] as child> + + + + + + + +
+ Open ${child.name} + + ${child.name}
+<#if child.properties.description?exists> + ${child.properties.description} + +
+
+ +
+Other Actions
+
+ +
+
+ +
  +
+ + + + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_desc.xml b/config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_desc.xml new file mode 100644 index 0000000000..cf02239da3 --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_desc.xml @@ -0,0 +1,7 @@ + + Navigation (Office Add-In) + Generate the Office Add-In Navigation page + + user + required + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_html.ftl new file mode 100644 index 0000000000..10bc53e85f --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/navigation_get_html.ftl @@ -0,0 +1,161 @@ + +<#list template.parent.children as child> + <#if child.name = "my_alfresco.ftl"><#assign office_home = child.id> + <#elseif child.name = "navigation.ftl"><#assign office_browse = child.id> + <#elseif child.name = "search.ftl"><#assign office_search = child.id> + <#elseif child.name = "document_details.ftl"><#assign office_details = child.id> + <#elseif child.name = "version_history.ftl"><#assign office_history = child.id> + <#elseif child.name = "doc_actions.js"><#assign doc_actions = child.id> + <#elseif child.name = "navigation.js"><#assign nav_script = child> + + +<#if document.isDocument> + <#assign thisSpace = document.parent> +<#else> + <#assign thisSpace = document> + + + +Basic Navigation + + + + + + + + +
+ +
+ + +
+ + + + + + + + + +
+ In: + + ${thisSpace.name} +
+<#if thisSpace.properties.description?exists> + ${thisSpace.properties.description} + + +      +<#if thisSpace = companyhome> +<#else> +go up to parent spaceUp + +
+
+ +
Spaces in ${thisSpace.name}
+ +
+ + +<#list thisSpace.children as child> + <#if child.isContainer> + + + + + + + + + +
+ Open ${child.name} + + ${child.name}
+<#if child.properties.description?exists> + ${child.properties.description} + +
+
+ +
Documents in ${thisSpace.name} +
+ +
+ + +<#list thisSpace.children as child> + <#if child.isDocument> + +<#assign webdavPath = (child.displayPath?substring(13) + '/' + child.name)?url('ISO-8859-1')?replace('%2F', '/')?replace('\'', '\\\'') /> + + + + + + + + +
+<#if child.name?ends_with(".doc")> + Open ${child.name} +<#else> + Open ${child.name} + + +<#if child.name?ends_with(".doc")> + ${child.name}
+<#else> + ${child.name}
+ +<#if child.properties.description?exists> + ${child.properties.description}
+ + Modified: ${child.properties.modified?datetime}, Size: ${child.size / 1024} Kb
+<#if child.isLocked > + Locked +<#elseif hasAspect(child, "cm:workingcopy") == 1> + Check In +<#else> + Check Out + +Make PDF... +<#if !child.isLocked > +Delete... + +
+
+ +
+Document Actions
+ +
+ +
  +
+ + + + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/search_get_desc.xml b/config/alfresco/templates/webscripts/org/alfresco/office/search_get_desc.xml new file mode 100644 index 0000000000..64ce3cb8cb --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/search_get_desc.xml @@ -0,0 +1,7 @@ + + Search (Office Add-In) + Generate the Office Add-In Search page + + user + required + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/search_get_html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/search_get_html.ftl new file mode 100644 index 0000000000..d79c5b3d08 --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/search_get_html.ftl @@ -0,0 +1,150 @@ +<#list template.parent.children as child> + <#if child.name = "my_alfresco.ftl"><#assign office_home = child.id> + <#elseif child.name = "navigation.ftl"><#assign office_browse = child.id> + <#elseif child.name = "search.ftl"><#assign office_search = child.id> + <#elseif child.name = "document_details.ftl"><#assign office_details = child.id> + <#elseif child.name = "version_history.ftl"><#assign office_history = child.id> + <#elseif child.name = "doc_actions.js"><#assign doc_actions = child.id> + <#elseif child.name = "search.js"><#assign srch_script = child> + + + +<#if args.search?exists> + <#assign searchString = args.search> + <#if searchString != ""> + <#assign queryString = "TEXT:\"${searchString}\" @cm\\:title:${searchString}"> + +<#else> + <#assign searchString = ""> + <#assign queryString = ""> + + +<#if searchString != ""> + <#if args.maxresults?exists> + <#assign maxresults=args.maxresults?number> + <#else> + <#assign maxresults=10> + + + <#assign rescount=1> + + + + + + <#assign results = companyhome.childrenByLuceneSearch[queryString] > + <#if results?size = 0> + + <#else> + <#list results as child> + + <#if child.isDocument> + <#if child.name?ends_with(".pdf")> + <#assign openURL = "/alfresco${child.url}"> + <#assign hrefExtra = " target=\"_blank\""> + <#else> + <#assign webdavPath = (child.displayPath?substring(13) + '/' + child.name)?url('ISO-8859-1')?replace('%2F', '/')?replace('\'', '\\\'') /> + <#assign openURL = "#"> + <#assign hrefExtra = " onClick=\"window.external.openDocument('${webdavPath}')\""> + + <#else> + <#assign openURL = "/alfresco/template/workspace/SpacesStore/${child.id}/workspace/SpacesStore/${office_browse}?search=${searchString}&maxresults=${maxresults}"> + <#assign hrefExtra = ""> + + + + + + + <#if rescount = maxresults> + <#break> + + <#assign rescount=rescount + 1> + + + +
No results found.
+ Open ${child.name} + + ${child.name}
+ <#if child.properties.description?exists> + ${child.properties.description}
+ + <#if child.isDocument> + Modified: ${child.properties.modified?datetime}, Size: ${child.size / 1024} Kb
+ +
+ + + + + + +<#if !args.search?exists> + + + + +Search + + + + + + + <#if args.searchagain?exists> + <#assign onLoad = "onLoad = \"doSearch('${args.searchagain}', '${args.maxresults}');\""> + <#else> + <#assign onLoad = ""> + + + + + +
+ +
+ + + +
Items Found
+ +
+ + + +
+
+ +
  +
+ + + + + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_desc.xml b/config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_desc.xml new file mode 100644 index 0000000000..469b35e9da --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_desc.xml @@ -0,0 +1,7 @@ + + Version History (Office Add-In) + Generate the Office Add-In Version History page + + user + required + \ No newline at end of file diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_html.ftl new file mode 100644 index 0000000000..084c8eab1c --- /dev/null +++ b/config/alfresco/templates/webscripts/org/alfresco/office/versionHistory_get_html.ftl @@ -0,0 +1,88 @@ +<#list template.parent.children as child> + <#if child.name = "my_alfresco.ftl"><#assign office_home = child.id> + <#elseif child.name = "navigation.ftl"><#assign office_browse = child.id> + <#elseif child.name = "search.ftl"><#assign office_search = child.id> + <#elseif child.name = "document_details.ftl"><#assign office_details = child.id> + <#elseif child.name = "version_history.ftl"><#assign office_history = child.id> + <#elseif child.name = "doc_actions.js"><#assign doc_actions = child.id> + <#elseif child.name = "version.js"><#assign ver_script = child> + + + + + +Version History + + + + + + + + + + +
+ +
+ +
Version History for ${document.name}
+ +
+ + +<#if document.isDocument > + <#if hasAspect(document, "cm:versionable") == 1 > + + <#list document.versionHistory?sort_by("versionLabel")?reverse as record> + + + + + + <#else> + + + + + +<#else> + + + + + +
+ Open ${record.versionLabel} + + ${record.versionLabel}
+ Author: ${record.creator}
+ Date: ${record.createdDate?datetime}
+<#if record.description?exists> + Notes: ${record.description}
+ + +
+The current document is not versioned.
+Make Versionable +
+The current document is not managed by Alfresco. +
+
+ +
  +
+ + + + \ No newline at end of file diff --git a/source/web/css/office.css b/source/web/css/office.css new file mode 100644 index 0000000000..c9a8a04d55 --- /dev/null +++ b/source/web/css/office.css @@ -0,0 +1,130 @@ +html, body { + height: 100%; + overflow:hidden; + font-family: tahoma, sans-serif; + font-size: 11px; + color: #0073e6; + background: url("../images/taskpane/view_bg.gif") top; +} + +body {margin:0px;padding:0px;} + +#tabBar { + float:left; + width:100%; + background:#d4eaff url("../images/taskpane/bg.gif") repeat-x bottom; + font-size:93%; + line-height:normal; + } +#tabBar ul { + margin:0; + padding:10px 10px 0; + list-style:none; + } + #tabBar li { + float:left; + background:url("../images/taskpane/norm_left.gif") no-repeat left top; + margin:0; + padding:0 0 0 9px; + } + #tabBar a { + display:block; + background:url("../images/taskpane/norm_right.gif") no-repeat right top; + padding:5px 15px 4px 6px; + text-decoration:none; + font-weight:bold; + color:#765; + } + #tabBar a:hover { + color:#333; + } + #tabBar #current { + background-image:url("../images/taskpane/norm_left_on.gif"); + } + #tabBar #current a { + background-image:url("../images/taskpane/norm_right_on.gif"); + color:#333; + padding-bottom:5px; + } + +#spaceListHeader {width:100%; + height:auto; + padding:6px;} + +#mycheckedoutdocsListHeader {width:100%; + height:auto; + padding:6px;} + +#mytodoListHeader {width:100%; + height:auto; + padding:6px;} + +#contentListHeader {width:100%; + height:auto;padding:6px;} + +#searchResultsListHeader {width:100%; + height:auto;padding:6px;} + +#detailsListHeader {width:100%; + height:auto;padding:6px;} + +#versionListHeader {width:100%; + height:auto;padding:6px;} + +#advWorkflowListHeader {width:100%; + height:auto;padding:6px;} + +#myTasksListHeader {width:100%; + height:auto;padding:6px;} + +#simpleWorkflowHeader {width:100%; + height:auto;padding:6px;} + +#currentSpaceInfo {width:100%; + padding: 6px} + +#simpleWorkflowInfo {width:100%; + padding: 6px} + +#spaceList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#mycheckedoutdocsList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#mytodoList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#contentList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#searchResultsList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#detailsList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#versionList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#advWorkflowList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} +#myTasksList {width:97%;overflow:auto; border: 1px solid #cccccc;margin-left:6px;background:#fff;} + +TABLE {border:0px; +padding:2px;} + +A {color:#0073e6; } + +#bottomMargin {height:6px;} + +#documentActions ul { + margin:0; + padding:10px 10px 0; + list-style:none; + } + +#documentActions {width:97%;margin-left:6px;padding-top:6px;padding-bottom:6px;} + +#search {padding: 24px 0px 0px 10px;} + +input.button{ + color:#0073e6; + font-size:11px; + font-weight:bold; + background-color:#cce6ff; + border:1px solid; + border-top-color:#0073e6; + border-left-color:#0073e6; + border-right-color:#0073e6; + border-bottom-color:#0073e6; + filter:progid:DXImageTransform.Microsoft.Gradient + (GradientType=0,StartColorStr='#ffffffff',EndColorStr='#6fb7ff'); + cursor:pointer; + margin-left:6px; + } diff --git a/source/web/images/office/add_aspect.gif b/source/web/images/office/add_aspect.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/approve.gif b/source/web/images/office/approve.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/arrow_down.gif b/source/web/images/office/arrow_down.gif new file mode 100644 index 0000000000000000000000000000000000000000..dbe0e802dd820db38157f927964f8495b265656c GIT binary patch literal 180 zcmZ?wbhEHb6feXj<~M&q8g87)&bY~X62)D&vStHHp;W#nwA LwqlJL3xhQPl?gfL literal 0 HcmV?d00001 diff --git a/source/web/images/office/arrow_up.gif b/source/web/images/office/arrow_up.gif new file mode 100644 index 0000000000000000000000000000000000000000..14478fd0f10fe4628cf012fae031837f7d9ccb72 GIT binary patch literal 186 zcmZ?wbhEHb7QPIrI%qLHtoIiiw&(F`*)m24B<>$|z%*@Q|)~$Q~{Q0zL)BgYe4>ArFDE?$& zWMGhF&;bd9>||gyPf+Vi$((gWGpKu(VnZn(ufft(hBpzFoYoGB4nZvCje?I0SUBXA XoQt2Ia9Fn6%c<$EYs`Z{4hCxgu%bY; literal 0 HcmV?d00001 diff --git a/source/web/images/office/bg.gif b/source/web/images/office/bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..c2e8725b5642bde0f277f2e2ed162db9045fa64d GIT binary patch literal 502 zcmb7=+e=dc0LD)c=B=`ndJ&pgw!-i&HY!jArw>KoL(m0`AnYZgOnQj$wgyh29HfFZ zP#2cfwpw|cv>Mfx&ZBP2+tQ76XP)is+O~7tcD`KyLEppg?StRBXWC%M2WTtOno=Vm%DcAJ9?w;|OzzCBP=Jl|qsSzwH71Gx`q{ zaXWVqL>W<0Wg5IQW)mrA>l-THTv9KzG)^&%VyEW*nNvNar(xW9 zYho?X`ry2J;Vi3v_({T|sk!-3oAi-PCTN#;barMve$u5-6g}Fqt-_w2b+ncY7y zs8SUVy?ix1eB`ZKqt)iHgn(OudxR@+48 ZE6ZCm?p5f9<_09Ygjav)ZdwJz>A%SMB^Lky literal 0 HcmV?d00001 diff --git a/source/web/images/office/checkin.gif b/source/web/images/office/checkin.gif new file mode 100644 index 0000000000000000000000000000000000000000..e3a4ef7888c7370224fc40d03d85fd903a20ec94 GIT binary patch literal 332 zcmZ?wbhEHb6krfwxXJ(m|NsAg^Yx?u@|u`+ZJApqG#^|%;l$dx=eDi7df@1zD-H|t zofZ}q?3i4(d*+Tir!Kv?d;k6OAAf%7&4}$ezU zZWiu0QJUsxIM>&HNtDNmB)`?^IXfGw5A;qyw`}X3{XiFjU5bTJ{K>+|z+ldx1Cj&z ziGeNi!0ZAK9jX2kON?GlIvKK2WR})tOGxYI3GzG=%0>p#Vg}}_s>bRf^?a->%sj#>PP#hgW@?hW6PUTh+nr`On;Iy{ P%NZ>3Ub}9+BZD;n`2K^r literal 0 HcmV?d00001 diff --git a/source/web/images/office/checkout.gif b/source/web/images/office/checkout.gif new file mode 100644 index 0000000000000000000000000000000000000000..788683033a6ecb333b31d943bf1cda7deb786dfb GIT binary patch literal 540 zcmZ?wbhEHb6krfwc*Xz%|NsC0_4m)$Uq7zDeiX5$IevXd>gL{@ZIjv$FY7wGqW9S9 zDW^8fKD%|%#a%0|?B8_r*v>nrk3GKXxS-H|NtxgB>d;jU(d%0CcT6eUJ+pS-yp}_Y z*IYYz;K7C0UqAf#^K0tqbr)aUx%d9r(@(FX*Vlde`E}FHLk~YZPu@~5J<(BSl9TLY zXT90MUB~CiO?Fn8;-Wa!O?jHT=1gz>IRP$9ll)g_i%u{%nCova$KP~bh~>gC+r^Q# zi=(O!^miVg)qiTiva6eg`%Mhy`WnvlwOkl#za+|Ub$Y~xf}EWV)dzZ~pIf%|&i;ds zPJQ_C>EFM9K%atrJctOzpDc_F4E_u{AUA>Hgn_-X!M~}wrM0cSqqD2K$-&iaf~!}H zL$j-$uOAb$x~;Xhzk_3wlaIWroU#&&qMD6|g}J}0y?eilu8^#tfQ*KMrKgo^i-##c zA1@C#r?KmiRu2;{X(>qwqfTcP4t6$H!wwG}aWPR5VeNJgM?(XBJuOYMp0D3J8yTzt DI`6cY literal 0 HcmV?d00001 diff --git a/source/web/images/office/delete.gif b/source/web/images/office/delete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Dgx*V;;scg15NRxW-X;;KYxDv{{73> zFYiCRfAjXu^B2#bK7I1|@uPFk*^hYlV*uz&x)y?b}>+O=W*`qiseEnl{5>5?Uj7A{;c zfBw9=bLY&S{pr)ESFc_@c<|uz<;!QzoY}N#)B5%6J3Bjp-T`}SXb_4&Sr{1@+!%B~ z&IQE@1N)=~H#c1e5j{~uaU(OAram_f_DPf39kosR-84Do%;hi;Hg)dT;#{_zlf~S^ zwO^ZS!^TZ2{W{#+ckHz7*R^9~+qZweolU@;`s^@=2eu!2Wla1ep3w1;2g&q14YT^!ML?MY+ra4UNuiLTXkOKNyml J7dS9j0|3j+-5US^ literal 0 HcmV?d00001 diff --git a/source/web/images/office/edit_properties.gif b/source/web/images/office/edit_properties.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/folder_large.gif b/source/web/images/office/folder_large.gif new file mode 100644 index 0000000000000000000000000000000000000000..e22c27a06d1fe38cb968465e957312db6710d976 GIT binary patch literal 1557 zcmV+w2I~1oNk%w1VITk?0QUd@00030|Nqd=(spuwacz7vFGMskNb&Ibs;J8B>-{)4 zQ;?6{NJnSAyz9uv>Xw%AP*88v)BoY&{p95Ri*^B`RVEUx3)Wqn^@cCoY7(bM~_ zug=oc`N_-g&d~J1!{ofa-nO{cyS?1Fy4jeSsovl9?Ct)PncyV^u!D@(sImW^rtCjLUZtwq zxxewn%lw<4#;~>EeSn{#rN+_K|IX6-xxL`Hyx+9A*~-rHxxL=e)%wcL@yN{Y#>(u) z$?L?(>c7L}#>(r`*7(iQ^0c?rvbEB~#^t}l;l9D(y};hb%IVkI_{+}gs;BGn8y1v}Y&+oat+RDx3kdmS9@c&a-b(^EryT$y6j<%?<-@3x`c6*w=#q_|) z_OrU?!^`=-#qr3{{maw;qp8i!)c?rO`HhmW&ei|M&Gy2{@uR8A#LM!)#_g@M)u^t| z(AWRX)cm}{=fB12y1?VIxZ1C^*3Z`b&(-|N&-JIQ%g4>}!pQ5?+W*kj`n|*C)7kyh z+WpMZ^u5C3(AM|I%FoXH>H3$T%Co%ezsU5(&iTQ~^UKu!%F_MG()_;0 z?#a>mx4-16u+y2Jzs}bGtFqL~)BCl&-@?i6(AfU7y4%p${mIbuy~O6z+W*qo{?OO_ z&ei$0yxW(c#KX<{$;hCh&xy0(a z!{)cZ;s5{tA^8LW00930EC2ui03ZM$000R80RIUbNRVIx69)<^T*&ZWh6yEDP!O2F zLc@y!JLP-!tXLlr4jSZmkO1RCXp~yvQitnXD^)r?e0UJSB*AFxK!HLPWsjd$u&ij4 z_6bj(3^w5es#6C~DO2zI0D{$OTdXP4PJw!c@y4Gybf%4Z`cBoVRxVxr(B*C)9#EYa zPMGq^&NM!$sG+K+3f?uKty~3?#VV92CRP|qSR#(kpH!ye@x|7vGF4ZyXo-6jY7P?| z4Cjb?Y)$gEY=0|%%N0zPta0A%d}@M%p^GNtsKtx5?b_dOz*o1fRSTTAZgw7ASXcq~ zZdc*1eWOPY7dheMcInd9Pn^6Q4H(k@;TOx*wp_rblOt#D*S%rHcJ=GWZC<@63rZ^N zGA-D)aKGTPQabDb^BysU^y7~_z1Y&t2M8=Q0UhUDkqbHL6r*7}>bM6VI=o;p$UNZK zq6Y&UD3n1Rfm{KMIT>o02r}y&2qG5c_|i=`w?Ht!LRXZ+&N}MISWF^{7}LlX#2kY~ z7QOg_$SmNTV1NJ$Nq`44zo?U8A~Pz|g)(1U;$%Aw-eS)ovoJt_LKW13k0Od7<47`& zEW!vR%2aa67+9cbi<*SYLWKb-7W9KPk95HZBV{lHNh4->K}ICYZ~;URLI_iZH=w$y zkQ<{Y(?}!uGy;PeM0in&7-J0bF^Lu{AaV#H-U#9i6$&IePzg|YVa66-4D&)I&43|B z3~WrYsSvhSLC7m1q|iYM8x+JxEtz~#2^nEna>*q|s6j&wXQ099A%gh8g8>RSp@Odh zk#GvQVO$c45kr zgB&~G>p*!K={H2CN%)D#v4cwvI7Gua1uwh zHVL%JEoaOyLK`cbutN%*Xn=Im17QHdBqK<1M-Mi{K`+(>fe^|aVP8%5LK-Ns_Sb)veU5U!~Ky+Ms!jW!EN$ zp3Oc}cLq$`S-|wFTMD5`S}OM_RZ=O zck4~tZ$4$WsrI!Yi);bPdoi!%dMB2u0K0; z|Ml_5?@m5>fBNZ%tFJy^dHL!3>(4jee0luw`}5B~o_zTF_17Q$83!E~9&=uFJb2Za z(A8&>HeD#&eXZrtt&StNr<}S!l1u3AG$F1v8I3KhZCoO=I4c%3IJI)I&0u9>um%7gpYEjq literal 0 HcmV?d00001 diff --git a/source/web/images/office/lock.gif b/source/web/images/office/lock.gif new file mode 100644 index 0000000000000000000000000000000000000000..cab285453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r&Qd;d!I{gvwbSAFcSLF z`=_(~kKNio_UryQZusZ8;cxz-KQ$-+^`8IJfAR0mNB?X${dL~t*b3t*I2f#v1nOk)wb5EeXV8dYU}oO)*b7t+Sb@~thec0 zZ{5Duwritp=LXxZ4K^L??7BAEbpyHU?YcHN^=|f@v@KxT&WPE266WtuTYRWs<+0K= zCmOe$ZQgRWclV{f-IpfqyE5&-)%iznt~q;e!-WSDrHeG{SI#_iZQ=2opTB&0^Y-oQ zH*a3PdiCPv%jYj%JbV6Jb7hgznq2XPG3x6wpTB(Z@zci-A3wbR@c!+)w{PCQdG-3$ z%U3U7yacLz_Vn4)Cr_U|e)9Oy<3|r4J-q+m{=NJ6)E9{xtQ5E3BJQ$L%zKMi#7@ch zgW{39#8QumfBpL9^XE_R-@kkJ?(K^g&!0Sb{P^*sKM%xyTo?ayLF~sFvA-w9zdTv? z>zLTzW8!}GzEpKPHI3dHwqD-@o6!eftVD;tSA_&!0Yh`taeydx%+Y-@bVR zRPy=-(9q}4pFVy1@ZrM;4;}!M2RNAwPeSo03nK%=HU=G#_dt1qf#W~J=`$}r9%k>C zwa7Wq@UZDd@^ODv2bTpitXi{J*!fhWJ~n<;n>HuX zW!4N2N5`pc0@6kkxW2lFDL6XMSa4tgL(@EAQ7#?{Q?3g--X2pLW@IN^;^gG`^Fh?~ z#iR);D?h|oIGk*1VJUY@Whz~H;V~;)gltCfPyXdTv#bOcsXjT;%*OuBCxPMlWi|g9 z9Gxpdk8pHw@bP_V6lR~G;N4Ccx1vW2ho;aIx0wwL)&R{$-!1?E literal 0 HcmV?d00001 diff --git a/source/web/images/office/navigator.gif b/source/web/images/office/navigator.gif new file mode 100644 index 0000000000000000000000000000000000000000..2138578cfe5087b844f5ecf803b7b4e650627791 GIT binary patch literal 574 zcmZ?wbhEHb6krfwc*Xz%|NsC0`t|FlPoF-1{P^b0o0l(NzIgHC`Sa(`o;`c=DSc5K_WZOfJ|n>TOXv}x1&_3PKITeo`k>Q$>&tz5Zs>C&Z3mMmGg zaN+#<^XJT&Gkf;zS+izMn>KCo9#T;K++{~vz% z|M=to=b!(-{PO?pxBuUN|Ns5>ztf`sZcF}qE&Cs``hV2A{|Ouaw;cZ8bNv6(%m3G2 z|9|As|1;12Uw-xf*4zJ2KK+03<^QLjKui9EZKE=w_>+Z^fkBx;2V^eDPYi5J4oobt znB>vn>ZxF0;x+0RGLoss3`LvViXXCtWK3K$DT6z1mP+#5p z=^FnU>V-I4T3du9JG(kNy1RP&Bq#Ju?w;B|v1jI_+0$puoHu8|+$D>bO5A1; z)=pbLWBIzx8@6s*vwi-~JzMr}+rMMq;R8nw9X)aU)b3+vPM$lx=-`Dbm(E^0f8*k+ YUAL~@xqR=@gX=5Zp1*kc+>yZ=0JF2dDF6Tf literal 0 HcmV?d00001 diff --git a/source/web/images/office/norm_left_on.gif b/source/web/images/office/norm_left_on.gif new file mode 100644 index 0000000000000000000000000000000000000000..a14056cfbfaad731aa98a32f66cbcf9815f33181 GIT binary patch literal 346 zcmV-g0j2&&Nk%w1VF>_a0K@U zYJ9JinV>MEKp2lkg=NWHDh|*nR6(g)tBQ$st5rn4;I9HgE|V3Dv^uR|xZiF?V@{td z2KYQ)LFoJY3J!vUf(iwPh=&RfjE#&65|NUT3I>*!mI@V{oSO<4prN1&7^SAA3O+sx z39YWJ3LUbuvaz(YwznO*x4g8zxVp8%yTri5!pFtQ#?8#ny2{ed(bT=xzu3Xh*WB6O s+tuL6;^p1u-{|4z?CI_6?(y*Ru^`ThI$|L_IWrz`{jJ7E{k_y7O^ literal 0 HcmV?d00001 diff --git a/source/web/images/office/norm_right.gif b/source/web/images/office/norm_right.gif new file mode 100644 index 0000000000000000000000000000000000000000..2ce2f96429c1d85e86d003ec6472cf83aa7ed41e GIT binary patch literal 1347 zcmc(c=}!{|9EQtuYJg2LjoG27(Fg^Dx*5mV5{*toifF(XgNSZUD941!JhHis0a9o= z3gr}ND}~a#g_f4PmI5tpX@Lp_w6yd-D48u|V~5#AurGmU8CKR|eFIK6KzJiW zQsFWa;y7@#1s;jvuV;|;Ze0qGrGV*&`~koXLZJ+bWKb-J(jg!yph5{X!%(Y+dJQ}s z1qF1yrb=;d$>>iYmHN{738P}CU_B8<# z8szmT5l7$kaLJ`tins=G)+QhSsCM40G=E2MLVW0l17~x0UO~@3{xp#`o3}fzI{Sltd4Z<(Xum% z`1@O=gPe=~4E;3!5CcuXgt#0OylE2MSbinNSwKi&IH~wVg|nIL?MkLKRtDK=R4Ri} zL*uwy%&S6gH%ss(GL_wK^R}=%mt9PvcuQ~^zWd|Uxt9IAaC5DaAmtptBh1Gm;6GiMFsodH(Gt7mWwR!iE>W#O- z8I@k!(-!Nt2FxW%yuVg8N&QHlzv^F&NjpY<;(LR2jQ7QZ?%RX@7!_51@Id_Qp~41M zYuP^Tqr1uwf^Vj3za}bEcEZ5=MIClcm8sbQzQ_AdZ`Wsxh6fb>I=1D=u;5wrNl*Io z7&q$P_;Nx~TX$T#=Z-Fc>2rV5R(xT(J(0BW^K?qO^8O25??)?wyPAzO{rw}j2Q#wy m;T7JWpl2D+Y>j@%&D-nGHiZSKL)pbA6WEqx&3@Yu-~J1V%=g*= literal 0 HcmV?d00001 diff --git a/source/web/images/office/norm_right_on.gif b/source/web/images/office/norm_right_on.gif new file mode 100644 index 0000000000000000000000000000000000000000..c6c750069ec4e72f72f8fe310b7a1787cf1cb7fb GIT binary patch literal 1512 zcmV000I5pdyZBX`X1Ru59bRa4gSsZQppV z@2}_oo`7&jEE41ejE#0PICJXU$+M@= zpFo2O9ZIyQ(W6L(E}+1)sne%Wqe`7hwW`&tShH%~%C)Q4uVBN99ZR(BTJr4xw7TUm@{kM z%(=7Y&zToM7)`pg>C>oFt6t5zwd>cgW6PdRySDAyxO3~?&D-{Z-@t5f($n3;DZoGxZnZNG7S| zl0`1yz>`o$Ddm(@R%zvxSZ1l^mRxq}<(FWFDdw1DmTBghXo|T&0c^JE=9_TFDd(JY z)@kRRc;>0+o_zM{=bwNED(Iku7W(G`4`m}aW!rkr-_ z>8GHEDk`T7NMP!zsHUpws;su^>Z`EED(kGY)@tjmxaO+suDtf@>#w;kV8F1%7HjOW z$R?}ovdlK??6c5DEA6z@R%`A5wb*8>?Y7)nyFdlthAZy4+ZYo z#w+i<^ww+dz4+!k?*bR}>+in+2Q2Ww1Q%@Z!3Za;@WKo??C`@7M=bHg6jy99#0y}c z@x~l??D5AShb;2QB$sUR$tb6+^2#i??DESn$1L;AEiX{b%{b?*^Ugf??DNk+`@BE` zL>F!J(MTt)^wLZ>?ex=7M=kZ#R99{F)mUe(_10W>ef0tzge~^iWS4FB*=VP&_S$T> z?e^Pn$1V5Vbk}Y7-FWA%H{D?G?f2h+2QK*Fgcol3;e_{%_~MK=?)c-7M=p8VicfC& z<(Ox#`R0gM&iUt{hc5d6=$Cs=`st{ruKMb1o6h>{u*WX@g zAOji2K@!r5hCHMa6RF4}GP03Fd?X})D9K6gu#%R%Atp09!%cGXg`WK63PUN%6Oyu& OBs?W5LAZbr002ANH-$6+ literal 0 HcmV?d00001 diff --git a/source/web/images/office/placeholder.gif b/source/web/images/office/placeholder.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/reject.gif b/source/web/images/office/reject.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/run_script.gif b/source/web/images/office/run_script.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/save_to_alfresco.gif b/source/web/images/office/save_to_alfresco.gif new file mode 100644 index 0000000000000000000000000000000000000000..76cdafb2445801637cf38e0538383fa5591e1653 GIT binary patch literal 998 zcmeH`?K2Yq9LIkQk=5;@(lwPlTslg-@^Gt8CE)CBM=|a!!q1CnTY)X(DAeG<98NE< zO|IeCFSMzZ9(q})9M=$vLrq?V_?9v*SH*|cCfnuF4(Izh7Wf}|8bEm#cuSn7(Dm)* zpE*$!c(V8^y(ztPNVGf0)iReFQqM^2$VzO>%;+uCFke?mX>^?oMNDO!NH*l4O>Q6W11>|Gp4%0eAq} z09;J(f4$LdyiNcj8UlDA0$1tF~rpA!E$2WR{XM0mHKm1+&nzz$uz0$QCau z7jDn}8El{O(alL`mlO*tN?fl(Y{JzP%}5I_Rbwxp3b5Y|6|u;N^)4oQZR*(c^1uE8 z0jo6wJpeX1Y;0|O0*vLb&7>qXlFKK%7_*!*l12Eb6~%geeHL+*skuV$!tFG5b%sc!B0JKCEo6MQDj@Ynzj9y?38;So DZWTtU literal 0 HcmV?d00001 diff --git a/source/web/images/office/search.gif b/source/web/images/office/search.gif new file mode 100644 index 0000000000000000000000000000000000000000..3caa93a6c237bbf01be29054e3772f602f2a7a10 GIT binary patch literal 561 zcmZ?wbhEHb6krfwc*Xz%|NsA=b>_^xbLZxtJGbbx`K6r58{{8*;?#)=g{@9~OC!ahy z_2kL9=g-eRdv@`~iwn=6m$$T(HZ|3CbzOV)YSqr2x8J_K_2x}WfB(Jr@7M3$`{2We z`|saB{P5xN$B$1wetiD<^R#*MUVizq|HO&L_Vzi87q|8Fy#4m=&DXDW&CTz>e}DJw z+r(+px+hHd^z-M(A3u(sKD}(!s#R;(E?B(y=bt|-SFM_pX|^!WdQra3;zGOSC5|gf zomN-4uB~!kTkWx_-e+@z@1_Rdoo&H8+Jg6WM;z#lx_x5Ht>c?-pV)fq_?DZ;HZPgp z_2|-}eH)kj{Q2|8k00N^fB*LF+nFeZ{~ z&6_uI;>60zN?;g*!;)k|@h1x-14Ax@4oD{`P8itx8gg?JT^t>plAF4^GwrR+4D~d# zy1SB$%$;p@)$CMKrsg`S>06p>%gN~2EHsf*)zVOw7E)DTXdo#oCod(&&#ko3T0mS> zM3|4A#bRNq1Q$0a2OBd_`oi37K~`24Cf=Nwo4IMG3W~-VQNe*v76ym-zn>Zu==-HR az|ZSvmydVf58){+o)a5$dqg-{7_0%5OdSgV literal 0 HcmV?d00001 diff --git a/source/web/images/office/space.gif b/source/web/images/office/space.gif new file mode 100644 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$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/task.gif b/source/web/images/office/task.gif new file mode 100644 index 0000000000000000000000000000000000000000..b84dea40de764953efc2ac4124f4a07ae66e3387 GIT binary patch literal 585 zcmchUNpsQw0EL56v1pa)sP(1@)~VL5Y706pxD={&sW>c0{)Q(EV1d?#1Og$@OlKUb zXJ_E=Uw6o3NA1B3MYePWH+7x#sp z&=tDN&{C0OU5m~r5s9qgcr@H-*6Vz&QscO4xx^JgmmNWUZ~*f8S8{BYDbU$GMKNTG zOzvd1ws-#|)4#V;n<$2aqd^G%vb^G@b0o!NNIIRNQoDOQX>vQ2NfK*O3=ame02=ZK zf`}i5VL!xGOXW(j#IeP4fi2|=#ay0c+MQOb-E6jazS&5oHXSZI8bXi&#Fh@%Y_32v zd5UI8Dw`pxw0Ftv@h*P*9>XJ87!Ni0TCHBG*0_TMvDXs>q1)-S31W3U786C0B*}O@ zj$xS7={)rC&&Pi)Wlt&r04p##pbkC(Wb1Y-=$JL=9d6H&H*Xi@9?$y^N8iodpYwsk zL(-uI?W@;UeJ8Y<8MD?re_D3U{c?Wfq|ux(D(;?r2wt4Jbt+*pnJt#-G1W2a#N#_t zx6LNWuP0B>t1noO>!$A|_BN8^N^o-QoX)smF+Nw1KXPAJJ-cL4S=5)W@SYnl3}+^6 lwA4Es{$bF-64&REo1^lNKW%!Md{ow`E0kaLx=#S`;4e9(2j2hy literal 0 HcmV?d00001 diff --git a/source/web/images/office/update.gif b/source/web/images/office/update.gif new file mode 100644 index 0000000000000000000000000000000000000000..9cf68efa15c93f2da39dd5842cdba8a227ffaebe GIT binary patch literal 625 zcmZ?wbhEHb6krfwc*Xz%|NsC0_wV1|zkmPy`Sbht@1H+^e*gac+qZ9DzkdDv`SYhw zpFV#4_~FBc_wV1oef#$H>({Sdy?Xib<@4vypFMl_^y$+lPo6w}{P@wMM-Lu6xPSlt zy?giW-o1P0&Yj!0Z{NCg>*mdyH*Vaxe*OB@t5>gFxpL{!rHdCYUbt}K{Q2|e&Ye4Z z_UxH6XHK6!ed^Sy6DLj_J$m%Wkt2r>A3k*G(7}TT4;(nKZ{NPXd-v|yvuD??T|0N~ z+_7WF_U+rZZQHhW>(({Sew{G3qwQJX`S+jce>Q$>&tz5Zs#flZn zmMvSlbm@{MOBO9!v|z!4`Sa(`n>TOn+_`h+%$YrVHqh5#-w!aM_>+Z^fgzYd2jmV= zoG`GTYY1*?;x%bA;ce~;7I70|oWP~wEz)f*KVc>_kEn%pvx>~j#azPjRw_-lix+c? z$ZL58tB9_dz{)44sBNv{#J-J@Q&37p&)n0AkDX~I3kScrf~KLBuZsvjHwQZ>kARq* zs-Bs>pO37Bu#ljTh@`x#u8ECHpstRRoQ$-Lys}2jnG1p`p52`r^9fu8=t)M6o-X|9-I?ot;)XqP-Nkptl=$oF(K*5iHRyc^E?!HdIWH* N1}>3^5#eC41^_uY1Nr~} literal 0 HcmV?d00001 diff --git a/source/web/images/office/version_history.gif b/source/web/images/office/version_history.gif new file mode 100644 index 0000000000000000000000000000000000000000..cfae43b50f9d8435e99af4225dab210e25cf06df GIT binary patch literal 312 zcmZ?wbhEHb6krfwxXJ(m|NsC0_4C)yA3xu`e)H?s@9*D#ynXxb*s+5L5ANHyZ|&N( z)22#2y!;%^ aiF^Wr>|M1&EW#6fN@QkCjdpWnum%9xL3F7A literal 0 HcmV?d00001 diff --git a/source/web/images/office/view_bg.gif b/source/web/images/office/view_bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..f26f55e52810d7da8046c2ed2f086fa5abcce731 GIT binary patch literal 13572 zcmd7Yc~nzbp1^U+VwABE8QW0|n`7HbQMARe9fg2k+YTbKIJQSIY>wkmnzAg8<538R zhzN*mB0@+)KtKq4*h0vPh!8?Z5D-EVLfAqGA%qaJCwJ_gt-GddH>$ecAMelKx%b?A z-XEX$J$}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c=%po zYms3e{r|=G!@zce{@GszTd+oA8=L1__~VLgNbKi-65CGz+w&-V?DxPH{ODr44qEa? zZ2yk<*{6!_#;1@|Z^U+O!4`a!*y^x3kWUa>2KFHCqs8{U!It~xm;O7!7JRtae$%`o z=dEJvM{0Q=vHk7C&puXc*A{HSTg7(3mhxd@`wjJICrTV!O6r3)Vnvvw}X8&`i>aw~Fo7H51!4Pi(>eG`8Ir(|)YRc5TJ>2NK)Y zzsUW5V*75e{jbCp`~;2dM~LljJ1_h+i7j|%WBb2i`_YZ<4~y-eCAN0e=6{34_D^67 zeuBn!4aIiN6I<}%jqTq;Y=5-G7JR?4{V=h8ug3Pn#r6jh+y52YwFO)7sg3O$u~omL gv0YoS{TQ%)dt&=@}sMx-l7xtYg*0yDZFH2?qr literal 0 HcmV?d00001 diff --git a/source/web/images/office/workflow.gif b/source/web/images/office/workflow.gif new file mode 100644 index 0000000000000000000000000000000000000000..000df7c04c774c3a446bc85c150652cfc13ef387 GIT binary patch literal 344 zcmZ?wbhEHb6krfwxXJ(m|NsAg{rdIGmoM+$y?f`*o!hr>U%Phg!i5Xx&Ye4Z_UzH4 zM-Lx9ynp}xef#$9*|TT&?%lg~?b@+p$JVV|w`|$6e*OA&>(;GVvu4$*Rm+wwTfBJj zqD6}qE?hW&{`|Rf=gyfkXXebAGiJ<~K7IPssZ*y+nKF6u+|z+lXv15yX_69Zf6fteRB z&#ZMgv?QoPu!QGCs?iot9=?{g6)L7mT#GJvJZvcK?YW?%QaRVYpH*v0Q^=Vh;Vz+# zJ|?=F>Bia;dXhS7DsF*ZhI+<&MlyZ@&00!4;gQj?>hX!msri}Nx%q{~rRA|zHFXV5 R>8 0) + { + var myWindow = window.open("", "_blank", "scrollbars,height=500,width=400"); + myWindow.document.write(xmlHttp.responseText); + document.getElementById("statusArea").innerHTML=""; + } + else + { + document.getElementById("statusArea").innerHTML=xmlHttp.responseText; + window.location.reload(); + } + } +} + +function runAction(Action, Doc, Msg) +{ + if (Msg != "" && !confirm(Msg)) + { + return; + } + document.getElementById("statusArea").innerHTML="Running action..."; + showStatus("/alfresco/command/script/execute/workspace/SpacesStore/${doc_actions}/workspace/SpacesStore/" + Doc + "?action=" + Action); +} + + +function getWindowHeight() { + var windowHeight = 0; + if (typeof(window.innerHeight) == 'number') { + windowHeight = window.innerHeight; + } + else { + if (document.documentElement && document.documentElement.clientHeight) { + windowHeight = document.documentElement.clientHeight; + } + else { + if (document.body && document.body.clientHeight) { + windowHeight = document.body.clientHeight; + } + } + } + return windowHeight; + } + function setContent() { + if (document.getElementById) { + var windowHeight = getWindowHeight(); + if (windowHeight > 0) { + var mycheckedoutdocsListElement = document.getElementById('mycheckedoutdocsList'); + var mytodoListElement = document.getElementById('mytodoList'); + var tabBarElement = document.getElementById('tabBar'); + var mycheckedoutdocsListHeaderElement = document.getElementById('mycheckedoutdocsListHeader'); + var mytodoListHeaderElement = document.getElementById('mytodoListHeader'); + var bottomMarginElement = document.getElementById('bottomMargin'); + var documentActionsElement = document.getElementById('documentActions'); + + var mycheckedoutdocsListHeight = mycheckedoutdocsListElement.offsetHeight; + var mytodoListHeight = mytodoListElement.offsetHeight; + var tabBarHeight = tabBarElement.offsetHeight; + var mycheckedoutdocsListHeaderHeight = mycheckedoutdocsListHeaderElement.offsetHeight; + var mytodoListHeaderHeight = mytodoListHeaderElement.offsetHeight; + var bottomMarginHeight = bottomMarginElement.offsetHeight; + var documentActionsHeight = documentActionsElement.offsetHeight; + + if (windowHeight > 0) { + mycheckedoutdocsListElement.style.height = (windowHeight- (tabBarHeight + mytodoListHeaderHeight + mycheckedoutdocsListHeaderHeight + documentActionsHeight + bottomMarginHeight)) /2 + 'px'; + mytodoListElement.style.height = (windowHeight- (tabBarHeight + mytodoListHeaderHeight + mycheckedoutdocsListHeaderHeight + documentActionsHeight + bottomMarginHeight)) /2 + 'px'; + } + + } + } + } + window.onload = function() { + setContent(); + stripe('mytodoList', '#fff', '#f6f8fa'); + stripe('mycheckedoutdocsList', '#fff', '#f6f8fa'); + } + window.onresize = function() { + setContent(); + } + + + + // this function is need to work around + // a bug in IE related to element attributes + function hasClass(obj) { + var result = false; + if (obj.getAttributeNode("class") != null) { + result = obj.getAttributeNode("class").value; + } + return result; + } + + function stripe(id) { + + // the flag we'll use to keep track of + // whether the current row is odd or even + var even = false; + + // if arguments are provided to specify the colours + // of the even & odd rows, then use the them; + // otherwise use the following defaults: + var evenColor = arguments[1] ? arguments[1] : "#fff"; + var oddColor = arguments[2] ? arguments[2] : "#eee"; + + // obtain a reference to the desired table + // if no such table exists, abort + var table = document.getElementById(id); + if (! table) { return; } + + // by definition, tables can have more than one tbody + // element, so we'll have to get the list of child + // <tbody>s + var tbodies = table.getElementsByTagName("tbody"); + + // and iterate through them... + for (var h = 0; h < tbodies.length; h++) { + + // find all the <tr> elements... + var trs = tbodies[h].getElementsByTagName("tr"); + + // ... and iterate through them + for (var i = 0; i < trs.length; i++) { + + // avoid rows that have a class attribute + // or backgroundColor style + if (!hasClass(trs[i]) && ! trs[i].style.backgroundColor) { + + // get all the cells in this row... + var tds = trs[i].getElementsByTagName("td"); + + // and iterate through them... + for (var j = 0; j < tds.length; j++) { + + var mytd = tds[j]; + + // avoid cells that have a class attribute + // or backgroundColor style + if (! hasClass(mytd) && ! mytd.style.backgroundColor) { + + mytd.style.backgroundColor = even ? evenColor : oddColor; + + } + } + } + // flip from odd to even, or vice-versa + even = ! even; + } + } + } diff --git a/source/web/scripts/office/navigation.js b/source/web/scripts/office/navigation.js new file mode 100644 index 0000000000..a881ff401d --- /dev/null +++ b/source/web/scripts/office/navigation.js @@ -0,0 +1,187 @@ + +var xmlHttp + +function GetXmlHttpObject() +{ + var objXMLHttp=null; + if (window.XMLHttpRequest) + { + objXMLHttp=new XMLHttpRequest() + } + else if (window.ActiveXObject) + { + objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") + } + + return objXMLHttp; +} + +function showStatus(url) +{ + xmlHttp=GetXmlHttpObject(); + if (xmlHttp==null) + { + alert("Browser does not support HTTP Request"); + return; + } + xmlHttp.onreadystatechange=stateChanged; + xmlHttp.open("GET",url+"&sid="+Math.random(),true); + xmlHttp.send(null); +} + +function stateChanged() +{ + if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") + { + if (xmlHttp.responseText.indexOf("System Error") > 0) + { + var myWindow = window.open("", "_blank", "scrollbars,height=500,width=400"); + myWindow.document.write(xmlHttp.responseText); + document.getElementById("statusArea").innerHTML=""; + } + else + { + document.getElementById("statusArea").innerHTML=xmlHttp.responseText; + window.location.reload(); + } + } +} + + + + +function runAction(useTemplate, Action, Doc, Msg) +{ + if (Msg != "" && !confirm(Msg)) + { + return; + } + document.getElementById("statusArea").innerHTML="Running action..."; + showStatus("/alfresco/command/script/execute/workspace/SpacesStore/" + useTemplate + "/workspace/SpacesStore/" + Doc + "?action=" + Action); +} + +function getWindowHeight() { + var windowHeight = 0; + if (typeof(window.innerHeight) == 'number') { + windowHeight = window.innerHeight; + } + else { + if (document.documentElement && document.documentElement.clientHeight) { + windowHeight = document.documentElement.clientHeight; + } + else { + if (document.body && document.body.clientHeight) { + windowHeight = document.body.clientHeight; + } + } + } + return windowHeight; + } + function setContent() { + if (document.getElementById) { + var windowHeight = getWindowHeight(); + if (windowHeight > 0) { + var spaceListElement = document.getElementById('spaceList'); + var contentListElement = document.getElementById('contentList'); + var tabBarElement = document.getElementById('tabBar'); + var currentSpaceInfoElement = document.getElementById('currentSpaceInfo'); + var spaceListHeaderElement = document.getElementById('spaceListHeader'); + var contentListHeaderElement = document.getElementById('contentListHeader'); + var bottomMarginElement = document.getElementById('bottomMargin'); + var documentActionsElement = document.getElementById('documentActions'); + + var spaceListHeight = spaceListElement.offsetHeight; + var contentListHeight = contentListElement.offsetHeight; + var tabBarHeight = tabBarElement.offsetHeight; + var currentSpaceInfoHeight = currentSpaceInfoElement.offsetHeight; + var spaceListHeaderHeight = spaceListHeaderElement.offsetHeight; + var contentListHeaderHeight = contentListHeaderElement.offsetHeight; + var bottomMarginHeight = bottomMarginElement.offsetHeight; + var documentActionsHeight = documentActionsElement.offsetHeight; + + if (windowHeight > 0) { + spaceListElement.style.height = (windowHeight- (tabBarHeight + currentSpaceInfoHeight + spaceListHeaderHeight + contentListHeaderHeight + documentActionsHeight + bottomMarginHeight)) /2 + 'px'; + contentListElement.style.height = (windowHeight- (tabBarHeight + currentSpaceInfoHeight + spaceListHeaderHeight + contentListHeaderHeight + documentActionsHeight + bottomMarginHeight)) /2 + 'px'; + } + + } + } + } + window.onload = function() { + setContent(); + stripe('spaceList', '#fff', '#f6f8fa'); + stripe('contentList', '#fff', '#f6f8fa'); + } + window.onresize = function() { + setContent(); + } + + + + // this function is need to work around + // a bug in IE related to element attributes + function hasClass(obj) { + var result = false; + if (obj.getAttributeNode("class") != null) { + result = obj.getAttributeNode("class").value; + } + return result; + } + + function stripe(id) { + + // the flag we'll use to keep track of + // whether the current row is odd or even + var even = false; + + // if arguments are provided to specify the colours + // of the even & odd rows, then use the them; + // otherwise use the following defaults: + var evenColor = arguments[1] ? arguments[1] : "#fff"; + var oddColor = arguments[2] ? arguments[2] : "#eee"; + + // obtain a reference to the desired table + // if no such table exists, abort + var table = document.getElementById(id); + if (! table) { return; } + + // by definition, tables can have more than one tbody + // element, so we'll have to get the list of child + // <tbody>s + var tbodies = table.getElementsByTagName("tbody"); + + // and iterate through them... + for (var h = 0; h < tbodies.length; h++) { + + // find all the <tr> elements... + var trs = tbodies[h].getElementsByTagName("tr"); + + // ... and iterate through them + for (var i = 0; i < trs.length; i++) { + + // avoid rows that have a class attribute + // or backgroundColor style + if (!hasClass(trs[i]) && ! trs[i].style.backgroundColor) { + + // get all the cells in this row... + var tds = trs[i].getElementsByTagName("td"); + + // and iterate through them... + for (var j = 0; j < tds.length; j++) { + + var mytd = tds[j]; + + // avoid cells that have a class attribute + // or backgroundColor style + if (! hasClass(mytd) && ! mytd.style.backgroundColor) { + + mytd.style.backgroundColor = even ? evenColor : oddColor; + + } + } + } + // flip from odd to even, or vice-versa + even = ! even; + } + } + } diff --git a/source/web/scripts/office/search.js b/source/web/scripts/office/search.js new file mode 100644 index 0000000000..192a3c6203 --- /dev/null +++ b/source/web/scripts/office/search.js @@ -0,0 +1,203 @@ +var xmlHttp + +function GetXmlHttpObject() +{ + var objXMLHttp=null; + if (window.XMLHttpRequest) + { + objXMLHttp=new XMLHttpRequest() + } + else if (window.ActiveXObject) + { + objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") + } + + return objXMLHttp; +} + +function showStatus(url) +{ +// alert(url); + xmlHttp=GetXmlHttpObject(); + if (xmlHttp==null) + { + alert("Browser does not support HTTP Request"); + return; + } + xmlHttp.onreadystatechange=stateChanged; + xmlHttp.open("GET",url+"&sid="+Math.random(),true); + xmlHttp.send(null); +} + +function stateChanged() +{ + if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") + { + if (xmlHttp.responseText.indexOf("System Error") > 0) + { + var myWindow = window.open("", "_blank", "scrollbars,height=500,width=400"); + myWindow.document.write(xmlHttp.responseText); + } + else + { + document.getElementById("searchResultsList").innerHTML=xmlHttp.responseText; + stripe('searchResultsList', '#fff', '#f6f8fa'); + } + document.getElementById("statusArea").innerHTML=""; + } +} + +function runSearch(useTemplate) +{ + document.getElementById("statusArea").innerHTML="Searching..."; + searchString = document.getElementById("searchText").value; + maxcount = document.getElementById("maxresults").value; + doSearch(useTemplate, searchString, maxcount); +} + +function doSearch(useTemplate, searchString, maxcount) +{ + showStatus("/alfresco/template/workspace/SpacesStore/"+ useTemplate + "/workspace/SpacesStore/" + useTemplate + "?search=" + searchString + "&maxresults=" + maxcount); +} + +function handleTextEnter(e) { + var keycode; + + // get the keycode + if (window.event) + { + keycode = window.event.keyCode; + } + else if (e) + { + keycode = e.which; + } + // if ENTER was pressed execute the query + if (keycode == 13) + { + runSearch(); + return false; + } + return true; +} + + +function getWindowHeight() { + var windowHeight = 0; + if (typeof(window.innerHeight) == 'number') { + windowHeight = window.innerHeight; + } + else { + if (document.documentElement && document.documentElement.clientHeight) { + windowHeight = document.documentElement.clientHeight; + } + else { + if (document.body && document.body.clientHeight) { + windowHeight = document.body.clientHeight; + } + } + } + return windowHeight; + } + +function setContent() { + if (document.getElementById) { + var windowHeight = getWindowHeight(); + if (windowHeight > 0) { + + var tabBarElement = document.getElementById('tabBar'); + var bottomMarginElement = document.getElementById('bottomMargin'); + var searchResultsListElement = document.getElementById('searchResultsList'); + var searchHeightElement = document.getElementById('search'); + var searchResultsListHeaderElement = document.getElementById('searchResultsListHeader'); + + var tabBarHeight = tabBarElement.offsetHeight; + var bottomMarginHeight = bottomMarginElement.offsetHeight; + var searchResultsListHeight = searchResultsListElement.offsetHeight; + var searchHeight = searchHeightElement.offsetHeight; + var searchResultsListHeaderHeight = searchResultsListHeaderElement.offsetHeight; + + if (windowHeight > 0) { + searchResultsListElement.style.height = windowHeight- (tabBarHeight + searchHeight + searchResultsListHeaderHeight + bottomMarginHeight) + 'px'; + } + + } + } + } + window.onload = function() { + setContent(); + stripe('searchResultsList', '#fff', '#f6f8fa'); + } + window.onresize = function() { + setContent(); + } + + + // this function is need to work around + // a bug in IE related to element attributes + function hasClass(obj) { + var result = false; + if (obj.getAttributeNode("class") != null) { + result = obj.getAttributeNode("class").value; + } + return result; + } + +function stripe(id) { + + // the flag we'll use to keep track of + // whether the current row is odd or even + var even = false; + + // if arguments are provided to specify the colours + // of the even & odd rows, then use the them; + // otherwise use the following defaults: + var evenColor = arguments[1] ? arguments[1] : "#fff"; + var oddColor = arguments[2] ? arguments[2] : "#eee"; + + // obtain a reference to the desired table + // if no such table exists, abort + var table = document.getElementById(id); + if (! table) { return; } + + // by definition, tables can have more than one tbody + // element, so we'll have to get the list of child + // <tbody>s + var tbodies = table.getElementsByTagName("tbody"); + + // and iterate through them... + for (var h = 0; h < tbodies.length; h++) { + + // find all the <tr> elements... + var trs = tbodies[h].getElementsByTagName("tr"); + + // ... and iterate through them + for (var i = 0; i < trs.length; i++) { + + // avoid rows that have a class attribute + // or backgroundColor style + if (!hasClass(trs[i]) && ! trs[i].style.backgroundColor) { + + // get all the cells in this row... + var tds = trs[i].getElementsByTagName("td"); + + // and iterate through them... + for (var j = 0; j < tds.length; j++) { + + var mytd = tds[j]; + + // avoid cells that have a class attribute + // or backgroundColor style + if (! hasClass(mytd) && ! mytd.style.backgroundColor) { + + mytd.style.backgroundColor = even ? evenColor : oddColor; + + } + } + } + // flip from odd to even, or vice-versa + even = ! even; + } + } + } + diff --git a/source/web/scripts/office/version.js b/source/web/scripts/office/version.js new file mode 100644 index 0000000000..4acbd9c869 --- /dev/null +++ b/source/web/scripts/office/version.js @@ -0,0 +1,173 @@ +var xmlHttp + +function GetXmlHttpObject() +{ + var objXMLHttp=null; + if (window.XMLHttpRequest) + { + objXMLHttp=new XMLHttpRequest() + } + else if (window.ActiveXObject) + { + objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") + } + + return objXMLHttp; +} + +function showStatus(url) +{ + xmlHttp=GetXmlHttpObject(); + if (xmlHttp==null) + { + alert("Browser does not support HTTP Request"); + return; + } + xmlHttp.onreadystatechange=stateChanged; + xmlHttp.open("GET",url+"&sid="+Math.random(),true); + xmlHttp.send(null); +} + +function stateChanged() +{ + if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") + { + if (xmlHttp.responseText.indexOf("System Error") > 0) + { + var myWindow = window.open("", "_blank", "scrollbars,height=500,width=400"); + myWindow.document.write(xmlHttp.responseText); + document.getElementById("statusArea").innerHTML=""; + } + else + { + document.getElementById("statusArea").innerHTML=xmlHttp.responseText; + window.location.reload(); + } + } +} + +function runAction(useTemplate, Action, Doc, Msg) +{ + if (Msg != "" && !confirm(Msg)) + { + return; + } + document.getElementById("statusArea").innerHTML="Running action..."; + showStatus("/alfresco/command/script/execute/workspace/SpacesStore/" + useTemplate + "/workspace/SpacesStore/" + Doc + "?action=" + Action); +} + + +function getWindowHeight() { + var windowHeight = 0; + if (typeof(window.innerHeight) == 'number') { + windowHeight = window.innerHeight; + } + else { + if (document.documentElement && document.documentElement.clientHeight) { + windowHeight = document.documentElement.clientHeight; + } + else { + if (document.body && document.body.clientHeight) { + windowHeight = document.body.clientHeight; + } + } + } + return windowHeight; + } + function setContent() { + if (document.getElementById) { + var windowHeight = getWindowHeight(); + if (windowHeight > 0) { + var versionListHeaderElement = document.getElementById('versionListheader'); + var versionListElement = document.getElementById('versionList'); + var tabBarElement = document.getElementById('tabBar'); + var bottomMarginElement = document.getElementById('bottomMargin'); + + var versionListHeight = versionListElement.offsetHeight; + var versionListHeaderHeight = versionListHeaderElement.offsetHeight; + var tabBarHeight = tabBarElement.offsetHeight; + var bottomMarginHeight = bottomMarginElement.offsetHeight; + + if (windowHeight > 0) { + versionListElement.style.height = (windowHeight- (tabBarHeight + versionListHeaderHeight + bottomMarginHeight)) + 'px'; + } + + } + } + } + window.onload = function() { + setContent(); + stripe('versionList', '#fff', '#f6f8fa'); + } + window.onresize = function() { + setContent(); + } + + + // this function is need to work around + // a bug in IE related to element attributes + function hasClass(obj) { + var result = false; + if (obj.getAttributeNode("class") != null) { + result = obj.getAttributeNode("class").value; + } + return result; + } + + function stripe(id) { + + // the flag we'll use to keep track of + // whether the current row is odd or even + var even = false; + + // if arguments are provided to specify the colours + // of the even & odd rows, then use the them; + // otherwise use the following defaults: + var evenColor = arguments[1] ? arguments[1] : "#fff"; + var oddColor = arguments[2] ? arguments[2] : "#eee"; + + // obtain a reference to the desired table + // if no such table exists, abort + var table = document.getElementById(id); + if (! table) { return; } + + // by definition, tables can have more than one tbody + // element, so we'll have to get the list of child + // <tbody>s + var tbodies = table.getElementsByTagName("tbody"); + + // and iterate through them... + for (var h = 0; h < tbodies.length; h++) { + + // find all the <tr> elements... + var trs = tbodies[h].getElementsByTagName("tr"); + + // ... and iterate through them + for (var i = 0; i < trs.length; i++) { + + // avoid rows that have a class attribute + // or backgroundColor style + if (!hasClass(trs[i]) && ! trs[i].style.backgroundColor) { + + // get all the cells in this row... + var tds = trs[i].getElementsByTagName("td"); + + // and iterate through them... + for (var j = 0; j < tds.length; j++) { + + var mytd = tds[j]; + + // avoid cells that have a class attribute + // or backgroundColor style + if (! hasClass(mytd) && ! mytd.style.backgroundColor) { + + mytd.style.backgroundColor = even ? evenColor : oddColor; + + } + } + } + // flip from odd to even, or vice-versa + even = ! even; + } + } + }