Added: incubator/chemistry/trunk/cmislib/src/data/types.xml URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/data/types.xml?rev=912218&view=auto ============================================================================== --- incubator/chemistry/trunk/cmislib/src/data/types.xml (added) +++ incubator/chemistry/trunk/cmislib/src/data/types.xml Sat Feb 20 20:32:57 2010 @@ -0,0 +1,195 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" + xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" + xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org" + xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> + <author> + <name>admin</name> + </author> + <generator version="3.2.0 (r2 @build-number@)">Alfresco (Community)</generator> + <icon>http://localhost:8080/alfresco/images/logo/AlfrescoLogo16.ico + </icon> + <id>urn:uuid:types-base</id> + <link rel="service" href="http://localhost:8080/alfresco/s/cmis" /> + <link rel="self" href="http://localhost:8080/alfresco/s/cmis/types" /> + <link rel="first" + href="http://localhost:8080/alfresco/s/cmis/types?pageNo=1&pageSize=-1&guest=" + type="application/atom+xml;type=feed" /> + <link rel="last" + href="http://localhost:8080/alfresco/s/cmis/types?pageNo=1&pageSize=-1&guest=" + type="application/atom+xml;type=feed" /> + <title>Base Types</title> + <updated>2009-12-10T16:34:43.119-06:00 + </updated> + <opensearch:totalResults>4</opensearch:totalResults> + <opensearch:startIndex>0</opensearch:startIndex> + <opensearch:itemsPerPage>-1</opensearch:itemsPerPage> + <cmisra:numItems>4</cmisra:numItems> + <entry> + <author> + <name>admin</name> + </author> + <content>cmis:folder</content> + <id>urn:uuid:type-cmis:folder</id> + <link rel="self" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:folder" /> + <link rel="describedby" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:folder" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:folder/children" + type="application/atom+xml;type=feed" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:folder/descendants" + type="application/cmistree+xml" /> + <link rel="service" href="http://localhost:8080/alfresco/s/cmis" /> + <summary>Folder Type</summary> + <title>Folder</title> + <updated>2009-12-10T16:34:43.119-06:00 + </updated> + <cmisra:type cmisra:id="cmis:folder" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeFolderDefinitionType"> + <cmis:id>cmis:folder</cmis:id> + <cmis:localName>folder</cmis:localName> + <cmis:localNamespace>http://www.alfresco.org/model/cmis/1.0/cd04 + </cmis:localNamespace> + <cmis:displayName>Folder</cmis:displayName> + <cmis:queryName>cmis:folder</cmis:queryName> + <cmis:description>Folder Type</cmis:description> + <cmis:baseId>cmis:folder</cmis:baseId> + <cmis:creatable>true</cmis:creatable> + <cmis:fileable>false</cmis:fileable> + <cmis:queryable>true</cmis:queryable> + <cmis:fulltextIndexed>true</cmis:fulltextIndexed> + <cmis:includedInSupertypeQuery>true + </cmis:includedInSupertypeQuery> + <cmis:controllablePolicy>false</cmis:controllablePolicy> + <cmis:controllableACL>false</cmis:controllableACL> + </cmisra:type> + </entry> + <entry> + <author> + <name>admin</name> + </author> + <content>cmis:relationship</content> + <id>urn:uuid:type-cmis:relationship + </id> + <link rel="self" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:relationship" /> + <link rel="describedby" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:relationship" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:relationship/children" + type="application/atom+xml;type=feed" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:relationship/descendants" + type="application/cmistree+xml" /> + <link rel="service" href="http://localhost:8080/alfresco/s/cmis" /> + <summary>Relationship Type</summary> + <title>Relationship</title> + <updated>2009-12-10T16:34:43.119-06:00 + </updated> + <cmisra:type cmisra:id="cmis:relationship" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeRelationshipDefinitionType"> + <cmis:id>cmis:relationship</cmis:id> + <cmis:localName>relationship</cmis:localName> + <cmis:localNamespace>http://www.alfresco.org/model/cmis/1.0/cd04 + </cmis:localNamespace> + <cmis:displayName>Relationship</cmis:displayName> + <cmis:queryName>cmis:relationship</cmis:queryName> + <cmis:description>Relationship Type</cmis:description> + <cmis:baseId>cmis:relationship</cmis:baseId> + <cmis:creatable>false</cmis:creatable> + <cmis:fileable>false</cmis:fileable> + <cmis:queryable>false</cmis:queryable> + <cmis:fulltextIndexed>false</cmis:fulltextIndexed> + <cmis:includedInSupertypeQuery>true + </cmis:includedInSupertypeQuery> + <cmis:controllablePolicy>false</cmis:controllablePolicy> + <cmis:controllableACL>false</cmis:controllableACL> + </cmisra:type> + </entry> + <entry> + <author> + <name>admin</name> + </author> + <content>cmis:document</content> + <id>urn:uuid:type-cmis:document</id> + <link rel="self" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:document" /> + <link rel="describedby" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:document" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:document/children" + type="application/atom+xml;type=feed" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:document/descendants" + type="application/cmistree+xml" /> + <link rel="service" href="http://localhost:8080/alfresco/s/cmis" /> + <summary>Document Type</summary> + <title>Document</title> + <updated>2009-12-10T16:34:43.119-06:00 + </updated> + <cmisra:type cmisra:id="cmis:document" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeDocumentDefinitionType"> + <cmis:id>cmis:document</cmis:id> + <cmis:localName>document</cmis:localName> + <cmis:localNamespace>http://www.alfresco.org/model/cmis/1.0/cd04 + </cmis:localNamespace> + <cmis:displayName>Document</cmis:displayName> + <cmis:queryName>cmis:document</cmis:queryName> + <cmis:description>Document Type</cmis:description> + <cmis:baseId>cmis:document</cmis:baseId> + <cmis:creatable>true</cmis:creatable> + <cmis:fileable>true</cmis:fileable> + <cmis:queryable>true</cmis:queryable> + <cmis:fulltextIndexed>true</cmis:fulltextIndexed> + <cmis:includedInSupertypeQuery>true + </cmis:includedInSupertypeQuery> + <cmis:controllablePolicy>false</cmis:controllablePolicy> + <cmis:controllableACL>false</cmis:controllableACL> + <cmis:versionable>false</cmis:versionable> + <cmis:contentStreamAllowed>allowed</cmis:contentStreamAllowed> + </cmisra:type> + </entry> + <entry> + <author> + <name>admin</name> + </author> + <content>cmis:policy</content> + <id>urn:uuid:type-cmis:policy</id> + <link rel="self" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:policy" /> + <link rel="describedby" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:policy" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:policy/children" + type="application/atom+xml;type=feed" /> + <link rel="down" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:policy/descendants" + type="application/cmistree+xml" /> + <link rel="service" href="http://localhost:8080/alfresco/s/cmis" /> + <summary>Policy Type</summary> + <title>Policy</title> + <updated>2009-12-10T16:34:43.119-06:00 + </updated> + <cmisra:type cmisra:id="cmis:policy" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypePolicyDefinitionType"> + <cmis:id>cmis:policy</cmis:id> + <cmis:localName>policy</cmis:localName> + <cmis:localNamespace>http://www.alfresco.org/model/cmis/1.0/cd04 + </cmis:localNamespace> + <cmis:displayName>Policy</cmis:displayName> + <cmis:queryName>cmis:policy</cmis:queryName> + <cmis:description>Policy Type</cmis:description> + <cmis:baseId>cmis:policy</cmis:baseId> + <cmis:creatable>false</cmis:creatable> + <cmis:fileable>false</cmis:fileable> + <cmis:queryable>true</cmis:queryable> + <cmis:fulltextIndexed>true</cmis:fulltextIndexed> + <cmis:includedInSupertypeQuery>true + </cmis:includedInSupertypeQuery> + <cmis:controllablePolicy>false</cmis:controllablePolicy> + <cmis:controllableACL>false</cmis:controllableACL> + </cmisra:type> + </entry> +</feed> \ No newline at end of file
Added: incubator/chemistry/trunk/cmislib/src/data/workingCopy.xml URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/data/workingCopy.xml?rev=912218&view=auto ============================================================================== --- incubator/chemistry/trunk/cmislib/src/data/workingCopy.xml (added) +++ incubator/chemistry/trunk/cmislib/src/data/workingCopy.xml Sat Feb 20 20:32:57 2010 @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" + xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" + xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org"> + <author> + <name>admin</name> + </author> + <content type="text/html" + src="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/content.txt" /> + <id>urn:uuid:c683ef4a-43cf-452c-b5c4-a6ec82a371e9 + </id> + <link rel="self" + href="http://localhost:8080/alfresco/s/cmis/pwc/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9" /> + <link rel="enclosure" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/content.txt" + type="text/html" /> + <link rel="edit" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9" /> + <link rel="edit-media" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/content.txt" + type="text/html" /> + <link rel="http://docs.oasis-open.org/ns/cmis/link/200908/allowableactions" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/allowableactions" /> + <link rel="http://docs.oasis-open.org/ns/cmis/link/200908/relationships" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/rels" /> + <link rel="up" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/parents" + type="application/atom+xml;type=feed" /> + <link rel="version-history" + href="http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/c683ef4a-43cf-452c-b5c4-a6ec82a371e9/versions" /> + <link rel="describedby" + href="http://localhost:8080/alfresco/s/cmis/type/cmis:document" /> + <link rel="service" href="http://localhost:8080/alfresco/s/cmis" /> + <published>2009-12-10T23:06:18.450-06:00 + </published> + <summary></summary> + <title>test (Working Copy).txt</title> + <updated>2009-12-10T23:06:18.484-06:00 + </updated> + <app:edited>2009-12-10T23:06:18.484-06:00 + </app:edited> + <alf:icon>http://localhost:8080/alfresco/images/filetypes/txt.gif + </alf:icon> + <cmisra:object> + <cmis:properties> + <cmis:propertyBoolean propertyDefinitionId="cmis:isLatestMajorVersion"> + <cmis:value>false</cmis:value> + </cmis:propertyBoolean> + <cmis:propertyId propertyDefinitionId="cmis:contentStreamId"> + <cmis:value>cm:content</cmis:value> + </cmis:propertyId> + <cmis:propertyInteger propertyDefinitionId="cmis:contentStreamLength"> + <cmis:value>11</cmis:value> + </cmis:propertyInteger> + <cmis:propertyString propertyDefinitionId="cmis:versionSeriesCheckedOutBy"> + <cmis:value>admin</cmis:value> + </cmis:propertyString> + <cmis:propertyId propertyDefinitionId="cmis:objectTypeId"> + <cmis:value>cmis:document</cmis:value> + </cmis:propertyId> + <cmis:propertyId propertyDefinitionId="cmis:versionSeriesCheckedOutId"> + <cmis:value> + workspace://SpacesStore/c683ef4a-43cf-452c-b5c4-a6ec82a371e9 + </cmis:value> + </cmis:propertyId> + <cmis:propertyString propertyDefinitionId="cmis:name"> + <cmis:value>test (Working Copy).txt</cmis:value> + </cmis:propertyString> + <cmis:propertyString propertyDefinitionId="cmis:contentStreamMimeType"> + <cmis:value>text/html</cmis:value> + </cmis:propertyString> + <cmis:propertyId propertyDefinitionId="cmis:versionSeriesId"> + <cmis:value> + workspace://SpacesStore/c567cd9f-7e25-4be0-b1be-e75476d539f7 + </cmis:value> + </cmis:propertyId> + <cmis:propertyDateTime propertyDefinitionId="cmis:creationDate"> + <cmis:value>2009-12-10T23:06:18.450-06:00 + </cmis:value> + </cmis:propertyDateTime> + <cmis:propertyString propertyDefinitionId="cmis:changeToken" /> + <cmis:propertyBoolean propertyDefinitionId="cmis:isLatestVersion"> + <cmis:value>false</cmis:value> + </cmis:propertyBoolean> + <cmis:propertyString propertyDefinitionId="cmis:versionLabel" /> + <cmis:propertyBoolean propertyDefinitionId="cmis:isVersionSeriesCheckedOut"> + <cmis:value>true</cmis:value> + </cmis:propertyBoolean> + <cmis:propertyString propertyDefinitionId="cmis:lastModifiedBy"> + <cmis:value>admin</cmis:value> + </cmis:propertyString> + <cmis:propertyString propertyDefinitionId="cmis:createdBy"> + <cmis:value>admin</cmis:value> + </cmis:propertyString> + <cmis:propertyString propertyDefinitionId="cmis:checkinComment" /> + <cmis:propertyId propertyDefinitionId="cmis:objectId"> + <cmis:value> + workspace://SpacesStore/c683ef4a-43cf-452c-b5c4-a6ec82a371e9 + </cmis:value> + </cmis:propertyId> + <cmis:propertyBoolean propertyDefinitionId="cmis:isMajorVersion"> + <cmis:value>false</cmis:value> + </cmis:propertyBoolean> + <cmis:propertyBoolean propertyDefinitionId="cmis:isImmutable"> + <cmis:value>false</cmis:value> + </cmis:propertyBoolean> + <cmis:propertyId propertyDefinitionId="cmis:baseTypeId"> + <cmis:value>cmis:document</cmis:value> + </cmis:propertyId> + <cmis:propertyString propertyDefinitionId="cmis:contentStreamFileName"> + <cmis:value>test (Working Copy).txt</cmis:value> + </cmis:propertyString> + <cmis:propertyDateTime propertyDefinitionId="cmis:lastModificationDate"> + <cmis:value>2009-12-10T23:06:18.484-06:00 + </cmis:value> + </cmis:propertyDateTime> + </cmis:properties> + </cmisra:object> + <cmisra:pathSegment>test (Working Copy).txt</cmisra:pathSegment> +</entry> \ No newline at end of file Added: incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/about.doctree URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/about.doctree?rev=912218&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/about.doctree ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/environment.pickle URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/environment.pickle?rev=912218&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/environment.pickle ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/index.doctree URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/index.doctree?rev=912218&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/chemistry/trunk/cmislib/src/doc/src/.doctrees/index.doctree ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/chemistry/trunk/cmislib/src/doc/src/Makefile URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/Makefile?rev=912218&view=auto ============================================================================== --- incubator/chemistry/trunk/cmislib/src/doc/src/Makefile (added) +++ incubator/chemistry/trunk/cmislib/src/doc/src/Makefile Sat Feb 20 20:32:57 2010 @@ -0,0 +1,89 @@ +# Makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = sphinx-build2.6 +PAPER = +BUILDDIR = ../build + +# Internal variables. +PAPEROPT_a4 = -D latex_paper_size=a4 +PAPEROPT_letter = -D latex_paper_size=letter +ALLSPHINXOPTS = -d $(BUILDDIR)/.doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . + +.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest + +help: + @echo "Please use \`make <target>' where <target> is one of" + @echo " html to make standalone HTML files" + @echo " dirhtml to make HTML files named index.html in directories" + @echo " pickle to make pickle files" + @echo " json to make JSON files" + @echo " htmlhelp to make HTML files and a HTML help project" + @echo " qthelp to make HTML files and a qthelp project" + @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" + @echo " changes to make an overview of all changed/added/deprecated items" + @echo " linkcheck to check all external links for integrity" + @echo " doctest to run all doctests embedded in the documentation (if enabled)" + +clean: + -rm -rf $(BUILDDIR)/* + +html: + $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR) + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)." + +dirhtml: + $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." + +pickle: + $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle + @echo + @echo "Build finished; now you can process the pickle files." + +json: + $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json + @echo + @echo "Build finished; now you can process the JSON files." + +htmlhelp: + $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp + @echo + @echo "Build finished; now you can run HTML Help Workshop with the" \ + ".hhp project file in $(BUILDDIR)/htmlhelp." + +qthelp: + $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp + @echo + @echo "Build finished; now you can run "qcollectiongenerator" with the" \ + ".qhcp project file in $(BUILDDIR)/qthelp, like this:" + @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/CMISLibrary.qhcp" + @echo "To view the help file:" + @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/CMISLibrary.qhc" + +latex: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo + @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." + @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ + "run these through (pdf)latex." + +changes: + $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes + @echo + @echo "The overview file is in $(BUILDDIR)/changes." + +linkcheck: + $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck + @echo + @echo "Link check complete; look for any errors in the above output " \ + "or in $(BUILDDIR)/linkcheck/output.txt." + +doctest: + $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest + @echo "Testing of doctests in the sources finished, look at the " \ + "results in $(BUILDDIR)/doctest/output.txt." Added: incubator/chemistry/trunk/cmislib/src/doc/src/_static/basic.css URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/_static/basic.css?rev=912218&view=auto ============================================================================== --- incubator/chemistry/trunk/cmislib/src/doc/src/_static/basic.css (added) +++ incubator/chemistry/trunk/cmislib/src/doc/src/_static/basic.css Sat Feb 20 20:32:57 2010 @@ -0,0 +1,405 @@ +/** + * Sphinx stylesheet -- basic theme + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +img { + border: 0; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable dl, table.indextable dd { + margin-top: 0; + margin-bottom: 0; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +/* -- general body styles --------------------------------------------------- */ + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.field-list ul { + padding-left: 1em; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 0; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.field-list td, table.field-list th { + border: 0 !important; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +/* -- other body styles ----------------------------------------------------- */ + +dl { + margin-bottom: 15px; +} + +dd p { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, .highlight { + background-color: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.refcount { + color: #060; +} + +.optional { + font-size: 1.3em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +tt.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +tt.descclassname { + background-color: transparent; +} + +tt.xref, a tt { + background-color: transparent; + font-weight: bold; +} + +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { + background-color: transparent; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +...@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} Added: incubator/chemistry/trunk/cmislib/src/doc/src/_static/default.css URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/_static/default.css?rev=912218&view=auto ============================================================================== --- incubator/chemistry/trunk/cmislib/src/doc/src/_static/default.css (added) +++ incubator/chemistry/trunk/cmislib/src/doc/src/_static/default.css Sat Feb 20 20:32:57 2010 @@ -0,0 +1,210 @@ +/** + * Sphinx stylesheet -- default theme + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ + +...@import url("basic.css"); + +/* -- page layout ----------------------------------------------------------- */ + +body { + font-family: sans-serif; + font-size: 100%; + background-color: #11303d; + color: #000; + margin: 0; + padding: 0; +} + +div.document { + background-color: #1c4e63; +} + +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 230px; +} + +div.body { + background-color: #ffffff; + color: #000000; + padding: 0 20px 30px 20px; +} + +div.footer { + color: #ffffff; + width: 100%; + padding: 9px 0 9px 0; + text-align: center; + font-size: 75%; +} + +div.footer a { + color: #ffffff; + text-decoration: underline; +} + +div.related { + background-color: #133f52; + line-height: 30px; + color: #ffffff; +} + +div.related a { + color: #ffffff; +} + +div.sphinxsidebar { +} + +div.sphinxsidebar h3 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.4em; + font-weight: normal; + margin: 0; + padding: 0; +} + +div.sphinxsidebar h3 a { + color: #ffffff; +} + +div.sphinxsidebar h4 { + font-family: 'Trebuchet MS', sans-serif; + color: #ffffff; + font-size: 1.3em; + font-weight: normal; + margin: 5px 0 0 0; + padding: 0; +} + +div.sphinxsidebar p { + color: #ffffff; +} + +div.sphinxsidebar p.topless { + margin: 5px 10px 10px 10px; +} + +div.sphinxsidebar ul { + margin: 10px; + padding: 0; + color: #ffffff; +} + +div.sphinxsidebar a { + color: #98dbcc; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +/* -- body styles ----------------------------------------------------------- */ + +a { + color: #355f7c; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +div.body p, div.body dd, div.body li { + text-align: justify; + line-height: 130%; +} + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + font-family: 'Trebuchet MS', sans-serif; + background-color: #f2f2f2; + font-weight: normal; + color: #20435c; + border-bottom: 1px solid #ccc; + margin: 20px -20px 10px -20px; + padding: 3px 0 3px 10px; +} + +div.body h1 { margin-top: 0; font-size: 200%; } +div.body h2 { font-size: 160%; } +div.body h3 { font-size: 140%; } +div.body h4 { font-size: 120%; } +div.body h5 { font-size: 110%; } +div.body h6 { font-size: 100%; } + +a.headerlink { + color: #c60f0f; + font-size: 0.8em; + padding: 0 4px 0 4px; + text-decoration: none; +} + +a.headerlink:hover { + background-color: #c60f0f; + color: white; +} + +div.body p, div.body dd, div.body li { + text-align: justify; + line-height: 130%; +} + +div.admonition p.admonition-title + p { + display: inline; +} + +div.note { + background-color: #eee; + border: 1px solid #ccc; +} + +div.seealso { + background-color: #ffc; + border: 1px solid #ff6; +} + +div.topic { + background-color: #eee; +} + +div.warning { + background-color: #ffe4e4; + border: 1px solid #f66; +} + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; +} + +pre { + padding: 5px; + background-color: #eeffcc; + color: #333333; + line-height: 120%; + border: 1px solid #ac9; + border-left: none; + border-right: none; +} + +tt { + background-color: #ecf0f3; + padding: 0 1px 0 1px; + font-size: 0.95em; +} \ No newline at end of file Added: incubator/chemistry/trunk/cmislib/src/doc/src/_static/doctools.js URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/_static/doctools.js?rev=912218&view=auto ============================================================================== --- incubator/chemistry/trunk/cmislib/src/doc/src/_static/doctools.js (added) +++ incubator/chemistry/trunk/cmislib/src/doc/src/_static/doctools.js Sat Feb 20 20:32:57 2010 @@ -0,0 +1,232 @@ +/// XXX: make it cross browser + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger + */ +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", + "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {} +} + +/** + * small helper function to urldecode strings + */ +jQuery.urldecode = function(x) { + return decodeURIComponent(x).replace(/\+/g, ' '); +} + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s == 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +} + +/** + * small function to check if an array contains + * a given item. + */ +jQuery.contains = function(arr, item) { + for (var i = 0; i < arr.length; i++) { + if (arr[i] == item) + return true; + } + return false; +} + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node) { + if (node.nodeType == 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && !jQuery.className.has(node.parentNode, className)) { + var span = document.createElement("span"); + span.className = className; + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this) + }); + } + } + return this.each(function() { + highlight(this); + }); +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initModIndex(); + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can savely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated == 'undefined') + return string; + return (typeof translated == 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated == 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('<a class="headerlink">\u00B6</a>'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('<a class="headerlink">\u00B6</a>'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlight'); + }); + }, 10); + $('<li class="highlight-link"><a href="javascript:Documentation.' + + 'hideSearchWords()">' + _('Hide Search Matches') + '</a></li>') + .appendTo($('.sidebar .this-page-menu')); + } + }, + + /** + * init the modindex toggle buttons + */ + initModIndex : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + console.log($('tr.cg-' + idnum).toggle()); + if (src.substr(-9) == 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('.sidebar .this-page-menu li.highlight-link').fadeOut(300); + $('span.highlight').removeClass('highlight'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this == '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); Added: incubator/chemistry/trunk/cmislib/src/doc/src/_static/file.png URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/cmislib/src/doc/src/_static/file.png?rev=912218&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/chemistry/trunk/cmislib/src/doc/src/_static/file.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
