pdf.js/test
Tim van der Meij 0991c06395 Refactor annotation flags code
This patch makes it possible to set and get all possible flags that the PDF specification defines. Even though we do not support all possible annotation types and not all possible annotation flags yet, this general framework makes it easy to access all flags for each annotation such that annotation type implementations can use this information.

We add constants for all possible annotation flags such that we do not need to hardcode the flags in the code anymore. The `isViewable()` and `isPrintable()` methods are now easier to read. Additionally, unit tests have been added to ensure correct behavior.

This is another part of #5218.
2015-11-22 01:06:37 +01:00
..
features Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
font Move text layer building logic into src/display/text_layer.js 2015-11-19 10:50:27 -06:00
pdfs Replace the unavailable linked test-case for issue 1055 with a reduced test-case 2015-11-18 13:48:44 +01:00
resources Merge pull request #5905 from timvandermeij/specialpowers 2015-04-27 10:36:54 -07:00
stats cleaned whitespace 2015-02-17 11:07:37 -05:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
unit Refactor annotation flags code 2015-11-22 01:06:37 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
downloadutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
driver.js Better "text" testing. 2015-11-19 11:03:52 -06:00
test_manifest.json Better "text" testing. 2015-11-19 11:03:52 -06:00
test_slave.html Move text layer building logic into src/display/text_layer.js 2015-11-19 10:50:27 -06:00
test.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
testutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
text_layer_test.css Better "text" testing. 2015-11-19 11:03:52 -06:00
webbrowser.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
webserver.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30