Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • XSweet XSweet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XSweet
  • XSweetXSweet
  • Issues
  • #25

Closed
Open
Created Oct 12, 2016 by Alex Theg@athegOwner

Multiple "style=font size" attributes for the same elements

From the title page of Bakker, some elements have multiple font sizes declared on them:

 <div class="docx-body">
            <p style="font-size: 28pt; font-size: 48pt">
                <span style="font-size: 28pt; font-size: 48pt">Migrating into Financial Markets</span>
            </p>
            <p style="font-size: 24pt">
                <span style="font-size: 24pt">How Remittances </span>
            </p>
            <p style="font-size: 24pt">
                <span style="font-size: 24pt">Became a Development Tool</span>
            </p>
            <p style="font-size: 18pt; font-size: 28pt">
                <span style="font-size: 18pt; font-size: 28pt">Matt Bakker</span>
            </p>
        </div>

Am I correct that when the same property is declared multiple times, the last declaration wins? Is it also correct that one of the refine steps orders the font sizes declarations from the smallest to the largest?

The original doc has a 48pt title, 24pt subtitle, and 18pt author name. The current extraction makes the title 48pt, subheading 24pt, and the author's name 28pt.

So, the question is how do we get from multiple font size styles specified on a tag to only one, making sure we're keeping the font size that was actually displaying in the word doc?

Assignee
Assign to
Time tracking