diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..065c2a8 --- /dev/null +++ b/.classpath @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/RTF Parser Kit/.project b/.project similarity index 60% rename from RTF Parser Kit/.project rename to .project index cc33ff3..5f2e853 100644 --- a/RTF Parser Kit/.project +++ b/.project @@ -1,17 +1,23 @@ - - - RTF Parser Kit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + + + rtfparserkit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..1e9dd93 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..14b697b --- /dev/null +++ b/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/README.md b/README.md index 1a4df1c..1dfc7b3 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,18 @@ What's currently included? Getting Started =============== -You have a choice of two parsers to work with, the standard parser and the raw parser. The raw parser carries out minimal processing on the RTF, the standard parser handles character encodings, and translates commands which represent special characters into their Unicode equivalents. Most people will want to use the standard parser. +To install the library, you can either download the latest JAR directly from the GitHub releases page, +or you can add RTF Parser Kit as a dependency using Maven: + +```xml + + com.github.joniles + rtfparserkit + 1.12.0 + +``` + +Once you have the library, you have a choice of two parsers to work with, the standard parser and the raw parser. The raw parser carries out minimal processing on the RTF, the standard parser handles character encodings, and translates commands which represent special characters into their Unicode equivalents. Most people will want to use the standard parser. The parser is invoked like this: ```java diff --git a/RTF Parser Kit/.classpath b/RTF Parser Kit/.classpath deleted file mode 100644 index c0eeba5..0000000 --- a/RTF Parser Kit/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/RTF Parser Kit/.settings/org.eclipse.jdt.core.prefs b/RTF Parser Kit/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 5b29a22..0000000 --- a/RTF Parser Kit/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,380 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning -org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore -org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=20 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=64 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=64 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=37 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=32 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=0 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=0 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=0 -org.eclipse.jdt.core.formatter.blank_lines_before_package=1 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=next_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=false -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false -org.eclipse.jdt.core.formatter.comment.format_line_comments=false -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert -org.eclipse.jdt.core.formatter.comment.line_length=80 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=false -org.eclipse.jdt.core.formatter.continuation_indentation=3 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=3 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true -org.eclipse.jdt.core.formatter.indentation.size=3 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=999 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false -org.eclipse.jdt.core.formatter.tabulation.char=space -org.eclipse.jdt.core.formatter.tabulation.size=3 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/RTF Parser Kit/.settings/org.eclipse.jdt.ui.prefs b/RTF Parser Kit/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 8af9ea7..0000000 --- a/RTF Parser Kit/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,56 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_profile=_RTFKit -formatter_settings_version=12 -sp_cleanup.add_default_serial_version_id=true -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=true -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=false -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=true -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=true -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=true -sp_cleanup.on_save_use_additional_actions=false -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=true -sp_cleanup.remove_trailing_whitespaces=false -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=false -sp_cleanup.remove_unused_imports=false -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=true -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=true -sp_cleanup.remove_unused_private_types=true -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/RTF Parser Kit/RTF Parser Kit.jardesc b/RTF Parser Kit/RTF Parser Kit.jardesc deleted file mode 100644 index 8953e24..0000000 --- a/RTF Parser Kit/RTF Parser Kit.jardesc +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/RTF Parser Kit/bin/.gitignore b/RTF Parser Kit/bin/.gitignore deleted file mode 100644 index c2d9872..0000000 --- a/RTF Parser Kit/bin/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/com/ diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testRawParse.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testRawParse.xml deleted file mode 100644 index 6c4f3d3..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testRawParse.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - Calibri; - - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - - Test1 - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testSpecialChars.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testSpecialChars.xml deleted file mode 100644 index f24a667..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testSpecialChars.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - Calibri; - - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - - Tab A - - B - - Tab A - - B - - CR A - - B - - LF A - - B - - This is a line break. - - Here is the new line. - - Emdash: - - - Endash: - - - Emspace: - - - Enspace: - - - Qmspace: - - - Bullet: - - - Lquote: - - - Rquote: - - - Ldblquote: - - - Rdblquote: - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10001Encoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10001Encoding.xml deleted file mode 100644 index 428181c..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10001Encoding.xml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - HiraKakuPro-W6; - - - - Helvetica-Bold; - - - - Helvetica; - - - - HiraKakuPro-W3; - - - - ; - - - - ; - - - - - - - - - - - - - - - - - - - {disc} - - - - - .; - - - - ; - - - - - ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - お読みください - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10007Encoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10007Encoding.xml deleted file mode 100644 index 37c7a39..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10007Encoding.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - LucidaGrande; - - - - Georgia; - - - - Verdana; - - - - ; - - - - ; - - - - - - - - - - - - - - - - - - - - - - Комманда разработчиков - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test437Encoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test437Encoding.xml deleted file mode 100644 index 779aa46..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test437Encoding.xml +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - - - - Times New Roman - - - Times - - ; - - - - - - Helvetica-Bold - - - Helvetica - - ; - - - - - - Helvetica; - - - - - - LucidaGrande - - - Lucida Grande - - ; - - - - - ; - - - - ; - - - - - - - - The quick brown fox jumped over the lazy dogs. - - - footnote reference; - - - - - - The quick brown fox jumped over the lazy dogs. - - - endnote reference; - - - - - - Some text goes here so you can see what your style will look like. - - - footnote text; - - - - - - Sample text for Foot/End Notes Style - - - endnote text; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Test Document - - - - - - Test Title: - - (Test Subtitle) - - - - - Test Heading: - - - - Test Text. - - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test874Encoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test874Encoding.xml deleted file mode 100644 index 0f1152b..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test874Encoding.xml +++ /dev/null @@ -1,640 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - - - - - 020b0604020202020204 - - Arial; - - - - - - - - - 02020603050405020304 - - Angsana New; - - - - - - - - - 00000000000000000000 - - SymbolMT; - - - - - - - Times New Roman CE; - - - - - - - Times New Roman Cyr; - - - - - - - Times New Roman Greek; - - - - - - - Times New Roman Tur; - - - - - - - Times New Roman (Hebrew); - - - - - - - Times New Roman (Arabic); - - - - - - - Times New Roman Baltic; - - - - - - - Times New Roman (Vietnamese); - - - - - - - Arial CE; - - - - - - - Arial Cyr; - - - - - - - Arial Greek; - - - - - - - Arial Tur; - - - - - - - Arial (Hebrew); - - - - - - - Arial (Arabic); - - - - - - - Arial Baltic; - - - - - - - Arial (Vietnamese); - - - - - - - Angsana New (Thai); - - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - Normal; - - - - - - Default Paragraph Font; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Normal Table; - - - - - - - - - - - - - - - - Microsoft Word 11.0.5604; - - - - - - 3 - - - - Carestream Health Inc. - - - - SAMAK - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - . - - - - - - - - - - - . - - - - - - - - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1. Test Heading - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Some test text - - - - - - - - - - - - - - - - - - - - - - - - Some more test text - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test950Encoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test950Encoding.xml deleted file mode 100644 index 2dc657c..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test950Encoding.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - LucidaGrande; - - - - ; - - - - ; - - - - - - Title - - - - Test Author - - - - - - - - - - - - - - - - Test Text - - - - - - - - Copyright © 2004-2013 Test Project - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.xml deleted file mode 100644 index ad38a69..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - Test1 - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testEncodingParse.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testEncodingParse.xml deleted file mode 100644 index 10d026b..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testEncodingParse.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - Calibri; - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - Test1 - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGitHubIssue6.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGitHubIssue6.xml deleted file mode 100644 index f6a81d6..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGitHubIssue6.xml +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - Times New Roman; - - - - - - Arial; - - - - - - Courier; - - - - - - - - ; - - - - ; - - - - - - - - - - - - - Normal; - - - - - - - - - - - - heading 3; - - - - - - - - - - - - - heading 2; - - - - - - - - - - - - heading 1; - - - - - - - - - - - iText 2.1.7 by 1T3XT - - - - - - - - - - - - - - - - - - - - - - - - - - - PAGE - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - INNEN. KÜCHE - TAG - - - - - - - - - - - - - - - - - - - - - - - - Ein Absatz mit Line-Separator: - - Der geht hier auf einer neuen Zeile weiter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - INNEN. KÜCHE - TAG - - - - - - - - - - - - - - - - - - - - - - - Hier ist die zweite Szene. - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGreekEncoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGreekEncoding.xml deleted file mode 100644 index cdfe3bd..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGreekEncoding.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - Tahoma; - - - - - - Tahoma; - - - - - - - Unicode € - - Ω - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testHex.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testHex.xml deleted file mode 100644 index e705a7e..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testHex.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - Calibri; - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - ABC - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testKoreanEncoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testKoreanEncoding.xml deleted file mode 100644 index 717071d..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testKoreanEncoding.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - 맑은 고딕; - - - - - Riched20 14.0.4750.1000; - - - - - - - - - - - MS Project Addin ProjectPlus - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testMultiByteHex.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testMultiByteHex.xml deleted file mode 100644 index 5f01281..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testMultiByteHex.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - MS Pゴシック; - - - - - - - Tahoma; - - - - - Riched20 5.50.99.2014; - - - - - - - お元気ですか? - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testNegativeUnicode.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testNegativeUnicode.xml deleted file mode 100644 index fe0063c..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testNegativeUnicode.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - Calibri; - - - - - ; - - - - ; - - - - Msftedit 5.41.21.2510; - - - - - - - - - - From: - - - - - - HYPERLINK "http://unicode-table.com/en/#private-use-area" - - - - - - - - http://unicode-table.com/en/#private-use-area - - - - - - - F700 - - F710 - - F720 - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testSpecialChars.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testSpecialChars.xml deleted file mode 100644 index 6620f83..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testSpecialChars.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - Calibri; - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - Tab A - - B - - Tab A - - B - - CR A - - B - - LF A - - B - - This is a line break. - - Here is the new line. - - Emdash: — - - Endash: – - - Emspace:   - - Enspace:   - - Qmspace:   - - Bullet: • - - Lquote: ‘ - - Rquote: ’ - - Ldblquote: “ - - Rdblquote: ” - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testStyles.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testStyles.xml deleted file mode 100644 index 0a1bc1a..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testStyles.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - Calibri; - - - - - - Arial; - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - Test 1 - normal. - - - Test 2 - italic. - - - - Test 3 - bold. - - - Test 4 -normal. - - Test 5 - Calibri 11. - - - Test 6 - Arial 11. - - - Test 7 - Calibri 11. - - - - Test 6 - Arial 12. - - - - Test 7 - Calibri 11. - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testTurkishEncoding.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testTurkishEncoding.xml deleted file mode 100644 index d6654af..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testTurkishEncoding.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - Segoe UI; - - - - - - Segoe UI; - - - - - Riched20 15.0.4567 - - - - - - - - - - Turkish Encoding. - - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUnicode.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUnicode.xml deleted file mode 100644 index 256ffc6..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUnicode.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - Sylfaen; - - - - - - Sylfaen; - - - - - - Sylfaen; - - - - - - Shonar Bangla; - - - - - - Microsoft Himalaya; - - - - - - DaunPenh; - - - - - - Euphemia; - - - - - - SimSun; - - - - - - Calibri; - - - - - Msftedit 5.41.21.2510; - - - - - - - - - - - Արամ - - - Johann Strauß - - - Belgi - - ë - - René Magritte - - - বাংলা - - - ་ཡུལ། - - - ប្រទេស​​​កម្ពុជា - - - ᓄᓇᕗᒻᒥᐅᑦ - - - 中国 - - - Česká republika - - - \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUpr.xml b/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUpr.xml deleted file mode 100644 index b4f31d3..0000000 --- a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUpr.xml +++ /dev/null @@ -1,1119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - - - - - - 02000500000000000000 - - Times; - - - - - - - - - - 02040503050406030204 - - Cambria; - - - - - - - - - - 02000503060000020004 - - Optima; - - - - - - - - Lucida Grande; - - - - - - - - - - - 020b0604020202020204 - - Arial; - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - - - - - - - 020f0502020204030204 - - Calibri; - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - - - - - - - 02040503050406030204 - - Cambria; - - - - - - - - - - - 02020603050405020304 - - Times New Roman; - - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Normal; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - heading 1; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - heading 2; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - heading 3; - - - - - - Default Paragraph Font; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Normal Table; - - - - - - - - - - - - - - - - - - - - - - Heading 3 Char; - - - - - - - - - - - - - - - - - - - - - - - Heading 2 Char; - - - - - - - - - - - - - - - - - - - - - Heading 1 Char; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - header; - - - - - - - - - - - - - - Header Char; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Normal (Web); - - - - - - - - - - - - apple-converted-space; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Test - - - - Test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TEST - - - - - - - - - - - - - - - - http://schemas.microsoft.com/office/word/2003/wordml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 013f - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - . - - - - - - - - - - - . - - - - - - - - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - ( - - - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TEST - - - - - - - - - - - - - - - - - - - - - - - End User License Agreement - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TEST - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/RTF Parser Kit/licence.txt b/licence.txt similarity index 100% rename from RTF Parser Kit/licence.txt rename to licence.txt diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..73adb78 --- /dev/null +++ b/pom.xml @@ -0,0 +1,140 @@ + + 4.0.0 + com.github.joniles + rtfparserkit + 1.12.0 + jar + + RTF Parser Kit + Modular RTF parser + https://github.com/joniles/rtfparserkit + 2013 + + + https://github.com/joniles/rtfparserkit/issues + GitHub Issues + + + + https://github.com/joniles/rtfparserkit + scm:git:git://github.com/joniles/rtfparserkit.git + scm:git:git@github.com:joniles/rtfparserkit.git + + + + + joniles + Jon Iles + jon.iles@bcs.org.uk + Packwood Software + + + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + A business-friendly OSS license + + + + + + junit + junit + 4.11 + test + + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + 1.7 + 1.7 + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + -Xdoclint:none + true + + + + attach-javadocs + + jar + + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + \ No newline at end of file diff --git a/RTF Parser Kit/src/com/rtfparserkit/converter/text/AbstractTextConverter.java b/src/main/java/com/rtfparserkit/converter/text/AbstractTextConverter.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/converter/text/AbstractTextConverter.java rename to src/main/java/com/rtfparserkit/converter/text/AbstractTextConverter.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/converter/text/StreamTextConverter.java b/src/main/java/com/rtfparserkit/converter/text/StreamTextConverter.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/converter/text/StreamTextConverter.java rename to src/main/java/com/rtfparserkit/converter/text/StreamTextConverter.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/converter/text/StringTextConverter.java b/src/main/java/com/rtfparserkit/converter/text/StringTextConverter.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/converter/text/StringTextConverter.java rename to src/main/java/com/rtfparserkit/converter/text/StringTextConverter.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/IRtfListener.java b/src/main/java/com/rtfparserkit/parser/IRtfListener.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/IRtfListener.java rename to src/main/java/com/rtfparserkit/parser/IRtfListener.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/IRtfParser.java b/src/main/java/com/rtfparserkit/parser/IRtfParser.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/IRtfParser.java rename to src/main/java/com/rtfparserkit/parser/IRtfParser.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/IRtfSource.java b/src/main/java/com/rtfparserkit/parser/IRtfSource.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/IRtfSource.java rename to src/main/java/com/rtfparserkit/parser/IRtfSource.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/RtfListenerAdaptor.java b/src/main/java/com/rtfparserkit/parser/RtfListenerAdaptor.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/RtfListenerAdaptor.java rename to src/main/java/com/rtfparserkit/parser/RtfListenerAdaptor.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/RtfStreamSource.java b/src/main/java/com/rtfparserkit/parser/RtfStreamSource.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/RtfStreamSource.java rename to src/main/java/com/rtfparserkit/parser/RtfStreamSource.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/RtfStringSource.java b/src/main/java/com/rtfparserkit/parser/RtfStringSource.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/RtfStringSource.java rename to src/main/java/com/rtfparserkit/parser/RtfStringSource.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/raw/ByteBuffer.java b/src/main/java/com/rtfparserkit/parser/raw/ByteBuffer.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/raw/ByteBuffer.java rename to src/main/java/com/rtfparserkit/parser/raw/ByteBuffer.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/raw/RawRtfParser.java b/src/main/java/com/rtfparserkit/parser/raw/RawRtfParser.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/raw/RawRtfParser.java rename to src/main/java/com/rtfparserkit/parser/raw/RawRtfParser.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/BinaryBytesEvent.java b/src/main/java/com/rtfparserkit/parser/standard/BinaryBytesEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/BinaryBytesEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/BinaryBytesEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/CommandEvent.java b/src/main/java/com/rtfparserkit/parser/standard/CommandEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/CommandEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/CommandEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/DefaultEventHandler.java b/src/main/java/com/rtfparserkit/parser/standard/DefaultEventHandler.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/DefaultEventHandler.java rename to src/main/java/com/rtfparserkit/parser/standard/DefaultEventHandler.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/DocumentEndEvent.java b/src/main/java/com/rtfparserkit/parser/standard/DocumentEndEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/DocumentEndEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/DocumentEndEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/DocumentStartEvent.java b/src/main/java/com/rtfparserkit/parser/standard/DocumentStartEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/DocumentStartEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/DocumentStartEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/Encoding.java b/src/main/java/com/rtfparserkit/parser/standard/Encoding.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/Encoding.java rename to src/main/java/com/rtfparserkit/parser/standard/Encoding.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/FontCharset.java b/src/main/java/com/rtfparserkit/parser/standard/FontCharset.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/FontCharset.java rename to src/main/java/com/rtfparserkit/parser/standard/FontCharset.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/GroupEndEvent.java b/src/main/java/com/rtfparserkit/parser/standard/GroupEndEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/GroupEndEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/GroupEndEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/GroupStartEvent.java b/src/main/java/com/rtfparserkit/parser/standard/GroupStartEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/GroupStartEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/GroupStartEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/IParserEvent.java b/src/main/java/com/rtfparserkit/parser/standard/IParserEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/IParserEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/IParserEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/IParserEventHandler.java b/src/main/java/com/rtfparserkit/parser/standard/IParserEventHandler.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/IParserEventHandler.java rename to src/main/java/com/rtfparserkit/parser/standard/IParserEventHandler.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/ParserEventType.java b/src/main/java/com/rtfparserkit/parser/standard/ParserEventType.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/ParserEventType.java rename to src/main/java/com/rtfparserkit/parser/standard/ParserEventType.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/ParserState.java b/src/main/java/com/rtfparserkit/parser/standard/ParserState.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/ParserState.java rename to src/main/java/com/rtfparserkit/parser/standard/ParserState.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/StandardRtfParser.java b/src/main/java/com/rtfparserkit/parser/standard/StandardRtfParser.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/StandardRtfParser.java rename to src/main/java/com/rtfparserkit/parser/standard/StandardRtfParser.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/StringEvent.java b/src/main/java/com/rtfparserkit/parser/standard/StringEvent.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/StringEvent.java rename to src/main/java/com/rtfparserkit/parser/standard/StringEvent.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/parser/standard/UprHandler.java b/src/main/java/com/rtfparserkit/parser/standard/UprHandler.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/parser/standard/UprHandler.java rename to src/main/java/com/rtfparserkit/parser/standard/UprHandler.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/rtf/Command.java b/src/main/java/com/rtfparserkit/rtf/Command.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/rtf/Command.java rename to src/main/java/com/rtfparserkit/rtf/Command.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/rtf/CommandType.java b/src/main/java/com/rtfparserkit/rtf/CommandType.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/rtf/CommandType.java rename to src/main/java/com/rtfparserkit/rtf/CommandType.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/utils/HexUtils.java b/src/main/java/com/rtfparserkit/utils/HexUtils.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/utils/HexUtils.java rename to src/main/java/com/rtfparserkit/utils/HexUtils.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/utils/RtfDump.java b/src/main/java/com/rtfparserkit/utils/RtfDump.java similarity index 100% rename from RTF Parser Kit/src/com/rtfparserkit/utils/RtfDump.java rename to src/main/java/com/rtfparserkit/utils/RtfDump.java diff --git a/RTF Parser Kit/src/com/rtfparserkit/utils/RtfDumpListener.java b/src/main/java/com/rtfparserkit/utils/RtfDumpListener.java similarity index 88% rename from RTF Parser Kit/src/com/rtfparserkit/utils/RtfDumpListener.java rename to src/main/java/com/rtfparserkit/utils/RtfDumpListener.java index a610428..734b611 100644 --- a/RTF Parser Kit/src/com/rtfparserkit/utils/RtfDumpListener.java +++ b/src/main/java/com/rtfparserkit/utils/RtfDumpListener.java @@ -24,17 +24,12 @@ import com.rtfparserkit.parser.IRtfListener; import com.rtfparserkit.rtf.Command; -import com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter; /** * Trivial class used to convert events generated by an RTF parser into an XML document. * The primary purpose of this code is to debug the parser output, and provide a * convenient method for comparing expected and actual parser behaviour in test cases. - * - * Note that we're using an internal Sun class to produce indented XML. Not strictly - * necessary, but it makes the output more readable. */ -@SuppressWarnings("restriction") public class RtfDumpListener implements IRtfListener { /** @@ -43,7 +38,7 @@ public class RtfDumpListener implements IRtfListener public RtfDumpListener(OutputStream stream) throws XMLStreamException { - writer = new IndentingXMLStreamWriter(XMLOutputFactory.newInstance().createXMLStreamWriter(stream, "UTF-8")); + writer = XMLOutputFactory.newInstance().createXMLStreamWriter(stream, "UTF-8"); } /** diff --git a/RTF Parser Kit/test/com/rtfparserkit/converter/text/StreamTextConverterTest.java b/src/test/java/com/rtfparserkit/converter/text/StreamTextConverterTest.java similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/converter/text/StreamTextConverterTest.java rename to src/test/java/com/rtfparserkit/converter/text/StreamTextConverterTest.java diff --git a/RTF Parser Kit/test/com/rtfparserkit/converter/text/StringTextConverterTest.java b/src/test/java/com/rtfparserkit/converter/text/StringTextConverterTest.java similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/converter/text/StringTextConverterTest.java rename to src/test/java/com/rtfparserkit/converter/text/StringTextConverterTest.java diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/ByteBufferTest.java b/src/test/java/com/rtfparserkit/parser/raw/ByteBufferTest.java similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/raw/ByteBufferTest.java rename to src/test/java/com/rtfparserkit/parser/raw/ByteBufferTest.java diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/RawRtfParserTest.java b/src/test/java/com/rtfparserkit/parser/raw/RawRtfParserTest.java similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/raw/RawRtfParserTest.java rename to src/test/java/com/rtfparserkit/parser/raw/RawRtfParserTest.java diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/StandardRtfParserTest.java b/src/test/java/com/rtfparserkit/parser/standard/StandardRtfParserTest.java similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/StandardRtfParserTest.java rename to src/test/java/com/rtfparserkit/parser/standard/StandardRtfParserTest.java diff --git a/RTF Parser Kit/test/com/rtfparserkit/utils/TestUtilities.java b/src/test/java/com/rtfparserkit/utils/TestUtilities.java similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/utils/TestUtilities.java rename to src/test/java/com/rtfparserkit/utils/TestUtilities.java diff --git a/RTF Parser Kit/test/com/rtfparserkit/converter/text/data/testTextConversion.rtf b/src/test/resources/com/rtfparserkit/converter/text/data/testTextConversion.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/converter/text/data/testTextConversion.rtf rename to src/test/resources/com/rtfparserkit/converter/text/data/testTextConversion.rtf diff --git a/RTF Parser Kit/test/com/rtfparserkit/converter/text/data/testTextConversion.txt b/src/test/resources/com/rtfparserkit/converter/text/data/testTextConversion.txt similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/converter/text/data/testTextConversion.txt rename to src/test/resources/com/rtfparserkit/converter/text/data/testTextConversion.txt diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testRawParse.rtf b/src/test/resources/com/rtfparserkit/parser/raw/data/testRawParse.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testRawParse.rtf rename to src/test/resources/com/rtfparserkit/parser/raw/data/testRawParse.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/raw/data/testRawParse.xml b/src/test/resources/com/rtfparserkit/parser/raw/data/testRawParse.xml new file mode 100644 index 0000000..e1e8aef --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/raw/data/testRawParse.xml @@ -0,0 +1 @@ +Calibri;Msftedit 5.41.21.2510;Test1 \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testSpecialChars.rtf b/src/test/resources/com/rtfparserkit/parser/raw/data/testSpecialChars.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/raw/data/testSpecialChars.rtf rename to src/test/resources/com/rtfparserkit/parser/raw/data/testSpecialChars.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/raw/data/testSpecialChars.xml b/src/test/resources/com/rtfparserkit/parser/raw/data/testSpecialChars.xml new file mode 100644 index 0000000..e5e1318 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/raw/data/testSpecialChars.xml @@ -0,0 +1 @@ +Calibri;Msftedit 5.41.21.2510;Tab ABTab ABCR ABLF ABThis is a line break.Here is the new line.Emdash: Endash: Emspace: Enspace: Qmspace: Bullet: Lquote: Rquote: Ldblquote: Rdblquote: \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10001Encoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/test10001Encoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10001Encoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/test10001Encoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/test10001Encoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/test10001Encoding.xml new file mode 100644 index 0000000..91a618f --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/test10001Encoding.xml @@ -0,0 +1 @@ +HiraKakuPro-W6;Helvetica-Bold;Helvetica;HiraKakuPro-W3;;;{disc}.;;;お読みください \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10007Encoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/test10007Encoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test10007Encoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/test10007Encoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/test10007Encoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/test10007Encoding.xml new file mode 100644 index 0000000..af517a5 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/test10007Encoding.xml @@ -0,0 +1 @@ +LucidaGrande;Georgia;Verdana;;;Комманда разработчиков \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test437Encoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/test437Encoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test437Encoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/test437Encoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/test437Encoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/test437Encoding.xml new file mode 100644 index 0000000..b137d5e --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/test437Encoding.xml @@ -0,0 +1 @@ +Times New RomanTimes;Helvetica-BoldHelvetica;Helvetica;LucidaGrandeLucida Grande;;;The quick brown fox jumped over the lazy dogs.footnote reference;The quick brown fox jumped over the lazy dogs.endnote reference;Some text goes here so you can see what your style will look like.footnote text;Sample text for Foot/End Notes Styleendnote text;Test DocumentTest Title: (Test Subtitle)Test Heading: Test Text. \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test874Encoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/test874Encoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test874Encoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/test874Encoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/test874Encoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/test874Encoding.xml new file mode 100644 index 0000000..350ee7d --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/test874Encoding.xml @@ -0,0 +1 @@ +02020603050405020304Times New Roman;020b0604020202020204Arial;02020603050405020304Angsana New;00000000000000000000SymbolMT;Times New Roman CE;Times New Roman Cyr;Times New Roman Greek;Times New Roman Tur;Times New Roman (Hebrew);Times New Roman (Arabic);Times New Roman Baltic;Times New Roman (Vietnamese);Arial CE;Arial Cyr;Arial Greek;Arial Tur;Arial (Hebrew);Arial (Arabic);Arial Baltic;Arial (Vietnamese);Angsana New (Thai);;;;;;;;;;;;;;;;;;Normal;Default Paragraph Font;Normal Table;Microsoft Word 11.0.5604;3Carestream Health Inc.SAMAK ...)()()()()()1. Test Heading Some test text Some more test text \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test950Encoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/test950Encoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/test950Encoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/test950Encoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/test950Encoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/test950Encoding.xml new file mode 100644 index 0000000..19f010f --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/test950Encoding.xml @@ -0,0 +1 @@ +LucidaGrande;;;TitleTest AuthorTest TextCopyright © 2004-2013 Test Project \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.xml new file mode 100644 index 0000000..0071494 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testDefaultEncodingParse.xml @@ -0,0 +1 @@ +Test1 \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testEncodingParse.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testEncodingParse.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testEncodingParse.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testEncodingParse.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testEncodingParse.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testEncodingParse.xml new file mode 100644 index 0000000..bd8d6f6 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testEncodingParse.xml @@ -0,0 +1 @@ +Calibri;Msftedit 5.41.21.2510;Test1 \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGitHubIssue6.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testGitHubIssue6.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGitHubIssue6.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testGitHubIssue6.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testGitHubIssue6.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testGitHubIssue6.xml new file mode 100644 index 0000000..da7cb04 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testGitHubIssue6.xml @@ -0,0 +1 @@ +Times New Roman;Arial;Courier;;;Normal;heading 3;heading 2;heading 1;iText 2.1.7 by 1T3XTPAGE . INNEN. KÜCHE - TAGEin Absatz mit Line-Separator:Der geht hier auf einer neuen Zeile weiter.INNEN. KÜCHE - TAGHier ist die zweite Szene. \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGreekEncoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testGreekEncoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testGreekEncoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testGreekEncoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testGreekEncoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testGreekEncoding.xml new file mode 100644 index 0000000..75a5ba8 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testGreekEncoding.xml @@ -0,0 +1 @@ +Tahoma;Tahoma;Unicode €Ω \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testHex.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testHex.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testHex.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testHex.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testHex.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testHex.xml new file mode 100644 index 0000000..61d8f4b --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testHex.xml @@ -0,0 +1 @@ +Calibri;Msftedit 5.41.21.2510;ABC \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testKoreanEncoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testKoreanEncoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testKoreanEncoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testKoreanEncoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testKoreanEncoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testKoreanEncoding.xml new file mode 100644 index 0000000..d5dba01 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testKoreanEncoding.xml @@ -0,0 +1 @@ +맑은 고딕;Riched20 14.0.4750.1000;MS Project Addin ProjectPlus \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testMultiByteHex.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testMultiByteHex.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testMultiByteHex.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testMultiByteHex.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testMultiByteHex.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testMultiByteHex.xml new file mode 100644 index 0000000..2967adb --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testMultiByteHex.xml @@ -0,0 +1 @@ +MS Pゴシック;Tahoma;Riched20 5.50.99.2014;お元気ですか? \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testNegativeUnicode.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testNegativeUnicode.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testNegativeUnicode.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testNegativeUnicode.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testNegativeUnicode.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testNegativeUnicode.xml new file mode 100644 index 0000000..38ce454 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testNegativeUnicode.xml @@ -0,0 +1 @@ +Calibri;;;Msftedit 5.41.21.2510;From: HYPERLINK "http://unicode-table.com/en/#private-use-area"http://unicode-table.com/en/#private-use-areaF700F710F720 \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testSpecialChars.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testSpecialChars.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testSpecialChars.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testSpecialChars.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testSpecialChars.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testSpecialChars.xml new file mode 100644 index 0000000..0fa5992 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testSpecialChars.xml @@ -0,0 +1 @@ +Calibri;Msftedit 5.41.21.2510;Tab ABTab ABCR ABLF ABThis is a line break.Here is the new line.Emdash: —Endash: –Emspace:  Enspace:  Qmspace:  Bullet: •Lquote: ‘Rquote: ’Ldblquote: “Rdblquote: ” \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testStyles.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testStyles.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testStyles.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testStyles.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testStyles.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testStyles.xml new file mode 100644 index 0000000..be68899 --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testStyles.xml @@ -0,0 +1 @@ +Calibri;Arial;Msftedit 5.41.21.2510;Test 1 - normal.Test 2 - italic.Test 3 - bold.Test 4 -normal.Test 5 - Calibri 11.Test 6 - Arial 11.Test 7 - Calibri 11.Test 6 - Arial 12.Test 7 - Calibri 11. \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testTurkishEncoding.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testTurkishEncoding.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testTurkishEncoding.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testTurkishEncoding.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testTurkishEncoding.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testTurkishEncoding.xml new file mode 100644 index 0000000..913eb3d --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testTurkishEncoding.xml @@ -0,0 +1 @@ +Segoe UI;Segoe UI;Riched20 15.0.4567Turkish Encoding. \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUnicode.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testUnicode.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUnicode.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testUnicode.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testUnicode.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testUnicode.xml new file mode 100644 index 0000000..9241d2b --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testUnicode.xml @@ -0,0 +1 @@ +Sylfaen;Sylfaen;Sylfaen;Shonar Bangla;Microsoft Himalaya;DaunPenh;Euphemia;SimSun;Calibri;Msftedit 5.41.21.2510;ԱրամJohann StraußBelgiëRené Magritteবাংলা་ཡུལ།ប្រទេស​​​កម្ពុជាᓄᓇᕗᒻᒥᐅᑦ中国Česká republika \ No newline at end of file diff --git a/RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUpr.rtf b/src/test/resources/com/rtfparserkit/parser/standard/data/testUpr.rtf similarity index 100% rename from RTF Parser Kit/test/com/rtfparserkit/parser/standard/data/testUpr.rtf rename to src/test/resources/com/rtfparserkit/parser/standard/data/testUpr.rtf diff --git a/src/test/resources/com/rtfparserkit/parser/standard/data/testUpr.xml b/src/test/resources/com/rtfparserkit/parser/standard/data/testUpr.xml new file mode 100644 index 0000000..aa23c5f --- /dev/null +++ b/src/test/resources/com/rtfparserkit/parser/standard/data/testUpr.xml @@ -0,0 +1 @@ +02020603050405020304Times New Roman;02000500000000000000Times;02040503050406030204Cambria;02000503060000020004Optima;Lucida Grande;020b0604020202020204Arial;02020603050405020304Times New Roman;020f0502020204030204Calibri;02020603050405020304Times New Roman;02020603050405020304Times New Roman;02020603050405020304Times New Roman;02040503050406030204Cambria;02020603050405020304Times New Roman;;;;;;;;;;;;;;;;;;;Normal;heading 1;heading 2;heading 3;Default Paragraph Font;Normal Table;Heading 3 Char;Heading 2 Char;Heading 1 Char;header;Header Char;Normal (Web);apple-converted-space;TestTestTESThttp://schemas.microsoft.com/office/word/2003/wordml013f...)()()()()()TESTEnd User License AgreementTEST \ No newline at end of file