Skip to content

ODT Writer: Figure captions #2070

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

Merged
merged 2 commits into from
Apr 12, 2015
Merged

ODT Writer: Figure captions #2070

merged 2 commits into from
Apr 12, 2015

Conversation

lierdakil
Copy link
Contributor

Closes #376.

Works pretty much the same as Word writer.

Following styles are used for figures:

Figure -- for figure with empty caption
FigureWithCaption (based on Figure) -- for figure with caption
FigureCaption (based on Caption) -- for figure captions

Also, TableCaption (based on Caption) is used for table captions.

We need FigureWithCaption to set keepWithNext, in order to keep caption
with figure across pages.

Works pretty much the same as Word writer.

Following styles are used for figures:

Figure -- for figure with empty caption
FigureWithCaption (based on Figure) -- for figure with caption
FigureCaption (based on Caption) -- for figure captions

Also, TableCaption (based on Caption) is used for table captions.

We need FigureWithCaption to set keepWithNext, in order to keep caption
with figure.
@lierdakil
Copy link
Contributor Author

Forgot to update tests. Will push shortly.

jgm added a commit that referenced this pull request Apr 12, 2015
@jgm jgm merged commit a21c5ba into jgm:master Apr 12, 2015
@lierdakil lierdakil deleted the odt-image-captions branch December 3, 2017 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markdown to odt: image captions are missing
2 participants