forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hyperlink] styles/ multiple runs #1
Open
tanyunshi
wants to merge
354
commits into
robertdodd:master
Choose a base branch
from
tanyunshi:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Allows the core of .add_paragraph() to be tested integrated with oxml while using mocks for the remainder.
* place api-add-heading.feature back into WIP until Paragraph.style reimplementation is completed
to use new style API
to use new style API
* organize feature analysis for styles into a hierarchy
* Introduce a hierarchy for text analysis
The tests/ directory was only partially included in the source distribution uploaded to PyPI, such that the test suite could not be run from that distribution. Modify MANIFEST.in to include all .py files in the tests/ directory.
* add specific Given for a document having the built-in styles * constrain 'Given a blank document' to not have the built-in styles * revise some steps to make them more concise * extract bool_vals and tri_state_vals to helpers
Add steps to check column and cell width are properly applied to a new table.
* Add width parameter to BlockItemContainer.add_table() * Temporarily stub down-call-stack methods and tests with width=None until they are rewritten in next commits * add Document._block_width to calculate width of table (page width less margins).
* Fix Describe_Cell.it_can_add_a_table() to work until it can be rewritten in next few commits.
Add width parameter.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add possiblities to add style and multiple runs to hyperlink