15
common/loginpage/res/img/formats-svg/docm.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M3 18a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H3Z" fill="#1E7AAA"/>
|
||||
<path d="M3 20v5h2v-1h1v-3H5v-1H3Zm2 1v3H4v-3h1Zm4-1H8v1H7v3h1v1h1v-1h1v-3H9v-1Zm0 1v3H8v-3h1Zm3 0h-1v3h1v1h2v-1h1v-1h-1v1h-2v-3Zm2 0h-2v-1h2v1Zm0 0h1v1h-1v-1Zm2-1h1v1h1v2h-1v2h-1v-5Zm3 3v2h-1v-2h1Zm0 0v-2h1v-1h1v5h-1v-2h-1Z" fill="#fff"/>
|
||||
<path d="M15 5H3v2h12V5Zm0 3H3v2h12V8Zm6 3H3v2h18v-2ZM3 14h13v2H3v-2Z" fill="#C4C4C4"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 924 B |
15
common/loginpage/res/img/formats-svg/dotm.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M3 18a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H3Z" fill="#1E7AAA"/>
|
||||
<path d="M3 20h2v1H4v3h1v1H3v-5Zm2 4h1v-3H5v3Zm2-3h1v3H7v-3Zm3 3v1H8v-1h2Zm0-3h1v3h-1v-3Zm0 0v-1H8v1h2Zm3 0v4h1v-4h1v-1h-3v1h1Zm3-1h1v1h1v2h-1v2h-1v-5Zm3 3v2h-1v-2h1Zm0 0v-2h1v-1h1v5h-1v-2h-1Z" fill="#fff"/>
|
||||
<path d="M15 5H3v2h12V5Zm0 3H3v2h12V8Zm6 3H3v2h18v-2ZM3 14h13v2H3v-2Z" fill="#C4C4C4"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 892 B |
16
common/loginpage/res/img/formats-svg/fodp.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M3 4v12h18V9h-1v6H4V5h11V4H3Z" fill="#BFBFBF"/>
|
||||
<path d="M15 6H8v2h7V6ZM7 6H5v2h2V6Zm12 3v2H8V9h11ZM7 12H5v2h2v-2Zm1 0h9v2H8v-2ZM7 9H5v2h2V9Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M3 18a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H3Z" fill="#D6771B"/>
|
||||
<path d="M12 20h3v1h-2v3h2v1h-3v-5Zm3 4h1v-3h-1v3Zm2-4v5h1v-2h2v-1h1v-1h-1v-1h-3Zm3 1v1h-2v-1h2ZM7 21h1v3H7v-3Zm3 3v1H8v-1h2Zm0-3h1v3h-1v-3Zm0 0H8v-1h2v1Zm-7-1v5h1v-2h2v-1H4v-1h2v-1H3Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 973 B |
15
common/loginpage/res/img/formats-svg/fods.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M15 3H3v13h18V9h-1v2H10V4h5V3ZM4 11V4h2v7H4Zm3 0V4h2v7H7Zm3 1h10v3H10v-3Zm-1 0v3H7v-3h2Zm-3 0v3H4v-3h2Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M3 18a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H3Z" fill="#679F24"/>
|
||||
<path d="M12 20h3v1h-2v3h2v1h-3v-5Zm3 4h1v-3h-1v3Zm3-4h2v1h-2v-1Zm0 2h-1v-1h1v1Zm2 1h-2v-1h2v1Zm0 1v-1h1v1h-1Zm0 0v1h-3v-1h3ZM7 21h1v3H7v-3Zm3 3v1H8v-1h2Zm0-3h1v3h-1v-3Zm0 0H8v-1h2v1Zm-7-1v5h1v-2h2v-1H4v-1h2v-1H3Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 956 B |
15
common/loginpage/res/img/formats-svg/fodt.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M3 18a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H3Z" fill="#3683AB"/>
|
||||
<path d="M9 20h2v1H9v-1Zm0 4H8v-3h1v3Zm2 0v1H9v-1h2Zm0 0h1v-3h-1v3Zm2-4h2v1h-1v3h1v1h-2v-5Zm2 4h1v-3h-1v3Zm2-4h3v1h-1v4h-1v-4h-1v-1ZM4 20v5h1v-2h2v-1H5v-1h2v-1H4Z" fill="#fff"/>
|
||||
<path d="M15 5H3v2h12V5Zm0 3H3v2h12V8Zm6 3H3v2h18v-2ZM3 14h13v2H3v-2Z" fill="#C4C4C4"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 862 B |
15
common/loginpage/res/img/formats-svg/md.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M7 6h4v2H9v2H7v2h2v2h2v2H7v-2H5v-2H3v-2h2V8h2V6Zm12 3h-4v1h2v2h-2v2h-2v2h4v-2h2v-2h2v-2h-2V9Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M3 18a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H3Z" fill="#848F92"/>
|
||||
<path d="M8 20H7v5h1v-2h1v2h1v-2h1v2h1v-5h-1v1h-1v2H9v-2H8v-1Zm5 0v5h3v-1h1v-3h-1v-1h-3Zm3 1v3h-2v-3h2Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 836 B |
12
common/loginpage/res/img/formats-svg/neutral.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 472 B |
16
common/loginpage/res/img/formats-svg/potm.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M3 4v12h18V9h-1v6H4V5h11V4H3Z" fill="#BFBFBF"/>
|
||||
<path d="M15 7h-3V6H8v2h7V7ZM7 6H5v2h2V6Zm10 3v1h-6v1H8V9h9ZM7 12H5v2h2v-2Zm1 0h3v1h7v1H8v-2ZM7 9H5v2h2V9Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M2 19a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-7Z" fill="#F36700"/>
|
||||
<path d="M3 20h3v2H5v-1H4v1h1v1H4v2H3v-5Zm12 0h-3v1h1v4h1v-4h1v-1Zm-7 1H7v3h1v1h2v-1h1v-3h-1v-1H8v1Zm0 0h2v3H8v-3Zm9-1h-1v5h1v-2h1v2h1v-2h1v2h1v-5h-1v1h-1v2h-1v-2h-1v-1Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 971 B |
16
common/loginpage/res/img/formats-svg/ppsm.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M3 4v12h18V9h-1v6H4V5h11V4H3Z" fill="#BFBFBF"/>
|
||||
<path d="M15 7h-3V6H8v2h7V7ZM7 6H5v2h2V6Zm10 3v1h-6v1H8V9h9ZM7 12H5v2h2v-2Zm1 0h3v1h7v1H8v-2ZM7 9H5v2h2V9Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M2 19a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-7Z" fill="#F36700"/>
|
||||
<path d="M3 20h3v3H4v2H3v-5Zm1 1v1h1v-1H4Zm3-1v5h1v-2h2v-3H7Zm2 1v1H8v-1h1Zm7-1h1v1h1v2h1v-2h1v-1h1v5h-1v-2h-1v2h-1v-2h-1v2h-1v-5Zm-2 2h-2v-1h2v-1h-2v1h-1v1h1v1h2v1h-3v1h3v-1h1v-1h-1v-1Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 988 B |
16
common/loginpage/res/img/formats-svg/pptm.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M3 4v12h18V9h-1v6H4V5h11V4H3Z" fill="#BFBFBF"/>
|
||||
<path d="M15 7h-3V6H8v2h7V7ZM7 6H5v2h2V6Zm10 3v1h-6v1H8V9h9ZM7 12H5v2h2v-2Zm1 0h3v1h7v1H8v-2ZM7 9H5v2h2V9Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M2 19a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-7Z" fill="#F36700"/>
|
||||
<path d="M3 20h3v3H4v2H3v-5Zm1 1v1h1v-1H4Zm3-1v5h1v-2h2v-3H7Zm2 1v1H8v-1h1Zm3 4h1v-4h1v-1h-3v1h1v4Zm3-5h1v1h1v2h1v-2h1v-1h1v5h-1v-2h-1v2h-1v-2h-1v2h-1v-5Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 956 B |
15
common/loginpage/res/img/formats-svg/xlsm.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#a)">
|
||||
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
|
||||
<path d="M15 3H3v13h18V9H10V7h5V6h-5V4h5V3ZM9 4v2H4V4h5Zm0 3v2H4V7h5Zm0 3v2H4v-2h5Zm1 0h5v2h-5v-2Zm6 0h4v2h-4v-2ZM4 13h5v2H4v-2Zm11 0v2h-5v-2h5Zm5 0v2h-4v-2h4Z" fill="#BFBFBF"/>
|
||||
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
|
||||
<path d="M2 19a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-7Z" fill="#6AAA1E"/>
|
||||
<path d="M7 20h1v4h2v1H7v-5Zm-4 3h1v2H3v-2Zm1-1H3v-2h1v2Zm1 0H4v1h1v2h1v-2H5v-1Zm0 0h1v-2H5v2Zm9 0h-2v-1h2v-1h-2v1h-1v1h1v1h2v1h-3v1h3v-1h1v-1h-1v-1Zm2-2h1v1h1v2h-1v2h-1v-5Zm3 3v2h-1v-2h1Zm0 0v-2h1v-1h1v5h-1v-2h-1Z" fill="#fff"/>
|
||||
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="a">
|
||||
<path fill="#fff" d="M0 0h24v30H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1004 B |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 22 KiB |
@ -244,7 +244,7 @@ h4 {
|
||||
.img-format {
|
||||
background: -webkit-image-set(data-uri('formats.png') 1x, data-uri('formats@1.25x.png') 1.25x,
|
||||
data-uri('formats@1.5x.png') 1.5x, data-uri('formats@1.75x.png') 1.75x, data-uri('formats@2x.png') 2x) no-repeat;
|
||||
background-size: 768px auto;
|
||||
background-size: 1056px auto;
|
||||
}
|
||||
|
||||
li.menu-item {
|
||||
@ -610,7 +610,7 @@ li.menu-item {
|
||||
.format-from-index(4);
|
||||
}
|
||||
|
||||
&.htm {
|
||||
&.htm, &.html {
|
||||
.format-from-index(5);
|
||||
}
|
||||
|
||||
@ -694,6 +694,42 @@ li.menu-item {
|
||||
&.xlsb {
|
||||
.format-from-index(31);
|
||||
}
|
||||
&.docm {
|
||||
.format-from-index(32);
|
||||
}
|
||||
&.dotm {
|
||||
.format-from-index(33);
|
||||
}
|
||||
&.fodt {
|
||||
.format-from-index(34);
|
||||
}
|
||||
&.xltm {
|
||||
.format-from-index(35);
|
||||
}
|
||||
&.xlsm {
|
||||
.format-from-index(36);
|
||||
}
|
||||
&.fods {
|
||||
.format-from-index(37);
|
||||
}
|
||||
&.pptm {
|
||||
.format-from-index(38);
|
||||
}
|
||||
&.ppsm {
|
||||
.format-from-index(39);
|
||||
}
|
||||
&.potm {
|
||||
.format-from-index(40);
|
||||
}
|
||||
&.fodp {
|
||||
.format-from-index(41);
|
||||
}
|
||||
&.md {
|
||||
.format-from-index(42);
|
||||
}
|
||||
&.neutral {
|
||||
.format-from-index(43);
|
||||
}
|
||||
|
||||
&.folder {
|
||||
height: 24px;
|
||||
|
||||
@ -183,7 +183,9 @@ utils.defines.FileFormat = {
|
||||
FILE_DOCUMENT_OFORM: FILE_DOCUMENT + 0x0015,
|
||||
FILE_DOCUMENT_DOCXF: FILE_DOCUMENT + 0x0016,
|
||||
FILE_DOCUMENT_OFORM_PDF: FILE_DOCUMENT + 0x0017,
|
||||
|
||||
FILE_DOCUMENT_XML: FILE_DOCUMENT + 0x0030,
|
||||
|
||||
|
||||
FILE_PRESENTATION: FILE_PRESENTATION,
|
||||
FILE_PRESENTATION_PPTX: FILE_PRESENTATION + 0x0001,
|
||||
FILE_PRESENTATION_PPT: FILE_PRESENTATION + 0x0002,
|
||||
@ -229,15 +231,20 @@ utils.parseFileFormat = function(format) {
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_ODT: return 'odt';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_RTF: return 'rtf';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_TXT: return 'txt';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_HTML: return 'htm';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_HTML: return 'html';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_MHT: return 'mht';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_EPUB: return 'epub';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_FB2: return 'fb2';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_DOCM: return 'docm';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_DOTX: return 'dotx';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_OTT: return 'ott';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_OFORM: return 'oform';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_DOCXF: return 'docxf';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_OFORM_PDF: return 'pdf';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_ODT_FLAT: return 'fodt';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_DOTM: return 'dotm';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_DOTM: return 'dotm';
|
||||
case utils.defines.FileFormat.FILE_DOCUMENT_XML: return 'xml';
|
||||
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_XLS: return 'xls';
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_XLTX: return 'xltx';
|
||||
@ -246,6 +253,9 @@ utils.parseFileFormat = function(format) {
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_ODS: return 'ods';
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_CSV: return 'csv';
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_OTS: return 'ots';
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_XLTM: return 'xltm';
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_XLSM: return 'xlsm';
|
||||
case utils.defines.FileFormat.FILE_SPREADSHEET_ODS_FLAT:return 'fods';
|
||||
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_PPT: return 'ppt';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_POTX: return 'potx';
|
||||
@ -253,11 +263,17 @@ utils.parseFileFormat = function(format) {
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_ODP: return 'odp';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_PPSX: return 'ppsx';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_OTP: return 'otp';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_PPTM: return 'pptm';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_PPSM: return 'ppsm';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_POTM: return 'potm';
|
||||
case utils.defines.FileFormat.FILE_PRESENTATION_ODP_FLAT: return 'fodp';
|
||||
|
||||
case utils.defines.FileFormat.FILE_CROSSPLATFORM_PDFA:
|
||||
case utils.defines.FileFormat.FILE_CROSSPLATFORM_PDF: return 'pdf';
|
||||
case utils.defines.FileFormat.FILE_CROSSPLATFORM_DJVU: return 'djvu';
|
||||
case utils.defines.FileFormat.FILE_CROSSPLATFORM_XPS: return 'xps';
|
||||
|
||||
default: return 'neutral';
|
||||
}
|
||||
|
||||
return '';
|
||||
|
||||